Re: Nmap oprions

From: Hecber Cordova (hecber_at_gmail.com)
Date: 06/24/05

  • Next message: agentatfbi_at_yahoo.com: "Re: RE: Masters program for Information Security?"
    To: security-basics@securityfocus.com
    Date: Fri, 24 Jun 2005 16:14:05 -0400
    
    

            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


  • Next message: agentatfbi_at_yahoo.com: "Re: RE: Masters program for Information Security?"

    Relevant Pages

    • Re: How to Stop Bruit Force ssh Attempts?
      ... Is there a port or something that I can install to give ... Do You Yahoo!? ... Mail has the best spam protection around http://mail.yahoo.com ... I'm using denyhost per someone on the lists recomendation. ...
      (freebsd-questions)
    • Re: How to Stop Bruit Force ssh Attempts?
      ... connectivity to hosts that try and fail a given ... port that watches log files, ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (freebsd-questions)
    • RE: what to do?
      ... filtering mechanism on the SSH machine and filter out the ... This way you are only allowing various hosts access to your machine. ... > Do You Yahoo!? ... Mail has the best spam protection around ...
      (Security-Basics)
    • Re: what to do?
      ... You could deny the host by entering ... This way you are only allowing various hosts access to your machine. ... > Do You Yahoo!? ... Mail has the best spam protection around ...
      (Security-Basics)
    • Re: FIXED Realplayer plugin not working after portupgrade
      ... For your particular problem could you recite the steps ... this port or another) we can follow through. ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (freebsd-questions)