Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mails = set([])
- dup_mails = set([])
- domains = {}
- passwords = {}
- with open("/home/user/adobe/cred") as f:
- for line in f:
- a = line.find("-|--|-") + 6 #len("-|--|-")
- b = line.find("-|-", a)
- mail = line[a:b]
- if mail in mails:
- dup_mails.add(mail)
- else:
- mails.add(mail)
- c = mail.find("@")
- domain = mail[c+1:]
- if domain in domains:
- domains[domain] += 1
- else:
- domains[domain] = 1
- d = b + 3 #len("-|-")
- e = line.find("-|-", d)
- password = line[d:e]
- if password in passwords:
- passwords[password] += 1
- else:
- passwords[password] = 1
- f = e + 3 # len("-|-")
- hint = line[f:-4] # len("|--\n")
- # Do stuff
- if mail == "bill@microsoft.com" or domain == "fbi.com" or password == "CaTLovER==":
- print line,
- #print "mails:", len(mails)
- #print "dup mails:", dup_mails
- # Credit: http://pastebin.com/u/Nicolai
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement