This script will do login brute force in a website using a list of users and passwords.
First, you'll need to have:
Once that's all set up:
- Clone this repository
git clone https://github.com/m-primo/selenium-brute-force
. - Go to the cloned directory
cd selenium-brute-force
. - Install the requirements
pip install -r xreqs.txt
.
Then, you have to edit your own callback check function:
- Open
app.py
. - Navigate to
myCallback
function. - Make your own code for the website you want to brute force it.
- 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
- Fork this repository.
- Clone your repository.
git clone [your_repo]
- Make & commit your changes.
git commit -m "[message]"
- Push it.
git push
- Create a new pull request in this repository.
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.