Bruteforce dynamic web applications with Selenium
Project description
Bruty
Bruteforce dynamic web applications with Selenium.
Installing
pip install bruty
It's assumed that you've got installed Chromium under /usr/bin/chromium and
that the
chromedriver
of the same version is found in your PATH.
Usage
If you want to content from the https://fake.web website that is not found by crawlers, you can create a list of uris in a file such as:
admin
wp-login
Then run:
bruty https://fake.web -f uris.txt
If you don't want to wait until the command ends to see the results use the -v
flag.
Fake 404 pages
Some sites return a 200 status code for the 404, if it's your case, inspect the
code of one of them and create a regular expression to catch them, imagine it's
404 error.
To test that it works run bruty against two urls, one that exists and another
that returns the fake 404, making sure that only the existent one is printed.
bruty https://fake.web -u index.html -u fake_404.html -n '404 error'
Once you know it works, run it against all the uris:
bruty https://fake.web -f uris.txt -n '404 error'
Untrusted return codes
Some websites use the 200 status code when they should use 404 or even 30X. Use
the -i flag to ignore the checking of the status code. It should be used with
the -n flag to tell the right urls from the wrong.
bruty https://fake.web -f uris.txt -i -n '404 error'
Contributing
For guidance on setting up a development environment, and how to make a contribution to bruty, see Contributing to bruty.
License
GPLv3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bruty-0.2.0.tar.gz.
File metadata
- Download URL: bruty-0.2.0.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7e39910075b40fcebe7889ffd1051d17dc68de0f9f23beb79c30f677372c187
|
|
| MD5 |
ecf7e503c453e8273fb13c48fddf6cef
|
|
| BLAKE2b-256 |
4130a6996cdf71892b9725b664f9f2a8d8c87ccea75e2244cb352aec8fa65e1e
|
File details
Details for the file bruty-0.2.0-py3-none-any.whl.
File metadata
- Download URL: bruty-0.2.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.8.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c13dd36582ea94f591b2c53a1ce7275abf612c59627c8589896220008cde5a6
|
|
| MD5 |
1daf13265333e72f10e658da82435196
|
|
| BLAKE2b-256 |
de112382cdbe9095343505c5aa3a935c3f416b2f75506241c765bd135cb8476a
|