Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

07解法二 #14

Open
HandsomeCat00 opened this issue Feb 8, 2021 · 0 comments
Open

07解法二 #14

HandsomeCat00 opened this issue Feb 8, 2021 · 0 comments

Comments

@HandsomeCat00
Copy link

根据sha碰撞https://security.googleblog.com/2017/02/announcing-first-sha1-collision.html
import requests
import urllib2
sha1 = urllib2.urlopen("http://shattered.io/static/shattered-1.pdf").read()[:500]
sha2 = urllib2.urlopen("http://shattered.io/static/shattered-2.pdf").read()[:500]

r = requests.get('http://127.0.0.1/07sha.php/', params={'name': sha1, 'password': sha2})
print r.text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant