Nmap Development mailing list archives

Re: nse_main.lua:312: attempt to index field '?' (a nil value)


From: Patrik Karlsson <patrik () cqure net>
Date: Tue, 22 May 2012 20:23:50 +0200

On Tue, May 22, 2012 at 1:42 PM, Bernd Kohler <kohler () umic rwth-aachen de>wrote:

Hi,

I wanted to test the http-unsafe-output-escaping script provided by the
new nmap-6.00 Version.

Using this new nma version - both installed version and using NMAPDIR
environment variable -  I get the following error.

nmap-6.00# nmap --script=http-unsafe-output-escaping 1.2.3.4

Starting Nmap 6.00 ( http://nmap.org ) at 2012-05-22 13:33 CEST
NSE: Script Engine Scan Aborted.
An error was thrown by the engine: /home/bk/nmap-6.00/nse_main.lua:312:
attempt to index field '?' (a nil value)
stack traceback:
       /home/bk/nmap-6.00/nse_main.lua:312: in function 'close'
       /home/bk/nmap-6.00/nse_main.lua:908: in function 'run'
       /home/bk/nmap-6.00/nse_main.lua:1218: in function
</home/bk/nmap-6.00/nse_main.lua:1125>
       [C]: ?

The nmap scan report shows correct information about open porst

FYI

best

Bernd

--
UMIC - RWTH Aachen
http://www.umic.rwth-aachen.de

Mies-van-der-Rohe Str. 15
52074 Aachen

Tel.:   +49 241 80 20791
Fax:    +49 241 80 22731
E-Mail: kohler () umic rwth-aachen de

RIP Dennis Ritchie (*09.09.1941 †09.10.2011)
Thx 4 UNIX and all the ><(((('>


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


Hi Bernd,

Would you mind running the same command with a higher debug level (eg. -d3)
and send me the results?
You're welcome to do so off-list if you prefer.

Thanks,
Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: