- linux
- recommend
ubuntuandkali. - ssh service need to be open for virtual machine.
- recommend
- editor
- editor on your host system.
- recommend
notepad++for windows.
- recommend
- alternatively, terminal editor like
vim. - editor mainly serves as recorder
- editor on your host system.
- terminal
- terminal on your host system.
- recommend
msys2for windows.
- recommend
- tmux on linux
- recommend
byobu. ( a wrapper of tmux )
- recommend
- terminal on your host system.
- pwn
- pwntools
- pwndbg
- IPython
- welpwn
- glibc-all-in-one
if you use linux as your host system, you can ignore this step.
use the terminal on your host system, and ssh into your virtual machine.
open tmux. I use byobu personally.
open your editor, and write some script.
use this for test. ( assume that you have installed welpwn )
from PwnContext import *
context.terminal = ['tmux', 'splitw', '-h']
ctx.binary = '/bin/cat'
ctx.start()
ctx.debug()open IPython in your terminal, and copy the code in your editor. then paste into IPython.
press enter to exec the code.
look what we got ! IPython shell on the left and gdb on the right.
do what you need in gdb and do IO in IPython.
this is just a simple tutorial about the basic pwn environment.
you may not realize how convenient it is.
keep learning rest sections and you will know it.




