1. #!/usr/bin/env python
  2. import hashlib
  3. import string
  4. yahoo = "yahoo-disclosure.txt"
  5. ours = "pass.txt"
  6. yHashs = set([])
  7. yfile = open(yahoo)
  8. for line in yfile.readline():
  9. m = string.split(line, ":")
  10. # m = line.match("[0-9]:[[email protected]]:[A-Za-z0-9]")
  11. if m.group[2] is not None:
  12. yHashs.add(hashlib.md5(m.group[2].hexdigest())
  13. yfile.close()
  14. ofile = open(ours)
  15. for line in ofile.readline():
  16. if line in yHashs:
  17. print "shit %s /n" % (line)
  18. ofile.close()
  19. ~
Comments powered by Disqus