finish 6.2.3

This commit is contained in:
firmianay
2017-12-03 18:07:25 +08:00
parent cc9cff02a5
commit 5089993f80
13 changed files with 246 additions and 7 deletions

Binary file not shown.

View File

@ -0,0 +1,15 @@
import angr
main = 0x004007da
find = 0x00404fc1
avoid = 0x00400590 # puts@plt
p = angr.Project('./angrybird_mod')
init = p.factory.blank_state(addr=main)
pg = p.factory.simgr(init, threads=4)
ex = pg.explore(find=find, avoid=avoid)
final = ex.found[0].state
flag = final.posix.dumps(0)
print "Flag:", final.posix.dumps(1)