https://github.com/dietcokesec/tomcat
🐱 Brute force tomcat authentication
https://github.com/dietcokesec/tomcat
apache-tomcat java penetration-testing penetration-testing-tools tomcat
Last synced: 2 months ago
JSON representation
🐱 Brute force tomcat authentication
- Host: GitHub
- URL: https://github.com/dietcokesec/tomcat
- Owner: dietcokesec
- Created: 2025-04-16T20:10:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-16T20:47:59.000Z (about 1 year ago)
- Last Synced: 2025-05-09T02:00:49.950Z (about 1 year ago)
- Topics: apache-tomcat, java, penetration-testing, penetration-testing-tools, tomcat
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
*This work has been sponsored by [Sythe Labs](https://sythelabs.com)*.
# Tomcat
🐱 Some tomcat scripts. Built to be cleaner and easier to use and a bit more configurable for things like debugging.
## Usage
```
Usage: main.py [OPTIONS]
╭─ Options ─────────────────────────────────────────────────────────╮
│ * --url -U TEXT The Tomcat URL to brute │
│ force. │
│ [default: None] │
│ [required] │
│ * --path -P TEXT The manager or │
│ host-manager URI │
│ [default: None] │
│ [required] │
│ --usernames -u TEXT The file or │
│ comma-separated username │
│ list. │
│ [default: tomcat,admin] │
│ --passwords -p TEXT The file or │
│ comma-separated password │
│ list. │
│ [default: tomcat,admin] │
│ --verbose -v Show passed and failed │
│ inputs. │
│ --debug -d Show the HTTP request │
│ being made │
│ --install-completion Install completion for the │
│ current shell. │
│ --show-completion Show completion for the │
│ current shell, to copy it │
│ or customize the │
│ installation. │
│ --help Show this message and │
│ exit. │
╰───────────────────────────────────────────────────────────────────╯
```
## In Action

## Examples
If you only have one username or password, make sure you end it with `,`.
```bash
uv run main.py -U :8180/ -P /manager -u tomcat, -p /path/to/pws.txt
```
```bash
uv run main.py -U :8180/ -P /manager -u /path/to/wordlist -p /path/to/pws
```
### Credits:
- [mgr_brute](https://github.com/b33lz3bub-1/Tomcat-Manager-Bruteforce/blob/master/mgr_brute.py) - Basis for the brute force script.