小菜

导航

2018年6月4日 #

pwntools中gdb使用

摘要: pwntools中gdb使用 下断后请加 debug() r.send(payload) r.interactive() ~~~python def debug(addr = '0x080485B8'): raw_input('debug:') gdb.attach(r, "b " + addr) 阅读全文

posted @ 2018-06-04 20:56 penbol 阅读(6456) 评论(0) 推荐(1) 编辑

gdb给aslr下断 gdb给pic下断

摘要: gdb给aslr程序下断 即在内存中不断leak 最后比对文件头,找到模块基址 ~~~python from pwn import import sys, os import re wordSz = 4 hwordSz = 2 bits = 32 PIE = 0 mypid=0 context(ar 阅读全文

posted @ 2018-06-04 20:51 penbol 阅读(244) 评论(0) 推荐(0) 编辑