Skip to content

Instantly share code, notes, and snippets.

@hoangcuongflp
Created December 27, 2018 03:37
Show Gist options
  • Select an option

  • Save hoangcuongflp/679396e6041e895307d47b66ff4d3377 to your computer and use it in GitHub Desktop.

Select an option

Save hoangcuongflp/679396e6041e895307d47b66ff4d3377 to your computer and use it in GitHub Desktop.
mem_dump.py
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