mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Let NSE use nsock proxy chains.
This commit is contained in:
parent
6700abe1e8
commit
18cf677548
1 changed files with 4 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue