diff --git a/CHANGELOG b/CHANGELOG index 6cd10aa03..72e8d72ca 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/idle_scan.cc b/idle_scan.cc index fde4ce365..a7bad3a07 100644 --- a/idle_scan.cc +++ b/idle_scan.cc @@ -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);