Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import requests # get this from python-requests.org
- import random
- import urllib
- def passwd():
- a = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
- b = ""
- c = 0
- d = random.randint(1,20)
- while c < d:
- b = b + a[random.randint(0,len(a)-1)]
- c = c + 1
- return b
- print "User\t\tpassword"
- print "============================"
- while True:
- user = passwd()
- password = passwd()
- print user + "\t" + password
- requests.post("http://tviwtter.com/app/login.php",urllib.urlencode({"email":user,"password":password}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement