Nmap Development mailing list archives

[PATCH] lil' mistake in stdnse.lua


From: jah <jah () zadkiel plus com>
Date: Sat, 21 Jun 2008 02:50:58 +0100

Hello,

The attached fixes the following:
SCRIPT ENGINE:
...\nmap\proj\r8394\mswin32\nmap-4.65\nselib/stdnse.lua:14: attempt to
index upvalue 'nmap' (a boolean value)

Cheers,

jah
--- stdnse.lua.orig     2008-06-21 02:44:12.890625000 +0100
+++ stdnse.lua  2008-06-21 02:43:37.015625000 +0100
@@ -3,7 +3,7 @@
 local assert = assert;
 local tonumber = tonumber;
 local concat = table.concat;
-local nmap = require"nmap";
+local nmap = nmap;
 local print = print
 
 module(... or "stdnse");

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

Current thread: