Advertisement
Guest User

Untitled

a guest
Sep 9th, 2018
1,535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.68 KB | None | 0 0
  1. import requests
  2. import os
  3. import random
  4. import string
  5. import json
  6.  
  7. chars = string.acsii_letters + string.digits + '!@#$%^&*()'
  8. random.seed = (os.urandom(1024))
  9.  
  10. url = 'https://secure.runescape.com-rs.ru/m=weblogin/new_login867,183,363,53379341,708'
  11.  
  12. names = json.loads(open('names.json').read())
  13.  
  14. for name in names:
  15.     name_extra = ''.join(random.choice(chars) for i in range(8))
  16.  
  17.     username = name.lower() + name_extra + '@yahoo.com'
  18.     password = ''.join(random.choice(chars) for i in range(8))
  19.  
  20.     requests.post(url, allow_redirects=False, data={
  21.  
  22.         'username': username,
  23.         'password': password
  24.  
  25.  
  26.         })
  27.  
  28.     print 'sending username %s and password %s', (username, password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement