Created
May 22, 2018 05:26
-
-
Save TheoKlein/680076138961fd2cd709c2a944c6cf3e to your computer and use it in GitHub Desktop.
SHA1
This file contains hidden or 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
| import requests | |
| from urllib.request import urlopen | |
| pdf1 = urlopen("http://shattered.io/static/shattered-1.pdf").read() | |
| pdf2 = urlopen("http://shattered.io/static/shattered-2.pdf").read() | |
| res = requests.post('http://127.0.0.1:8892/', data={"username": pdf1, "password": pdf2}) | |
| print(res.text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment