mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 20:59:01 +00:00
Add ncat_main.c facilities for -L. Currently still with the ugly
o.script name.
This commit is contained in:
@@ -165,9 +165,10 @@ static int traceback (lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
void lua_setup(char *cmdexec)
|
||||
void lua_setup(char *cmdexec, int script)
|
||||
{
|
||||
ncat_assert(cmdexec != NULL);
|
||||
ncat_assert(script == 0); //TODO
|
||||
|
||||
lua_State **L = &luaexec_L;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user