Nmap Development mailing list archives

nmap --script-updatedb & spec file


From: Lionel Cons <lionel.cons () cern ch>
Date: Mon, 3 Dec 2007 16:08:16 +0100

Hello,

I'm trying to write a spec file to build Nmap and add a couple of home-grown
NSE scripts to it. I've tried to use "nmap --script-updatedb" to rebuild the
NSE scripts database but it insists on looking for the scripts under
/usr/share/nmap/scripts, which is not correct while I'm building the rpm.
I've tried to play with --datadir and --script but they do not seem to help.

So, how can I use Nmap to rebuild the scripts database inside an arbitrary
directory?

Something like

        # nmap --script-updatedb --script <any-path>

would be perfect.

Thanks,

Lionel Cons

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: