Skip to content

07解法二 #14

@HandsomeCat00

Description

@HandsomeCat00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions