Created
June 11, 2018 17:35
-
-
Save fgsahoward/5cafd4813f8fbce315413d859e1f6d52 to your computer and use it in GitHub Desktop.
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
[howard@sterling bof]$ pidof med32 | |
1929 | |
[howard@sterling bof]$ sudo gdb -q ./med32 1929 | |
Reading symbols from ./med32...(no debugging symbols found)...done. | |
Attaching to program: /home/howard/repos/bof/med32, process 1929 | |
Reading symbols from /usr/lib32/libc.so.6...(no debugging symbols found)...done. | |
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. | |
0xf7fd8c99 in __kernel_vsyscall () | |
(gdb) x/xw 0xffffdab8 | |
0xffffdab8: 0xffffdc37 | |
(gdb) | |
0xffffdabc: 0xffffdc3f | |
(gdb) | |
0xffffdac0: 0x00000000 | |
(gdb) x/s 0xffffdc37 | |
0xffffdc37: "/bin/sh" | |
(gdb) | |
0xffffdc3f: "-p" | |
(gdb) x/s 0xffffdc42 | |
0xffffdc42: "XDG_VTNR=2" | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment