Nmap Development mailing list archives
Re: LUA "Invalid Escape Sequence" error with NMAP 6.25
From: Aaron Giuoco <afxdub () gmail com>
Date: Sat, 15 Dec 2012 12:09:08 -0600
On Sat, Dec 15, 2012 at 11:59 AM, Henri Doreau <henri.doreau () gmail com>wrote:
2012/12/15 Aaron Giuoco <afxdub () gmail com>:Henri, Thanks for taking a look. I made the changes you suggested (require "stdnse", declare 'ret', declare *action functions) and I still get thesameresult. I don't think the file is corrupted because it works with 6.01. The error makes me think that I'm not properly escaping a character somewhere. I am running this on Win7 if that makes a difference. I probably need to try it in Linux to make sure I'm getting the same error and it's not some weird OS specific problem. AGI tried on Linux (only). Another thing, if I may, I would suggest you to be more strict in checking and reporting error cases in your script. I'm afraid I can't see what could trigger the problem you describe though... Maybe someone else can.
-- Henri
I appreciate the feedback. This the first thing I've ever done in Lua, so I know there is a lot I need to learn and improve upon. But it appears that the Lua interpreter is throwing the error before it ever gets to the point of running any of my code. At least that is the error I'm getting in Win7. What error did you get when you ran it in Linux? AG _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- LUA "Invalid Escape Sequence" error with NMAP 6.25 Aaron Giuoco (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Henri Doreau (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Aaron Giuoco (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Henri Doreau (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Aaron Giuoco (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Aaron Giuoco (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Aaron Giuoco (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Henri Doreau (Dec 15)
- Re: LUA "Invalid Escape Sequence" error with NMAP 6.25 Aaron Giuoco (Dec 15)
