No project description provided
Project description
A python script to scan for Apache Tomcat server vulnerabilities.
Features
- Multithreaded workers to search for Apache tomcat servers.
- Multiple target source possible:
- Retrieving list of computers from a Windows domain through an LDAP query to use them as a list of targets.
- Reading targets line by line from a file.
- Reading individual targets (IP/DNS/CIDR) from
-tt/--target
option.
- Custom list of ports to test.
- Tests for
/manager/html
access and default credentials. - List the CVEs of each version with the
--list-cves
option
Installation
You can now install it from pypi (latest version is ) with this command:
sudo python3 -m pip install apachetomcatscanner
Usage
$ ./ApacheTomcatScanner.py -h
Apache Tomcat Scanner v2.1 - by @podalirius_
usage: ApacheTomcatScanner.py [-h] [-v] [-C] [-T THREADS] [-PI PROXY_IP] [-PP PROXY_PORT] [-rt REQUEST_TIMEOUT] [-tf TARGETS_FILE] [-tt TARGET] [-tp TARGET_PORTS] [-ad AUTH_DOMAIN] [-ai AUTH_DC_IP] [-au AUTH_USER] [-ap AUTH_PASSWORD]
[-ah AUTH_HASH]
A python script to scan for Apache Tomcat server vulnerabilities.
optional arguments:
-h, --help show this help message and exit
-v, --verbose Verbose mode. (default: False)
-C, --list-cves List CVE ids affecting each version found. (default: False)
-T THREADS, --threads THREADS
Number of threads (default: 5)
-PI PROXY_IP, --proxy-ip PROXY_IP
Proxy IP.
-PP PROXY_PORT, --proxy-port PROXY_PORT
Proxy port
-rt REQUEST_TIMEOUT, --request-timeout REQUEST_TIMEOUT
-tf TARGETS_FILE, --targets-file TARGETS_FILE
-tt TARGET, --target TARGET
Target IP, FQDN or CIDR
-tp TARGET_PORTS, --target-ports TARGET_PORTS
Target ports to scan top search for Apache Tomcat servers.
-ad AUTH_DOMAIN, --auth-domain AUTH_DOMAIN
-ai AUTH_DC_IP, --auth-dc-ip AUTH_DC_IP
-au AUTH_USER, --auth-user AUTH_USER
-ap AUTH_PASSWORD, --auth-password AUTH_PASSWORD
-ah AUTH_HASH, --auth-hash AUTH_HASH
Example
You can also list the CVEs of each version with the --list-cves
option:
Contributing
Pull requests are welcome. Feel free to open an issue if you want to add other features.
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
apachetomcatscanner-2.3.2.tar.gz
(580.1 kB
view hashes)
Built Distribution
Close
Hashes for apachetomcatscanner-2.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2a27ed51191428532db4782ca7d80f395384cfafe91a83c3258b13237d014e |
|
MD5 | f121e4079b90fe58f41da867762c2a06 |
|
BLAKE2b-256 | e3653c84f4064d7900c1ce4ec7c77c86d3da1ddae772c697e4e9a5f1301ad870 |
Close
Hashes for apachetomcatscanner-2.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 273d47e6f4d06977640eecbfbb05aa183e9a0c9f2a1c944087b0750c5c1d4c82 |
|
MD5 | 85ec2a1c63211e104d6e8bb5a6fff4ad |
|
BLAKE2b-256 | eb04eb6596e4484afea9da505443be9a556f9a877ec03d8ec5cc0f7010bf8363 |