diff --git a/bbot/scanner/manager.py b/bbot/scanner/manager.py index 572ce4cd1..eeef447fb 100644 --- a/bbot/scanner/manager.py +++ b/bbot/scanner/manager.py @@ -410,6 +410,7 @@ async def _worker_loop(self): def kill_module(self, module_name, message=None): module = self.scan.modules[module_name] module.set_error_state(message=message, clear_outgoing_queue=True) + self.scan.helpers.cancel_tasks_sync(module._tasks) @property def modules_by_priority(self): diff --git a/docs/scanning/tips_and_tricks.md b/docs/scanning/tips_and_tricks.md index aaafb15ca..0572bedb2 100644 --- a/docs/scanning/tips_and_tricks.md +++ b/docs/scanning/tips_and_tricks.md @@ -7,6 +7,11 @@ Press enter during a BBOT scan to change the log level. This will allow you to s +## Kill Individual Module During Scan +Sometimes a certain module can get stuck or slow down the scan. If this happens and you want to kill it, just type "`kill `" in the terminal and press enter. This will kill and disable the module for the rest of the scan. + + + ## Common Config Changes ### Boost Massdns Thread Count