MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / run_plugins

Function run_plugins

Scripts/Network Tools/Dark.py:675–683  ·  view source on GitHub ↗
(plugins, data)

Source from the content-addressed store, hash-verified

673 log(f"Loaded plugin: {fname}")
674 else:
675 log(f"Plugin {fname} has no run(data) function; skipped", "WARN")
676 except Exception as e:
677 log(f"Failed loading plugin {fname}: {e}", "ERROR")
678 return plugins
679
680
681def run_plugins(plugins, data):
682 for p in plugins:
683 try:
684 out = p["run"](data)
685 if out is not None:
686 data = out

Callers 3

curses_menuFunction · 0.70
cmd_crawlFunction · 0.70
cmd_run_plugins_on_fileFunction · 0.70

Calls 1

logFunction · 0.70

Tested by

no test coverage detected