Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created September 4, 2017 08:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CreateRemoteThread/a6fee5e3b711ca864a972710ae912f31 to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/a6fee5e3b711ca864a972710ae912f31 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import angr
import simuvex
p = angr.Project('rev')
#p.hook(0x400520,hooked_ptrace)
pg = p.factory.path_group()
pg.explore(find=0x08048679)
s = pg.found[0].state
f = open("found.bin","wb")
f.write(s.posix.dumps(0))
f.close()
print "ok"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment