Nmap Development mailing list archives

lua_cpcall and windows


From: "Jaime Reza" <turinreza () gmail com>
Date: Wed, 12 Mar 2008 16:27:19 -0800

I get errors in calling some nse scripts and nmap exits on windows.

is it possible for nmap to incorporate a preprocessor for windows so we can
do the following (use lua_atpanic)?


Refer to the usage of lua_cpcall() in lua.c.


Also if you are using in a Windows GUI app. you might want to
change the default panic function using lua_atpanic() to
a routine that uses MessageBox() (or whatever). The default
function uses fprintf()/fputs().

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


Current thread: