HITCON-Training/LAB/lab4/.gdb_history

136 lines
1017 B
Plaintext

disas main
q
r
off puts
off system
q
disas main
b *0x0000000000400814
r
q
r
vmmmap
vmmap
x/30gx 0x0804a000
x/30wx 0x0804a000
q
r
off puts
q
r
got
at
got
x/wx 0x804a01cc
x/wx 0x804a01c
x/i 0xf7591ca0
off puts
at
vmmap
libc
off system
r
q
r
abcd 32
c
length 32 P
find sh
find /binsh
find /bin/sh
off 0xf7f6f82b
libc
x/x 0xf7f6f82b-0xf7e14000
q
r
vmmap
r
x/x 0x804a060
x/x 0x804a080
q
patten
patten_create
cyclic
pattern_create
pattern_create 100
r
q
r
r
ni
b read
r
ni
q
r
ni
b read
r
ni
q
r
b read
c
ni
r
ni
q
r
b read
r
ni
q
r
b read
r
ni
q
r
q
r
q
q
r
contextup
contextup
contextdown
contextdown
contextdown
contextdown
contextup
contextup
contextup
contextup
contextup
contextup
contextup
contextup
contextup
contextup
contextup
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextup
contextup
contextup
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
contextdown
q