Created
May 4, 2013 22:19
-
-
Save awreece/5518963 to your computer and use it in GitHub Desktop.
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
ppp@shell:~$ gdb -q a.out | |
Reading symbols from /home/ppp/a.out...(no debugging symbols found)...done. | |
(gdb) b main | |
Breakpoint 1 at 0x8048467 | |
(gdb) r | |
Starting program: /home/ppp/a.out | |
Breakpoint 1, 0x08048467 in main () | |
(gdb) p system | |
$1 = {<text variable, no debug info>} 0xf7e68250 <system> | |
(gdb) find 0xf7e68250, +9999999999999, "/bin/sh" | |
0xf7f86c4c | |
warning: Unable to access target memory at 0xf7fd0fd4, halting search. | |
1 pattern found. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment