-
-
Save yhnmj6666/26001debeade2d4b38f75b41d045f5b5 to your computer and use it in GitHub Desktop.
Dump a blob of memory into a file - IDA Pro script
This file contains 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