Nmap Development mailing list archives

LUA "Invalid Escape Sequence" error with NMAP 6.25


From: Aaron Giuoco <afxdub () gmail com>
Date: Sat, 15 Dec 2012 08:52:14 -0600

Hi everyone,

I hope you can point me in the right direction.  I have a custom NSE script
that is throwing the error below in NMAP 6.25.  The script worked fine in
6.01.  I'm sure that I just need to make some adjustments because of the
Lua upgrade, but I don't know what is wrong.  Script is attached.


Starting Nmap 6.25 ( http://nmap.org ) at 2012-12-15 08:40 Central Standard
Time

NSE: failed to initialize the script engine:
nmap-6.25/nse_main.lua:659: Bad script rule:
        http-screenshot-html.nse ->  invalid escape sequence near '\U'
stack traceback:
        [C]: in function 'error'
        nmap-6.25/nse_main.lua:659: in function 'get_chosen_scripts'
        nmap-6.25/nse_main.lua:1239: in main chunk
        [C]: in ?

QUITTING!

Attachment: http-screenshot-html.nse
Description:

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

Current thread: