Last active
February 18, 2020 09:18
-
-
Save savanovich/4775088e466cca739be0 to your computer and use it in GitHub Desktop.
Memory Dump with Python
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
# http://lwn.net/Articles/655992/ | |
# https://github.com/mfleming/bits/blob/master/python/bits/__init__.py | |
import bits | |
from ctypes import * | |
mem = (c_char * 128).from_address(0xf1390) | |
print bits.dumpmem(mem) | |
# 00000000: 2f 68 6f 6d 65 2f 6a 6f 73 68 ... /home/josh... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment