mirror of
https://github.com/nmap/nmap.git
synced 2026-02-08 06:26:33 +00:00
[NSE] Added
nse_gettarget (lua_State *L, int index); to replace the current_hosts static variable shared between nse_main.cc and nse_nmaplib.cc. This improves locality and offers a clearer interface.
This commit is contained in:
@@ -36,6 +36,7 @@ void nse_restore (lua_State *, int);
|
||||
void nse_destructor (lua_State *, char);
|
||||
void nse_base (lua_State *);
|
||||
void nse_selectedbyname (lua_State *);
|
||||
void nse_gettarget (lua_State *, int);
|
||||
|
||||
void open_nse (void);
|
||||
void script_scan (std::vector<Target *> &targets);
|
||||
|
||||
Reference in New Issue
Block a user