mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +00:00
Let NSE use nsock proxy chains.
This commit is contained in:
@@ -86,6 +86,10 @@ static nsock_pool new_pool (lua_State *L)
|
||||
nmap_adjust_loglevel(nsp, o.scriptTrace());
|
||||
|
||||
nsp_setdevice(nsp, o.device);
|
||||
|
||||
if (o.proxy_chain)
|
||||
nsp_set_proxychain(nsp, o.proxy_chain);
|
||||
|
||||
nsp_setbroadcast(nsp, true);
|
||||
|
||||
nspp = (nsock_pool *) lua_newuserdata(L, sizeof(nsock_pool));
|
||||
|
||||
Reference in New Issue
Block a user