mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Added proxy support to service_scan.
This commit is contained in:
parent
c631af1c09
commit
a6bcd9cb7e
1 changed files with 4 additions and 0 deletions
|
|
@ -2673,6 +2673,10 @@ int service_scan(std::vector<Target *> &Targets) {
|
|||
|
||||
nsp_setdevice(nsp, o.device);
|
||||
|
||||
if (o.proxy_chain) {
|
||||
nsock_set_proxychain(nsp, o.proxy_chain);
|
||||
}
|
||||
|
||||
#if HAVE_OPENSSL
|
||||
/* We don't care about connection security in version detection. */
|
||||
nsp_ssl_init_max_speed(nsp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue