PWN¶
反汇编¶
调试¶
-
Installation
git clone https://github.com/longld/peda.git ~/peda echo "source ~/peda/peda.py" >> ~/.gdbinit echo "DONE! debug your program with gdb and enjoy"
Patch¶
-
IDA Python 脚本,用于快速 patch。
截至 2016 年 12 月 27 日 master 分支打包
Usage
Loading Fentanyl.py
Alt+F7
orFile > Script File
to load scripts- Browse to
main.py
and open it - That's it!
Key Bindings
Some of these keybindings can be accessed by right-clicking on the screen in graph view.
Alt-N
Convert instructions to nopsAlt-X
Nop all xrefs to this functionAlt-J
Invert conditional jumpAlt-P
Patch instructionAlt-Z
Undo modification (Won't always work. Should still be careful editing.)Alt-Y
Redo modification (Won't always work. Should still be careful editing.)Alt-S
Save fileAlt-C
Find Code CavesCtrl-Alt-F
Make jump unconditionalCtrl-Alt-N
Neuter the binary (remove calls to fork, setuid, setgid, getpwnam, setgroups, and chdir)