I’ve noticed if you dont type out
ports=$(nmap -p- --min-rate=1000 -T4 10.10.10.27 | grep [1] | cut -d ‘/’ -f 1 | tr ‘\n’ ‘,’ | sed s/,$//)
It will not run the base nmap scan.
Hope this helps.
0-9 ↩︎