- #!/usr/bin/env python
- import hashlib
- import string
- yahoo = "yahoo-disclosure.txt"
- ours = "pass.txt"
- yHashs = set([])
- yfile = open(yahoo)
- for line in yfile.readline():
- m = string.split(line, ":")
- # m = line.match("[0-9]:[A-Za-z.-_@]:[A-Za-z0-9]")
- if m.group[2] is not None:
- yHashs.add(hashlib.md5(m.group[2].hexdigest())
- yfile.close()
- ofile = open(ours)
- for line in ofile.readline():
- if line in yHashs:
- print "shit %s /n" % (line)
- ofile.close()
- ~