Nmap Development mailing list archives

Re: [nmap-svn] r25046 - nmap/todo


From: Patrick Donnelly <batrick () batbytes com>
Date: Tue, 19 Jul 2011 15:04:00 -0400

On Tue, Jul 19, 2011 at 2:55 PM,  <commit-mailer () insecure org> wrote:
Author: fyodor
Date: Tue Jul 19 11:55:03 2011
New Revision: 25046

Log:
Add a small bug/misfeature task

Modified:
  nmap/todo/nmap.txt

Modified: nmap/todo/nmap.txt
==============================================================================
--- nmap/todo/nmap.txt  (original)
+++ nmap/todo/nmap.txt  Tue Jul 19 11:55:03 2011
@@ -46,6 +46,10 @@
  (http://nmap.org/svn/docs/sample-script.nse) in docs/scripting.xml so
  that new script writers know about it.

+o The SCRIPT_NAME variable should not include the ".nse" in script names.  Currently, it omits that
+  for scripts in the DB, but includes it for scripts you specify based on their filename.  See:
+  http://seclists.org/nmap-dev/2011/q2/481
+

To be clear, it will also omit the ".nse" extension if the script you
specify has a slash in it (that is, the script is in another
directory). For example:

--script foo/bar.nse

will properly strip this ".nse" extension. (This is not a reliable
method of checking if a script is in the database :).

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

Current thread: