Nmap Development mailing list archives

Re: nmap in a daemon mode


From: Martin Mačok <martin.macok () underground cz>
Date: Sun, 20 Feb 2005 09:06:14 +0100

On Sat, Feb 19, 2005 at 10:42:47PM +0000, Marek Denis wrote:

Well, some times when I scan hosts it takes hours to accomplish this
task (for example when I use -T2 switch). I believe some kind of
daemonize mode would be very usefull.

There is no need for that kind of functionality on unix systems since
there are several different universal methods to achieve it. For
example, every shell has a "job control" so you can run any program on
the background (consult your shell's manpage, search for "job
control", commands 'fg', 'bg', 'nohup', special character '&' etc.)

You could also use "screen" program to do more funky things, try
running:
$ screen nmap ...
(hit CTRL+A,D when you want, log out, do whatever)
and you can take it back anytime later (if it is still running) with:
$ screen -dr
(you can do much more with screen, anyway)

There is also a simple called 'dislocate' that offers similar
functionality and which is bundled with the 'expect' interpretter
package.

...maybe this mode would be possible to include into new releases?

Well, maybe it would be useful for Windows (?) or in nmapfe...

Martin Mačok
ICT Security Consultant

---------------------------------------------------------------------
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: