Pwn环境搭建
1. Install capstone:
$ cd ~
$ git clone https://github.com/aquynh/capstone
$ cd capstone
$ make
$ sudo make install
-------------------------------------------------------------------------------------------->
2. Install pwntools
$ cd ~
$ git clone https://github.com/Gallopsled/pwntools
$ cd pwntools
$ sudo python setup.py install
-------------------------------------------------------------------------------------------->
3. Install pwndbg
$ git clone https://github.com/pwndbg/pwndbg
$ cd pwndbg
$ sudo ./setup.sh$
$ echo 'source ~/pwndbg/gdbinit.py' > ~/.gdbinit
-------------------------------------------------------------------------------------------->
4. Test pwntools
$ python
>>> from pwn import *
>>> pwn.asm("xor eax,eax")
'1\xc0' --> Success !
-------------------------------------------------------------------------------------------->
5. Install LibcSearcher
$ Download LibcSearcher
$ cd LibcSearcher
$ python setup.py develop
-------------------------------------------------------------------------------------------->
Other debug tool
- edb
- $ sudo apt install edb-debugger
sudo python setup.py develop

浙公网安备 33010602011771号