/selenium-brute-force

Brute force to any website using the selenium library in python.

Primary LanguagePythonOtherNOASSERTION

Selenium Brute Force

This script will do login brute force in a website using a list of users and passwords.

Installation

First, you'll need to have:

  1. Python 3
  2. pip
  3. Google Chrome
  4. Chrome Driver

Once that's all set up:

  1. Clone this repository git clone https://github.com/m-primo/selenium-brute-force.
  2. Go to the cloned directory cd selenium-brute-force.
  3. Install the requirements pip install -r xreqs.txt.

Then, you have to edit your own callback check function:

  1. Open app.py.
  2. Navigate to myCallback function.
  3. Make your own code for the website you want to brute force it.

Run

  • Using arguments:
python app.py -u <URL> -l <LIST> -fu <INPUT_NAME_OF_USER_FIELD> -fp <INPUT_NAME_OF_PASSWORD_FIELD> -fl <INPUT_NAME_OF_LOGIN_BUTTON>

to get the help message:

python app.py -h
  • Or you can just run the app and it'll ask you with the inputs:
python app.py

Contributing

  1. Fork this repository.
  2. Clone your repository.
git clone [your_repo]
  1. Make & commit your changes.
git commit -m "[message]"
  1. Push it.
git push
  1. Create a new pull request in this repository.

Disclaimer

THIS REPOSITORY AND EVERY SCRIPT INCLUDED IN IT IS FOR EDUCATIONAL, TESTING, AND RESEARCH PURPOSES ONLY. THE OWNER NOR ANY CONTRIBUTOR IS NOT RESPONSIBLE FOR YOUR ACTIONS.

License

BSD-2-Clause License