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+F7orFile > Script Fileto load scripts- Browse to
main.pyand open it - That's it!
Key Bindings
Some of these keybindings can be accessed by right-clicking on the screen in graph view.
Alt-NConvert instructions to nopsAlt-XNop all xrefs to this functionAlt-JInvert conditional jumpAlt-PPatch instructionAlt-ZUndo modification (Won't always work. Should still be careful editing.)Alt-YRedo modification (Won't always work. Should still be careful editing.)Alt-SSave fileAlt-CFind Code CavesCtrl-Alt-FMake jump unconditionalCtrl-Alt-NNeuter the binary (remove calls to fork, setuid, setgid, getpwnam, setgroups, and chdir)