Home page logo

basics logo Security Basics mailing list archives

RE: Nmap oprions
From: "Gaddis, Jeremy L." <jlgaddis () ivytech edu>
Date: Fri, 24 Jun 2005 16:42:43 -0500

"nmap -sT -p21 -oG port21.txt" will get the results into a
grep'able file

"grep open port21.txt | awk '{ print $2 }'" will then return the IP
addresses of those with port 21 open.


Jeremy L. Gaddis   <jlgaddis () ivytech edu>
Special Projects Manager
Computer & Technology Services
Ivy Tech State College, Bloomington
812.330.6156 (w)   812.797.6176 (m)

-----Original Message-----
From: Juan B [mailto:juanbabi () yahoo com] 
Sent: Thursday, June 23, 2005 12:44 PM
To: security-basics () securityfocus com
Subject: Nmap oprions


I need to scan my big network for port 21 on many hosts.

I want that nmap will show me just the hosts which the port found open. I
know that I can do this with grep but im not sure about the syntex.

can some one please help.



Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around

Attachment: smime.p7s

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]