1
0
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:
henri
2013-04-22 19:33:15 +00:00
parent 6700abe1e8
commit 18cf677548

View File

@@ -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));