Skip to content

Instantly share code, notes, and snippets.

@geraldvillorente
Last active February 28, 2020 14:30
Show Gist options
  • Save geraldvillorente/dbfd1624ab8b9ff08ba9 to your computer and use it in GitHub Desktop.
Save geraldvillorente/dbfd1624ab8b9ff08ba9 to your computer and use it in GitHub Desktop.
Scan IP with target port

nmap -sS -sV -vv -n -Pn -T5 192.168.1.1-255 -p80 -oG – | grep 'open' | grep -v 'tcpwrapped'
In the above example the target port is 80 and the IP range is 192.168.1.1/24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment