Tools
Every tool runs inside the pentest-tools image (Ubuntu 24.04). Each phase writes one raw file to the run folder.
| Phase | Tool | What it checks | Output | quick | full | web | checklist |
|---|---|---|---|---|---|---|---|
| 1 · Ports | nmap | Port scan and service detection. All ports, OS detection and NSE scripts in full mode. | nmap.txt | ● | ● | ● | ● |
| 2 · Web | curl | HTTP and HTTPS response headers. | curl-headers.txt | – | ● | ● | ● |
| 2 · Web | whatweb | Web technology fingerprint, aggression level 3. | whatweb.txt | – | ● | ● | ● |
| 2 · Web | nikto | Web vulnerability scan, capped at 120 s. | nikto.txt | – | ● | ● | ● |
| 2 · Web | gobuster | Directory brute-force with the dirb common.txt list. | gobuster.txt | – | ● | ● | ● |
| 3 · TLS | sslscan | Protocols, cipher suites and certificate checks. | sslscan.txt | – | ● | ● | ● |
| 4 · SMB | enum4linux-ng | SMB and NetBIOS enumeration. | enum4linux.txt | – | ● | – | ● |
● runs in this mode · – skipped. In web mode nmap only scans ports 80, 443, 3000, 4443, 8080, 8443 and 8888.
Also in the image
smbclient, python3-impacket, dnsutils, net-tools, jq, wget.
Findings rules
After the scans, pattern matches over the raw output build the findings table. They flag what's worth a look; they don't replace reading the raw output.
| Severity | Rule | Source |
|---|---|---|
| High | NUT upsd on 3493 or NUT exporter on 9199 reachable | nmap.txt |
| High | TLS 1.0/1.1 or SSL enabled; RC4 or 3DES ciphers; expired or invalid cert | sslscan.txt |
| High | CVE or OSVDB entries in nikto output | nikto.txt |
| Medium | rpcbind (111), SMB (139/445) or plain HTTP (80/8080) open | nmap.txt |
| Medium | Missing security headers, no HSTS | nikto.txt, curl-headers.txt |