Skip to content

Instantly share code, notes, and snippets.

@parksjin01
Created April 29, 2017 15:02
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 parksjin01/89d6bc25d4bb8c9701e78bb26647f996 to your computer and use it in GitHub Desktop.
Save parksjin01/89d6bc25d4bb8c9701e78bb26647f996 to your computer and use it in GitHub Desktop.
UIUC-CTF 2017 writeup

Goodluck

  • There are fsb in program and we can print flag by it
  • If we wrote %p%p%p%p%p%p%p%p%p%p%p%p%p as input and then 10th value to 13th value is flag
  • flag: flag{always_give_110%}

snekquiz

  • If we correct all problem we can only get 3 points and we have to get extactly 5 points to get flag
  • We have to change score variable by buffer overflow.
  • memory payload is like this(input buffer -> 80bytes, score variable -> 4bytes, canary -> 4bytes)
  • We can make point 5 by this script (python -c 'print "a"*80+"\x05"+"\x00"*4';cat)
  • flag: flag{remember_remember_the_16th_of_july}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment