Nmap Development mailing list archives

Re: SYN Port Scan, List Open Only


From: Paulino Calderon Pale <paulino () calderonpale com>
Date: Sat, 21 Mar 2015 07:50:55 -0600

Try using the option ‘--open’:

# nmap -p3389 --open --initial-rtt-timeout 100ms --max-retries 1 <target>

Cheers.
 
On Mar 21, 2015, at 6:59 AM, Esben Stien <b0ef () esben-stien name> wrote:


I'm using this command: 

sudo nmap -sS -p 3389 10.0.13.170 --initial-rtt-timeout 100ms --max-retries 1

..and I get: 

Starting Nmap 6.40 ( http://nmap.org ) at 2015-03-21 13:22 CET
Nmap scan report for 10.0.13.170
Host is up (0.000062s latency).
PORT     STATE  SERVICE
3389/tcp closed ms-wbt-server

Nmap done: 1 IP address (1 host up) scanned in 0.40 seconds

I only want to have output, if the port is open. 

Is there any way to do this with nmap?

I don't want to pipe the output to anything else. I want nmap to just
probe the port with syn and output if the port is open. 

-- 
Esben Stien is b0ef@e     s      a             
        http://www. s     t    n m
         irc://irc.  b  -  i  .   e/%23contact
          sip:b0ef@   e     e 
          jid:b0ef@    n     n
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: