Skip to content
Snippets Groups Projects
Commit 1faa2582 authored by nimrod's avatar nimrod
Browse files
parent f5926c97
No related branches found
No related tags found
No related merge requests found
...@@ -1391,6 +1391,12 @@ main_scan(struct Masscan *masscan) ...@@ -1391,6 +1391,12 @@ main_scan(struct Masscan *masscan)
if (time(0) - now >= masscan->wait) if (time(0) - now >= masscan->wait)
is_rx_done = 1; is_rx_done = 1;
if (time(0) - now - 5 > masscan->wait)
{
printf("Passed the wait window but still running, forceful exit.\n");
exit(0);
}
if (masscan->output.is_status_updates) { if (masscan->output.is_status_updates) {
status_print(&status, min_index, range, rate, status_print(&status, min_index, range, rate,
total_tcbs, total_synacks, total_syns, total_tcbs, total_synacks, total_syns,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment