Closed goncalor closed 5 years ago
I think it can be valueable to have in the results the time each port was found. This information is already included in the XML output of masscan. This simple patch adds that information to scan_results.
scan_results
Before:
"10.0.0.1": { "tcp": { "80": { "state": "open", "reason": "syn-ack", "reason_ttl": "63", "services": [] } }, "icmp": { "0": { "state": "open", "reason": "none", "reason_ttl": "63", "services": [] } } }
After:
"10.0.0.1": { "tcp": { "80": { "state": "open", "reason": "syn-ack", "reason_ttl": "63", "endtime": "1555237371", "services": [] } }, "icmp": { "0": { "state": "open", "reason": "none", "reason_ttl": "63", "endtime": "1555237377", "services": [] } } }
I think it can be valueable to have in the results the time each port was found. This information is already included in the XML output of masscan. This simple patch adds that information to
scan_results
.Before:
After: