Skip to content

Repository files navigation

Simple Brute Force Attack Tools Using Python

Simple Installation

Use the package manager pip to install requests and argparse.

pip install requests
pip install argparse

Run

interactive mode

python3 bruteforce.py -i

Normal mode

To see help page:

python3 bruteforce.py -h

Arguments

Note: Arguments with -- prefix are optional and they are not necessary

Argument nameargument typedescriptionexample
urlWebsite URLURL to page on website to which POST request is made while logging inhttp://127.0.0.1/login.php
usernameTextCorrect username for attacked accountadmin
errorTextContent of error message which is displayed when wrong password is enteredWrong password
--login-fieldTextName of login field in POST request (more in POST Requests)login_field
--password-fieldTextName of password field in POST request (more in POST Requests)password_field
--threadsNumberNumber of threads (processes) to run at the same time2
--passwords-fileFile pathPath to file with passwords listdicts/small-passwords.txt

More about BruteForce attacks

For more please check this Medium Link

Example

alt text

For more password List check This Git Repo

POST Requests

POST Request is made to website server when you click "Log In" button. To see details about this request open Developer Options in your browser and navigate to Network tab. Then press "Log In" button and find row corresponding to POST request that was made. When you click it, you can see information about request and response. In request tab find name of fields that were send. You can see how to do this on test_website in the video below.

POST Request example

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Brute Force Attack Tools Using Python

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages