Load the network scanner
(self, module_name)
| 59 | self._actions_loaded = True |
| 60 | |
| 61 | def load_scanner(self, module_name): |
| 62 | """Load the network scanner""" |
| 63 | module = importlib.import_module(f'actions.{module_name}') |
| 64 | b_class = getattr(module, 'b_class') |
| 65 | self.network_scanner = getattr(module, b_class)(self.shared_data) |
| 66 | |
| 67 | def load_nmap_vuln_scanner(self, module_name): |
| 68 | """Load the nmap vulnerability scanner""" |