DockerBashMIT
Sweep your own network for the obvious holes.
One script builds a throwaway toolbox image, runs nmap, nikto, sslscan and more in phases, and writes a Markdown report with findings ranked by severity.
$ ./pentest.sh --target 192.168.1.50 --mode full
[INFO] Target : 192.168.1.50
[INFO] Mode : full
==> Phase 1: Port scanning
[INFO] Running: nmap all-ports + OS detection + scripts
==> Phase 2: Web scanning
[INFO] Running: nikto web vulnerability scan
==> Phase 3: SSL/TLS
==> Phase 4: SMB / NetBIOS
==> Generating report
[WARN] 6 finding(s) — see report for details
[INFO] Report : log/192.168.1.50-2026-11-17_10-42-08/report.mdAuthorized use onlyScan hosts you own or have written permission to test. Scanning systems without permission is illegal in most jurisdictions.
Quick start
Needs Docker. The first real run builds the pentest-tools image for you.
- Clone it
git clone https://github.com/rtorcato/pentest cd pentest - Dry-run first (prints every phase; builds nothing, touches nothing)
./pentest.sh --target 192.168.1.50 --dry-run - Run and read the report
./pentest.sh --target 192.168.1.50 cat log/192.168.1.50-*/report.md
Four modes
--mode quick (default)Top-1000 TCP ports and service banners. A minute or two.
--mode fullAll ports, OS detection and NSE scripts, then web, SSL/TLS and SMB phases.
--mode webWeb ports only, then headers, whatweb, nikto, gobuster and sslscan.
--mode checklistSame as full, but asks before each phase.
What's in the box
Every tool runs inside an Ubuntu 24.04 container. Nothing is installed on your machine.
nmapniktogobusterwhatwebsslscanenum4linux-ngcurl
What the report flags
High: exposed NUT/upsd, legacy TLS, weak ciphers, expired certs, nikto CVE hits.
Medium: rpcbind, SMB, plain HTTP, missing security headers, no HSTS.