# Kali/WSL: install the local tools
sudo apt update
sudo apt install -y nmap python3
# Terminal 1: baseline on your own machine only
nmap -sT -Pn -n -p 8080,8081,8082 127.0.0.1
# Terminal 2: launch local service
python3 -m http.server 8080 --bind 127.0.0.1
# Terminal 1: repeat inventory and save result
nmap -sT -Pn -n -p 8080,8081,8082 -oN local-inventory.txt 127.0.0.1
# Stop server in terminal 2 using Ctrl+C, repeat scan.
