-
-
Save spnow/6d6622f7ae5cbb676fceb883fe5eba1b to your computer and use it in GitHub Desktop.
Breizh CTF 2015
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
# BreizhCTF2015 Reverse me ! (150pts) Solution | |
shell python -c "print'a'*42" > /tmp/in | |
# cmp dl, al | |
b*0x080485c7 | |
command | |
set $eax=$edx | |
append value /tmp/flag.log $eax | |
c | |
end | |
r < /tmp/in | |
echo \n\nle flag est:\n | |
cat /tmp/flag.log | |
quit |
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
# BreizhCTF2015 So many secrets (200pts) Solution | |
# cmp al, byte [ss:ebp+var_D] | |
b*0x080484dc | |
command | |
set $eax=(*(void**)($ebp-0xd)) | |
set $eax=$eax & 0xff | |
c | |
end | |
r $(python -c "print'setecastronomy'") | |
quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment