1
0
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:
henri
2013-04-22 19:29:01 +00:00
parent 06219414a6
commit c631af1c09
3 changed files with 141 additions and 0 deletions

View File

@@ -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() {