Nmap Development mailing list archives

Re: Proposal for adding new option to nmap


From: Kris Katterjohn <katterjohn () gmail com>
Date: Mon, 5 Jul 2010 16:26:18 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 5 Jul 2010 14:27:24 -0600
David Fifield <david () bamsoftware com> wrote:

I am thinking that the script list output should have the full
absolute path to every script, not just the basename. The reason for
this is to allow distinguishing between standard scripts and scripts
that the user has selected specifically from elsewhere in the
filesystem. The output might be

/usr/share/nmap/scripts/http-auth.nse
/usr/share/nmap/scripts/http-date.nse
...
/home/david/custom/test-script.nse


I agree with this.  It's trivial to grab just the script name using any
string parsing or regexes on these paths.

And thinking outside the scope of just Zenmap usage, providing the full
paths could allow any external programs to do something with these
scripts without the overhead of figuring out where they are (which may
be impossible for custom scripts without a special option).  I'm not
sure what all somebody may want to do with it, but it has potential.

David Fifield

Cheers,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJMMk36AAoJEEQxgFs5kUfutC8P/1q/E7Wr2Q9vmqtuWUlmvlK/
ixtS/Dv2Ue4in4aCUXo74OsmYhgVUSfK3kxS60PfaQfCOhYr0SnWn07JuIYrN6tM
4CFFmIKZa29UccyQYnt6CQ4pOe2tUsaD5eS0cPLaDmgsXRnecacGCb0Feyf0ve4y
7n103TLcg/ouFTv4q3XOuyGZIvGLsCtnF+IyN3XFVXQCtSyx7K20lGRbv8EaTGMM
YqJdGJdL7oR9Jhjd1LFvxGKazgWihX1uDtaBsibl6EveVhRQSOl4MgflWhFO27NH
h8K0jyahwMHteHxPXLGTKB+30HObuAOskXQ7mlh8J36fCn0aMKTeZLYlRFA7WKx4
Aqdn8gKczm4Z1wpxuBITWRemR5FyTt1Papjh9kjm0aGfBOjkgvZnSCSkPmvWLNFM
0z8Ek04ys8tmxKfY2eg7YHLVJ9jGHOmNSrxbMUlijS2mEdf9pYXAcMGIc0GT5IGY
skTlqEK2vXAAu/qdqiMFd6F8BkF4vKilu9RdRDqEodNQ2LezBQgCR3pab0la0BnC
7+wOfMAqY7lDTbcLL5GYAZ9dYJ5KW78PP0HG0l6m24FQyj0korB0ggUgipY+7xMO
rJrZRi4HrzQnPtB9C2+uQri4ciog/tphzTekJ5Au4OwCKWbzjkVYSOAY0v7ZDS33
AWXM0U+gFhfZJAMUS3Ca
=mwVw
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: