Assignment-5 #2
1 changed files with 8 additions and 4 deletions
|
@ -122,10 +122,14 @@ user@intro:~$ objdump -d intro | awk -v RS= '/^[[:xdigit:]]+ <secret>/'
|
||||||
# Do not remove this intial line; it will disable pagination
|
# Do not remove this intial line; it will disable pagination
|
||||||
set pagination off
|
set pagination off
|
||||||
|
|
||||||
file intro
|
|
||||||
break secret
|
|
||||||
# TODO: your commands go here
|
# TODO: your commands go here
|
||||||
|
# read in the intro binary
|
||||||
|
file intro
|
||||||
|
# breakpoint at secret
|
||||||
|
break secret
|
||||||
|
# run program with paramter value 5
|
||||||
r 5
|
r 5
|
||||||
|
# read eax register
|
||||||
i r eax
|
i r eax
|
||||||
stepi 6
|
stepi 6
|
||||||
# after 5. instruction
|
# after 5. instruction
|
||||||
|
|
Loading…
Reference in a new issue