Created
December 27, 2018 03:37
-
-
Save hoangcuongflp/679396e6041e895307d47b66ff4d3377 to your computer and use it in GitHub Desktop.
mem_dump.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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