Finding and listing a range of IPs with specific port open
I needed to create a list of IPs with a specific port open:
nmap -sT -p22 192.168.0.1/24 -n -oG | grep '/open/' | cut -d" " -f2
No comments yet
I needed to create a list of IPs with a specific port open:
nmap -sT -p22 192.168.0.1/24 -n -oG | grep '/open/' | cut -d" " -f2