ROPgadget //can find the address of ret eg: ROPgadget --binary ./pwn38 --only "pop|ret" | grep "ret" ROPgadget –binary pwn38 –string “cat /ctfshow_flag” ropper can also find the address eg: ropper --file pwn72 --search "int 0x80"
ELF //can find the address of some func and args correctly eg: elf=ELF("./pwn") systemaddress=elf.sym['system'] backdoor_func_address=elf.sym["backdoor"] bin_sh_arg_address=next(elf.search("/bin/sh"))
something about IDA ctrl + s 可以看到各段的一些信息 shift+f12 可以查看参数值 Alt+T 可以根据关键参数去找相应函数 ctrl + f 在函数搜索框里可以看到相应函数