From 739807972b07148f5a06de15f248149d44442e5b Mon Sep 17 00:00:00 2001 From: fyodor Date: Thu, 24 Aug 2006 04:15:00 +0000 Subject: [PATCH] Allow fingerprints to be shown even if target host is many hops away, remove some excess verbiage that should use ScanProgressMeter anyway --- FingerPrintResults.cc | 5 +++-- osscan2.cc | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/FingerPrintResults.cc b/FingerPrintResults.cc index f0adc3e25..c3f3803b4 100644 --- a/FingerPrintResults.cc +++ b/FingerPrintResults.cc @@ -153,8 +153,9 @@ const char *FingerPrintResults::OmitSubmissionFP() { if (osscan_closedtcpport <= 0) return "Missing a closed TCP port so results incomplete"; - if (distance > 5) - return "Host more than five network hops away"; + // I'm not sure this is really necessary + // if (distance > 15) + // return "Host more than fifteen network hops away"; if (maxTimingRatio > 1.4) return "maxTimingRatio is greater than 1.4"; diff --git a/osscan2.cc b/osscan2.cc index d143c4a66..f90f5ab33 100644 --- a/osscan2.cc +++ b/osscan2.cc @@ -706,10 +706,6 @@ void HostOsScanStats::initScanStats() { closedUDPPort = (get_random_uint() % 14781) + 30000; } - if (o.verbose && openTCPPort != -1) - log_write(LOG_STDOUT, "OSScan against host %s: assuming TCP port %d is open, %d is closed, UDP port %d is closed and none is firewalled\n", - target->targetipstr(), openTCPPort, closedTCPPort, closedUDPPort); - FP = NULL; for (i=0; i