Nmap Development mailing list archives

Ctrl-C annoyance


From: alex medvedev <alexm () pycckue org>
Date: Mon, 29 Mar 2004 18:01:59 -0600 (CST)

hi,

i do not use nmap frequently, nor do i scan very often...
but when i do i am always surprised why nmap does not report anything when
Ctrl-C is pressed and simply runs a cleanup.

when scanning slow networks or firewalls that filter everything nmap may
just sit there for many minutes.

here is a small patch that prints out the ports "collected so far" when
the Ctrl-C combination is pressed.

when Ctrl-C is pressed 3 times it simply quits nmap.
i didn't bother to check what i broke, but i made currenths global
in main.cc

-alexm
17:50 29/03/2004

Attachment: main.cc.diff
Description:

Attachment: nmap.cc.diff
Description:

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org

Current thread: