adding quickscan

This commit is contained in:
jakani24
2024-04-27 00:50:48 +02:00
parent b68068cb5c
commit 19e264a302
30 changed files with 392 additions and 293 deletions

View File

@@ -66,6 +66,12 @@ int start_thread(const std::string& command) {
t1.detach();
has_run = 1;
}
else if (out1 == "quick_scan"){
log(LOGLEVEL::INFO, "[start_thread()]: starting quickscan with arguments: ");
std::thread t1(do_quickscan);
t1.detach();
has_run = 1;
}
Sleep(10); // Sleep for 10 ms to give the thread time to start
}
return 0;