Advertisement
binarystorm

Untitled

Nov 5th, 2017
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. import requests
  2.  
  3. _STARTUSERNAME = 'b1naryst0rm' # This will count up. ex.: user1, user2
  4. _PASSWORD = 'ibottedyou'
  5.  
  6. def register(username, password, email):
  7. session = requests.Session()
  8. register_request = session.post('WEBSITE-URL-include-https-or-http/register.php', data = {
  9. '_Username': username,
  10. '_Password': password,
  11. '_ConfirmPassword': password,
  12. '_Email': email,
  13. '_Submit': 'Register'
  14. })
  15. if ('index.php' in register_request.url):
  16. return session
  17. else:
  18. return False
  19.  
  20. def payload():
  21. for i in range(0, 10000):
  22. username = (_STARTUSERNAME + str(i))
  23. email = (username + '@b1naryst0rm.com')
  24. reg = register(username, _PASSWORD, email)
  25. if (reg != False):
  26. print(username)
  27.  
  28. payload()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement