Skip to content

Instantly share code, notes, and snippets.

@herrcore
Created November 13, 2017 03:38
  • Star 16 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Dump a blob of memory into a file - IDA Pro script
import idautils
import idaapi
def memdump(ea, size, file):
data = idc.GetManyBytes(ea, size)
with open(file, "wb") as fp:
fp.write(data)
print "Memdump Success!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment