mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
Added a --proxies <chain> option to nmap to let users specify proxies to use
from command line. <chain> is expected (by nsock) to be a comma-separated list of proxies. e.g.: http://relay1.local:8080,http://relay2.local:3128 This option has currently no effect.
This commit is contained in:
@@ -135,6 +135,10 @@ NmapOps::~NmapOps() {
|
||||
free(portlist);
|
||||
portlist = NULL;
|
||||
}
|
||||
if (proxy_chain) {
|
||||
free(proxy_chain);
|
||||
proxy_chain = NULL;
|
||||
}
|
||||
if (exclude_spec) {
|
||||
free(exclude_spec);
|
||||
exclude_spec = NULL;
|
||||
@@ -346,6 +350,7 @@ void NmapOps::Initialize() {
|
||||
inputfd = NULL;
|
||||
idleProxy = NULL;
|
||||
portlist = NULL;
|
||||
proxy_chain = NULL;
|
||||
}
|
||||
|
||||
bool NmapOps::SCTPScan() {
|
||||
|
||||
Reference in New Issue
Block a user