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