1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 00:49:01 +00:00

o Fixed the Idle Scan (-sI) so that scanning multiple hosts doesn't

retest the zombie proxy and reinitialize all of the associated data
  at the beginning of each run. [Kris]

The underlying code checking for this and for changing proxies goes all the
way back to r1486 (2002) and presumably before, but lastproxy was never filled
in and so was nonfunctional.
This commit is contained in:
kris
2010-03-18 06:21:05 +00:00
parent b7b14216e2
commit 7c384d480f
2 changed files with 5 additions and 0 deletions

View File

@@ -2,6 +2,10 @@
[NOT YET RELEASED]
o Fixed the Idle Scan (-sI) so that scanning multiple hosts doesn't
retest the zombie proxy and reinitialize all of the associated data
at the beginning of each run. [Kris]
o [NSE] Added jdwp-version.nse, a script from Michael Schierl that
finds the version of a Java Debug Wire Protocol server.

View File

@@ -997,6 +997,7 @@ void idle_scan(Target *target, u16 *portarray, int numports,
/* If this is the first call, */
if (!*lastproxy) {
initialize_idleproxy(&proxy, proxyName, target->v4hostip(), ports);
strncpy(lastproxy, proxyName, sizeof(lastproxy));
}
starttime = time(NULL);