- import hashlib
- yahoo = "yahoo-disclosure.txt"
- ours = "pass.txt"
- yHashs = set([])
- yfile = open(yahoo)
- for line in yfile.readline():
- m = line.match([0-9]:[A-Za-z.-_@]:[A-Za-z0-9])
- if m.group[0] is not null AND m.group[1] is not null AND group[2] is not null
- yHashs.add(hashlib.md5(m.group[2].hexdigest())
- ofile = open(ours)
- for line in ofile.readline()
- if line in yHashs
- print "shit %s /n" % (line)