MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / load_scanner

Method load_scanner

utils.py:61–65  ·  view source on GitHub ↗

Load the network scanner

(self, module_name)

Source from the content-addressed store, hash-verified

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"""

Callers 1

load_actionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected