PCB Blog

Happy Coding


  • Home

  • Tags

  • Categories

  • Archives

paths in linux

Posted on 2019-09-09 | Edited on 2019-09-11
There are many “path” in linux. Such as executable search PATH, compiler include path, linker path, dynamic library search path LD_LIBRARY_PATH. PATHP ...
Read more »

Ghidra Python Uses Other Packages

Posted on 2019-08-22
Ghidra is a reverse engineering framework. It is similar to IDA pro and it is a open source project. Ghidra also provide java and python api to write ...
Read more »

Binaryninja Python Path Install

Posted on 2019-08-20 | Edited on 2019-10-25
Install binaryninja python path. Firstly, get the python default path: 12import siteprint(site.getsitepackages()[0]) # output: /usr/local/lib/python3. ...
Read more »

Be Careful When Modifing Binary Program(Abount Stack Alignment)

Posted on 2019-07-12
Recently, I want to modify the binary program which add a instruction push $rbx in the binary program. And it will increment the stack by 8 bytes. It ...
Read more »

C Programs Before main Function

Posted on 2019-07-02
What does the program do before main() functionThe picture from Patrick Horgan describes what will the c program do before main function. crt0.o, ctr ...
Read more »

git subtree

Posted on 2019-06-18
Add a remote repo1git remote add -f repo-name git@github.com:repo.git Merge the repo into the local git project1git merge -s ours --no-commit --allow- ...
Read more »

Compile Kernel using llvm/clang

Posted on 2019-04-16 | Edited on 2019-07-12 | In kernel
Reference clang-kernel-build ClangBuiltLinux Tutorial Start with an empty dir 123git clone https://github.com/ramosian-glider/clang-kernel-build.git ...
Read more »

shellcode exit normally

Posted on 2019-03-22
前言最近和jaguo在给南京大学软件安全课程出Buffer Overflow实验的时候,发现了出现shellcode exit normally的情况,但是并没有”发现”启动了新的shell。 漏洞程序1234567891011121314151617181920212223// buf2.c// ...
Read more »

分析CVE-2017-8890

Posted on 2019-01-05 | Edited on 2019-03-19 | In kernel
环境 linux kernel版本:4.10.1 gcc编译: 7.4 linux kernel开启KASAN和debug信息 1234567CONFIG_KCOV=yCONFIG_DEBUG_INFO=yCONFIG_KASAN=yCONFIG_KASAN_INLINE=yCONFIG_CONFI ...
Read more »

用gdb调试qemu内核

Posted on 2019-01-03 | Edited on 2019-01-04 | In kernel
编译linux内核 下载内核源码 1git clone https://github.com/torvalds/linux.git $KERNEL 生成默认的配置 123cd $KERNELmake defconfigmake kvmconfig 编辑.config,开启一些选项 1234 ...
Read more »
12…5
binpang

binpang

42 posts
13 categories
32 tags
RSS
GitHub E-Mail
© 2016 – 2019 binpang
Powered by Hexo v3.8.0
|
Theme – NexT.Mist v6.6.0