mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
continue module run if one module fail
This commit is contained in:
@@ -131,7 +131,10 @@ class ModuleLoader:
|
||||
for path in modules_paths:
|
||||
for module in listdir(path):
|
||||
if module[-3:] == ".py" and module != "example_module.py":
|
||||
module_path = path_join(path, module)
|
||||
module_data = self.get_module_info(module_path)
|
||||
modules.update(module_data)
|
||||
try:
|
||||
module_path = path_join(path, module)
|
||||
module_data = self.get_module_info(module_path)
|
||||
modules.update(module_data)
|
||||
except:
|
||||
pass
|
||||
return modules
|
||||
|
||||
Reference in New Issue
Block a user