Skip to content

Instantly share code, notes, and snippets.

@tunelko
Created October 13, 2016 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tunelko/a16c6ec32c02a399d419c2ad36bd5d31 to your computer and use it in GitHub Desktop.
Save tunelko/a16c6ec32c02a399d419c2ad36bd5d31 to your computer and use it in GitHub Desktop.
gdb-peda$ b *0x0000000000400824
Breakpoint 1 at 0x400824
gdb-peda$ disassemble main
=> 0x0000000000400824 <+212>: je 0x400855 <main+261>
gdb-peda$ run
RBX: 0x7fffffffe238 ("TH1S 1s s3cr3t!!")
..
..
Breakpoint 1, 0x0000000000400824 in main ()
==
$ ./RHme2_prequalification_challenge
What is the secret password?
TH1S 1s s3cr3t!!
Well done! You found the secret password!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment