Skip to content

Finding and listing a range of IPs with specific port open

by john on August 19th, 2008

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

From → BSD, Linux

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS