diff --git a/main.go b/main.go index a151d5f..d7eb771 100644 --- a/main.go +++ b/main.go @@ -349,7 +349,10 @@ func main() { if len(openPorts) == 0 { summaryFile.WriteString("no open ports found.\n") } else { - summaryFile.WriteString("[+] scan summary: open ports found with fingerprints\n") + summaryFile.WriteString("[+] scan summary: open ports found with fingerprints above\n") + summaryFile.WriteString(fmt.Sprintf("[+] scanned %s to %s\n[+] ports %d to %d\n", ipParts[0], ipParts[1], portStart, portEnd)) + + } fmt.Println("[+] scan summary written to summary.txt") if len(minecraftServers) > 0 {