-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
32 lines (21 loc) · 1.06 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
This software contains the following executables:
memdump: displays /proc/[pid]/maps with percol and dumps the selected memory
region.
memstrgrep: greps the strings in all memory regions of a process, displays the
regions and the matches
memgrep: greps all memory regions of a process in binary mode, displays the
regions, matches, and what offsets they're at
spread-regex: turns a single string into a string interspersed with optional
characters. Useful for memgrep.
You need percol to use memdump.
Example usage of memgrep and spread-regex:
$ sudo memgrep 19726 $(spread-regex 32 "asdfffffffff")
b7000000-b7100000 rwxp 00000000 00:00 0 :
983056:asdffffffffff
995344:asdffffffffffffffffffff
b7509000-b76b7000 r-xp 00000000 08:04 1182266 /lib/i386-linux-gnu/libc-2.17.so:
62686:arch__fpending_IO_file_seekofffaccessatfgetpwent_
71361:atat_IO_wdoallocbuf__fortify_faillldiv
b76cc000-b770d000 r-xp 00000000 08:04 1182301 /lib/i386-linux-gnu/libm-2.17.so:
14334:ardfsignificandfatan2fdremfexp2fpow
14443:af_rremainderfscalbfilogbf__fpclassifyffmaxffminffdimf