Skip to content

Instantly share code, notes, and snippets.

@racterub
Created August 28, 2017 07:24
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 racterub/750aab2589164e0f3198fbfaf389ab0f to your computer and use it in GitHub Desktop.
Save racterub/750aab2589164e0f3198fbfaf389ab0f to your computer and use it in GitHub Desktop.
import requests
import urllib2
rotimi = urllib2.urlopen("http://shattered.io/static/shattered-1.pdf").read()[:500]
letmein = urllib2.urlopen("http://shattered.io/static/shattered-2.pdf").read()[:500]
payload = {'username': rotimi, 'password': letmein}
r = requests.post('https://quiz.zoolab.org:32670', data=payload)
print r.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment