Security Basics mailing list archives
Re: Nmap oprions
From: Jacob Bresciani <jacob () bresciani ca>
Date: Mon, 27 Jun 2005 08:41:04 -0700
much better then mine, -B, didn't know that switch. This will help me in a number of cases thanks. :) On Fri, 2005-06-24 at 16:14 -0400, Hecber Cordova wrote:
Hi, Try this: nmap -p21 <net> | grep -B 2 open Now, if you want only IP address, may be this can help: nmap -p21 <net> | grep -B 2 open | perl -ne 'if (/(\d+.\d+.\d+.\d+)/) { print "$1 \n" };' Regards, Hécber Córdova El jue, 23-06-2005 a las 10:43 -0700, Juan B escribió:HI, 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. thanks. J __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Current thread:
- Nmap oprions Juan B (Jun 24)
- Re: Nmap oprions Hecber Cordova (Jun 27)
- Re: Nmap oprions Daniel Miessler (Jun 27)
- Re: Nmap oprions Jacob Bresciani (Jun 27)
- Re: Nmap oprions Pablo (Jun 27)
- Re: Nmap oprions Eric Smith (Jun 27)
- Re: Nmap oprions Mark Owen (Jun 27)
- Re: Nmap oprions Aman Raheja (Jun 27)
- RE: Nmap oprions yeesan wong (Jun 27)
- RE: Nmap oprions Steve Hillier (Jun 27)
- Re: Nmap oprions Jacob Bresciani (Jun 27)
- <Possible follow-ups>
- RE: Nmap oprions Gaddis, Jeremy L. (Jun 27)
- RE: Nmap oprions Jeff Gercken (Jun 27)
- Re: Nmap oprions prashant . gawade (Jun 27)
(Thread continues...)
- Re: Nmap oprions Hecber Cordova (Jun 27)