Skip to content

Commit

Permalink
Fix: starting notus-scanner after stop-scan (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraemii committed Feb 15, 2022
1 parent f1e8f20 commit 0e483c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attack.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ attack_host (struct scan_globals *globals, struct in6_addr *ip, GSList *vhosts,
pluginlaunch_wait_for_free_process (main_kb, kb);
}

if (prefs_get_bool ("table_driven_lsc"))
if (!scan_is_stopped () && prefs_get_bool ("table_driven_lsc"))
{
g_message ("Running LSC via Notus for %s", ip_str);
if (run_table_driven_lsc (globals->scan_id, kb, ip_str, NULL))
Expand Down

0 comments on commit 0e483c5

Please sign in to comment.