Skip to content

Agent API_p9

grisun0 edited this page Oct 20, 2026 · 28 revisions

API (page 9 of 24)

Previous: API_p8.md

lazygui/widgets/status_badge.py

Depends on: lazygui/services/backend.py Imported by: lazygui/widgets/__init__.py, lazygui/windows/main_window.py

lazygui/widgets/terminal_view.py

Depends on: lazygui/config/constants.py Imported by: lazygui/panels/terminal_panel.py, lazygui/widgets/__init__.py

lazygui/windows/command_palette_window.py

Depends on: lazygui/config/constants.py, lazygui/widgets/command_palette_list.py Imported by: lazygui/windows/__init__.py, lazygui/windows/main_window.py

lazygui/windows/connect_dialog.py

Depends on: lazygui/config/c2_credentials.py, lazygui/config/constants.py, lazygui/config/paths.py, lazygui/config/settings.py, lazygui/services/models.py, lazygui/services/teamserver_backend.py Imported by: lazygui/app.py, lazygui/windows/__init__.py

lazygui/windows/main_window.py

Depends on: lazygui/config/constants.py, lazygui/config/settings.py, lazygui/panels/registry.py, lazygui/services/backend.py, lazygui/services/event_log.py, lazygui/services/models.py, lazygui/theme/manager.py, lazygui/theme/tokens.py, lazygui/widgets/beacon_command_modal.py, lazygui/widgets/command_palette_list.py, lazygui/widgets/status_badge.py, lazygui/windows/command_palette_window.py Imported by: lazygui/app.py, lazygui/windows/__init__.py

lazyown-docker/hostdiscover.sh

lazyown-docker/mkdocker.sh

lazyown.py

Depends on: cli/aliases.py, cli/auto_crypto.py, cli/autosuggest.py, cli/chain_mode.py, cli/cli_enhancements.py, cli/command_chain.py, cli/engagement_hooks.py, cli/exploration.py, cli/fuzzy_picker.py, cli/graph_advisor.py, cli/headless.py, cli/lazynmap_post.py, cli/ops_commands.py, cli/palette.py, cli/palette_command.py, cli/protips.py, cli/reactive_hints.py, cli/registry.py, cli/scope_guard.py, cli/session_brief.py, cli/splash.py, cli/status_bar.py, cli/tips_engine.py, cli/toast_bus.py, core/autonomous.py, core/config.py, core/console.py, core/credential_vault.py, core/defaults.py, core/hardening.py, core/logging.py, modules/cli_auth.py, modules/command_executor.py, modules/event_bus.py, modules/event_consumers.py, modules/lazy_loop.py, modules/llm_factory.py, modules/logging_config.py, modules/metrics.py, modules/payload_factory.py, modules/session_cleanup.py, modules/state_manager.py, modules/unified_bridge.py, skills/unified_orchestrator.py, utils.py Imported by: core/command_bridge.py, discord_c2.py, lazyc2.py, poc_tui/app.py, scripts/devtools/command_audit.py, slack_c2_bot.py, telegram_c2.py, tests/test_c2_agent.py, tests/test_scope_guard_integration.py

  • _PayloadSettableProxy.__init__ (method) lazyown.py:244 def __init__(self, params) -- Bind the proxy to a live params dictionary.
  • LazyOwnShell.__init__ (method) lazyown.py:372 def __init__(self) -- Initializer for the LazyOwnShell class.
  • LazyOwnShell.log_command (method) lazyown.py:779 def log_command(self, cmd_name, cmd_args, start_time, end_time, duration_ms) -- Logs the command execution details to a CSV file.
  • LazyOwnShell.default (method) lazyown.py:842 def default(self, line) -- Handles undefined commands, including aliases.
  • LazyOwnShell.scripts (method) lazyown.py:871 def scripts(self) -- Auto-discovered list of runnable script names.
  • LazyOwnShell.refresh_prompt (method) lazyown.py:890 def refresh_prompt(self) -- Recompute the Neon Box prompt from the live payload.
  • LazyOwnShell.do_set (method) lazyown.py:901 def do_set(self, line) -- Set a parameter — the unified set/assign surface.
  • LazyOwnShell.logcsv (method) lazyown.py:1282 def logcsv(self, line, start_time, end_time, duration_ms) -- Forward a command line to :meth:log_command for CSV persistence.
  • LazyOwnShell.cmd (method) lazyown.py:1323 def cmd(self, line) -- Internal function to execute commands.
  • LazyOwnShell.onecmd_plus_hooks (method) lazyown.py:1415 def onecmd_plus_hooks(self, statement, add_to_history, raise_keyboard_interrupt, orig_rl_history_length) -- Dispatch a command, expanding payload placeholders in custom aliases.
  • LazyOwnShell.one_cmd (method) lazyown.py:1779 def one_cmd(self, command) -- Internal function to execute commands.
  • LazyOwnShell.emptyline (method) lazyown.py:1825 def emptyline(self) -- Handle the case where the user enters an empty line.
  • LazyOwnShell.load_user_commands (method) lazyown.py:1850 def load_user_commands(self) -- Carga los comandos personalizados desde user_commands.json
  • LazyOwnShell.save_user_command (method) lazyown.py:1862 def save_user_command(self, alias, command) -- Guarda un nuevo comando en user_commands.json
  • LazyOwnShell.list_files_in_directory (method) lazyown.py:1874 def list_files_in_directory(self, directory) -- Lista todos los archivos en un directorio dado.
  • LazyOwnShell.register_tool_commands (method) lazyown.py:1880 def register_tool_commands(self) -- Register every active tools/*.tool as a do_<toolname> command.
  • make_wrapper (function) lazyown.py:1939 def make_wrapper(cmd_template, tname, default_target)
  • tool_wrapper (function) lazyown.py:1940 def tool_wrapper(arg)
  • wrapper (function) lazyown.py:2041 def wrapper(arg)
  • LazyOwnShell.load_plugins (method) lazyown.py:2064 def load_plugins(self) -- Load every Lua plugin from the 'plugins/' directory.
  • LazyOwnShell.load_yaml_plugins (method) lazyown.py:2094 def load_yaml_plugins(self) -- Loads all YAML plugins from the 'lazyaddons/' directory.
  • LazyOwnShell.register_yaml_plugin (method) lazyown.py:2117 def register_yaml_plugin(self, plugin_data) -- Register a YAML addon as a shell command.
  • wrapper_yaml (function) lazyown.py:2157 def wrapper_yaml(arg)
  • LazyOwnShell.register_all_adversary_commands (method) lazyown.py:2263 def register_all_adversary_commands(self)
  • cmd_wrapper (function) lazyown.py:2285 def cmd_wrapper(_)
  • LazyOwnShell.display_toastr (method) lazyown.py:2292 def display_toastr(self, message, type) -- Display the unified toastr panel from the shared toast bus.
  • LazyOwnShell.completedefault (method) lazyown.py:2305 def completedefault(self, text, line, begidx, endidx) -- Fall through to the payload-aware completer for unhandled commands.
  • LazyOwnShell.preloop (method) lazyown.py:2330 def preloop(self) -- Print a session-start pro tip and handle first-run setup.
  • LazyOwnShell.postparsing_precmd (method) lazyown.py:2474 def postparsing_precmd(self, statement) -- Gate unauthenticated commands — anonymous operators can only run register, login, logout, whoami...
  • LazyOwnShell.postloop (method) lazyown.py:2502 def postloop(self) -- Handle operations to perform after exiting the command loop.
  • LazyOwnShell.complete_phase (method) lazyown.py:2535 def complete_phase(self, text, line, begidx, endidx) -- Tab-complete phase names.
  • LazyOwnShell.complete_l00t (method) lazyown.py:2540 def complete_l00t(self, text, line, begidx, endidx) -- Tab-complete l00t subcommands.
  • LazyOwnShell.complete_loot (method) lazyown.py:2546 def complete_loot(self, text, line, begidx, endidx) -- Tab-complete loot subcommands (delegates to l00t).
  • LazyOwnShell.complete_assign (method) lazyown.py:2551 def complete_assign(self, text, line, begidx, endidx) -- Tab-complete the parameter name from the live payload keys.
  • LazyOwnShell.complete_scope (method) lazyown.py:2568 def complete_scope(self, text, line, begidx, endidx) -- Tab-complete the scope subcommands.
  • LazyOwnShell.complete_palette (method) lazyown.py:2619 def complete_palette(self, text, line, begidx, endidx) -- Tab-complete the palette command using the live command index.
  • LazyOwnShell.run_lazysearch (method) lazyown.py:2636 def run_lazysearch(self) -- Runs the internal module modules/lazysearch.py.
  • LazyOwnShell.run_lazysearch_gui (method) lazyown.py:2653 def run_lazysearch_gui(self) -- Run the internal module located at modules/LazyOwnExplorer.py.
  • LazyOwnShell.run_lazyown (method) lazyown.py:2683 def run_lazyown(self) -- Run the internal module located at modules/lazyown_parquet_tool.py.
  • LazyOwnShell.run_update_db (method) lazyown.py:2709 def run_update_db(self) -- Run the internal module located at modules/update_db.sh.
  • LazyOwnShell.run_lazynmap (method) lazyown.py:2739 def run_lazynmap(self) -- Runs the internal module modules/lazynmap.sh for multiple Nmap scans.
  • LazyOwnShell.run_lazywerkzeugdebug (method) lazyown.py:2804 def run_lazywerkzeugdebug(self) -- Run the internal module located at modules/legacy/lazywerkzeug.py in debug mode.
  • LazyOwnShell.run_lazygath (method) lazyown.py:2861 def run_lazygath(self) -- Run the internal module located at modules/lazygat.sh. to gathering the sistem :)
  • LazyOwnShell.run_lazynmapdiscovery (method) lazyown.py:2893 def run_lazynmapdiscovery(self) -- Runs the internal module modules/lazynmap.sh with discovery mode.
  • LazyOwnShell.run_lazysniff (method) lazyown.py:2908 def run_lazysniff(self) -- Run the sniffer internal module located at modules/legacy/lazysniff.py with the specified parameters.
  • LazyOwnShell.run_lazyftpsniff (method) lazyown.py:2957 def run_lazyftpsniff(self) -- Run the sniffer ftp internal module located at modules/legacy/lazyftpsniff.py with the specified parameters.
  • LazyOwnShell.run_lazynetbios (method) lazyown.py:3003 def run_lazynetbios(self) -- Run the internal module to search netbios vuln victims, located at modules/legacy/lazynetbios.py with the...
  • LazyOwnShell.run_lazyhoneypot (method) lazyown.py:3054 def run_lazyhoneypot(self) -- Run the internal module located at modules/legacy/lazyhoneypot.py with the specified parameters.
  • LazyOwnShell.run_lazysearch_bot (method) lazyown.py:3120 def run_lazysearch_bot(self) -- Run the internal module GROQ AI located at modules/legacy/lazysearch_bot.py with the specified parameters.
  • LazyOwnShell.run_lazymetaextract0r (method) lazyown.py:3171 def run_lazymetaextract0r(self) -- Run the Metadata extractor internal module located at modules/lazyown_metaextract0r.py with the specified parameters.
  • LazyOwnShell.run_lazyownratcli (method) lazyown.py:3212 def run_lazyownratcli(self) -- Run the internal module located at modules/lazyownclient.py with the specified parameters.
  • LazyOwnShell.run_lazyownrat (method) lazyown.py:3272 def run_lazyownrat(self) -- Run the internal module located at modules/lazyownserver.py with the specified parameters.
  • LazyOwnShell.run_lazybotnet (method) lazyown.py:3333 def run_lazybotnet(self) -- Run the internal module located at modules/legacy/lazybotnet.py with the specified parameters.
  • LazyOwnShell.run_lazylfi2rce (method) lazyown.py:3389 def run_lazylfi2rce(self) -- Run the internal module located at modules/legacy/lazylfi2rce.py with the specified parameters.
  • LazyOwnShell.run_lazylogpoisoning (method) lazyown.py:3470 def run_lazylogpoisoning(self) -- Run the internal module located at modules/legacy/lazylogpoisoning.py with the specified parameters.
  • LazyOwnShell.run_lazybotcli (method) lazyown.py:3517 def run_lazybotcli(self) -- Run the internal module located at modules/legacy/lazybotcli.py with the specified parameters.
  • LazyOwnShell.run_lazyssh77enum (method) lazyown.py:3573 def run_lazyssh77enum(self) -- Run the internal module located at modules/lazybrutesshuserenum.py with the specified parameters.
  • LazyOwnShell.run_lazyburpfuzzer (method) lazyown.py:3623 def run_lazyburpfuzzer(self) -- Run the internal module located at modules/lazyown_burpfuzzer.py with the specified parameters.
  • LazyOwnShell.run_lazyreverse_shell (method) lazyown.py:3749 def run_lazyreverse_shell(self) -- Run the internal module located at modules/lazyreverse_shell.sh with the specified parameters.
  • LazyOwnShell.run_lazyarpspoofing (method) lazyown.py:3799 def run_lazyarpspoofing(self) -- Run the internal module located at modules/legacy/lazyarpspoofing.py with the specified parameters.
  • LazyOwnShell.run_lazyattack (method) lazyown.py:3853 def run_lazyattack(self) -- Run the internal module located at modules/lazyatack.sh with the specified parameters.
  • LazyOwnShell.run_lazymsfvenom (method) lazyown.py:3908 def run_lazymsfvenom(self) -- Executes the msfvenom tool to generate a variety of payloads based on user input.
  • LazyOwnShell.run_lazyaslrcheck (method) lazyown.py:4085 def run_lazyaslrcheck(self) -- Creates a path hijacking attack by performing the following steps:
  • LazyOwnShell.run_lazypathhijacking (method) lazyown.py:4132 def run_lazypathhijacking(self) -- Creates a path hijacking attack by performing the following steps:
  • LazyOwnShell.run_script (method) lazyown.py:4165 def run_script(self, script_name) -- Run a script with the given arguments
  • LazyOwnShell.run_command (method) lazyown.py:4197 def run_command(self, command) -- Run a command and print output in real-time
  • LazyOwnShell.get_output (method) lazyown.py:4277 def get_output(self) -- Devuelve la salida acumulada
  • LazyOwnShell.upload_file_to_c2 (method) lazyown.py:4282 def upload_file_to_c2(self, file_path, clientid) -- Sube un archivo al C2.
  • LazyOwnShell.complete_upload_c2 (method) lazyown.py:4308 def complete_upload_c2(self, text, line, begidx, endidx) -- Autocomplete implant names from implant_config_*.json files in sessions/ directory
  • LazyOwnShell.download_file_from_c2 (method) lazyown.py:4336 def download_file_from_c2(self, file_name, clientid) -- Descarga un archivo desde el C2.
  • LazyOwnShell.issue_command_to_c2 (method) lazyown.py:4405 def issue_command_to_c2(self, command, client_id) -- Ejecuta un comando en el cliente usando el C2.
  • LazyOwnShell.complete_issue_command_to_c2 (method) lazyown.py:4439 def complete_issue_command_to_c2(self, text, line, begidx, endidx) -- Autocomplete: 1st arg = implant name, 2nd arg = beacon command (with : if needed)
  • LazyOwnShell.view_code (method) lazyown.py:4505 def view_code(self, stdscr) -- Display C and ASM code side by side in a curses-based interface.
  • LazyOwnShell.get_available_actions (method) lazyown.py:4610 def get_available_actions(self) -- Returns a list of available actions using cmd2 introspection.
  • LazyOwnShell.process_scan_csv (method) lazyown.py:4693 def process_scan_csv(self, csv_file, ip, port, all_data, processed_ips) -- Processes a single scan CSV file.
  • LazyOwnShell.process_vuln_csv (method) lazyown.py:4716 def process_vuln_csv(self, csv_file, ip, all_data, processed_ips) -- Processes a single vulnerability CSV file.
  • LazyOwnShell.do_event_log (method) lazyown.py:4848 def do_event_log(self, line) -- Show recent EventBus events.
  • LazyOwnShell.do_state_snapshot (method) lazyown.py:4878 def do_state_snapshot(self, line) -- Show unified StateManager snapshot (DB + JSON caches).
  • LazyOwnShell.do_route (method) lazyown.py:4917 def do_route(self, line) -- Route a natural-language prompt to a LazyOwn tool.
  • main (function) lazyown.py:4940 def main()

modules/49803.py

modules/CVE-2023-28432.py

modules/LazyOwnExplorer.py

modules/adcs_attacks.py

Imported by: cli/commands/exploit_migrated.py

  • CertificateTemplate.esc_vulnerabilities (method) modules/adcs_attacks.py:35 def esc_vulnerabilities(self) -- Determine which ESC attack paths apply to this template.
  • ADCSCertipyWrapper.__init__ (method) modules/adcs_attacks.py:80 def __init__(self, certipy_path, timeout)
  • ADCSCertipyWrapper.find_certificate_authorities (method) modules/adcs_attacks.py:113 def find_certificate_authorities(self, username, password, domain, dc_ip, hashes) -- Enumerate certificate authorities in an Active Directory domain.
  • ADCSCertipyWrapper.enumerate_templates (method) modules/adcs_attacks.py:189 def enumerate_templates(self, username, password, domain, dc_ip, hashes) -- Enumerate vulnerable certificate templates.
  • ADCSCertipyWrapper.request_certificate_esc1 (method) modules/adcs_attacks.py:268 def request_certificate_esc1(self, username, password, domain, dc_ip, ca_name, template_name, target_user, output_file) -- ESC1: Request a certificate with a user-supplied subject alternative name.
  • ADCSCertipyWrapper.request_certificate_esc8 (method) modules/adcs_attacks.py:322 def request_certificate_esc8(self, username, password, domain, dc_ip, ca_server, template_name, output_file) -- ESC8: HTTP-based certificate enrollment (NTLM relay to AD CS).
  • ADCSCertipyWrapper.authenticate_with_certificate (method) modules/adcs_attacks.py:367 def authenticate_with_certificate(self, cert_file, domain, dc_ip, username) -- Authenticate to the domain using a certificate and retrieve NT hash.
  • ADCSCertipyWrapper.assess_vulnerability (method) modules/adcs_attacks.py:411 def assess_vulnerability(self, username, password, domain, dc_ip, hashes) -- Run a full AD CS vulnerability assessment.

modules/addon_updater.py

Depends on: core/logging.py Imported by: cli/commands/lazyops.py, cli/commands/marketplace.py, tests/test_addon_updater.py

  • AddonUpdateResult.to_dict (method) modules/addon_updater.py:46 def to_dict(self) -- Return a JSON-serializable view.
  • load_addons (function) modules/addon_updater.py:73 def load_addons(lazyaddons_dir) -- Load every lazyaddon with its update metadata.
  • update_addon (function) modules/addon_updater.py:166 def update_addon(name, lazyaddons_dir, root, dry_run) -- Update one addon through git pull --ff-only.
  • update_all (function) modules/addon_updater.py:260 def update_all(names, lazyaddons_dir, root, dry_run, audit_path) -- Update every opted-in addon or an explicit name list.

modules/agent_runner.py

Depends on: core/logging.py, modules/ai_model.py, modules/llm_factory.py, modules/logging_config.py Imported by: modules/lazy_agent.py, modules/vulnbot.py, tests/test_lazy_streaming.py

modules/ai_exploit_chain.py

Depends on: modules/autonomous_exploit_engine.py Imported by: cli/commands/pwn.py, skills/lazyown_mcp.py

  • AIExploitChainer.__init__ (method) modules/ai_exploit_chain.py:259 def __init__(self)
  • AIExploitChainer.reason (method) modules/ai_exploit_chain.py:285 def reason(self, context) -- Analyze context failures and produce the next best exploit candidate.
  • AIExploitChainer.evaluate_failure (method) modules/ai_exploit_chain.py:306 def evaluate_failure(result) -- Classify the reason for an exploit failure by output pattern matching.
  • AIExploitChainer.select_next_strategy (method) modules/ai_exploit_chain.py:318 def select_next_strategy(self, context) -- Select the next strategy to attempt based on context and failures.
  • AIExploitChainer.estimate_confidence (method) modules/ai_exploit_chain.py:349 def estimate_confidence(self, strategy, profile) -- Estimate confidence (0.0-1.0) for a strategy against a target profile.
  • AIExploitChainer.build_chain_plan (method) modules/ai_exploit_chain.py:391 def build_chain_plan(self, context) -- Build a full multi-step exploitation plan following the kill chain.
  • AIExploitChainer.adapt_chain (method) modules/ai_exploit_chain.py:428 def adapt_chain(self, context, new_info) -- Adapt the chain plan based on newly discovered information.

modules/ai_fallback.py

Depends on: modules/llm_factory.py, modules/toposwarm_bridge.py Imported by: modules/recommender.py, modules/timeline_narrator.py

  • call (function) modules/ai_fallback.py:254 def call(prompt, system, api_key, max_tokens, temperature) -- Call Groq → fallback to Ollama → fallback to TopoSwarm local brain → error.

modules/ai_model.py

Depends on: core/logging.py, modules/llm_factory.py Imported by: contrib/legacy/lazyllmchat.py, modules/agent_runner.py, modules/llm_client.py, modules/llm_factory.py, modules/vulnbot.py, modules/yaml_generator.py

modules/amsi.c

  • LoadNtFunctions (function) modules/amsi.c:38 void LoadNtFunctions() -- Función para cargar las funciones dinámicamente
  • AMS1patch_OpenSession_jne (function) modules/amsi.c:66 void AMS1patch_OpenSession_jne(HANDLE hproc) -- Técnica de Saad, también conocido como @D1rkMtr (https://twitter.com/D1rkMtr/)...
  • AMS1patch_OpenSession_ret (function) modules/amsi.c:116 void AMS1patch_OpenSession_ret(HANDLE hproc)
  • AMS1patch_ScanBuffer_ret (function) modules/amsi.c:166 void AMS1patch_ScanBuffer_ret(HANDLE hproc)
  • AMS1patch_RastaMouse (function) modules/amsi.c:215 void AMS1patch_RastaMouse(HANDLE hproc)
  • AMS1patch_E_ACCESSDENIED (function) modules/amsi.c:274 void AMS1patch_E_ACCESSDENIED(HANDLE hproc)
  • AMS1patch_E_HANDLE (function) modules/amsi.c:326 void AMS1patch_E_HANDLE(HANDLE hproc)
  • AMS1patch_E_OUTOFMEMORY (function) modules/amsi.c:378 void AMS1patch_E_OUTOFMEMORY(HANDLE hproc)
  • main (function) modules/amsi.c:428 int main(int argc, char** argv)

modules/amt_auth_bypass.py

modules/apt_playbooks.py

Depends on: core/console.py, modules/atomic_resolver.py Imported by: cli/commands/command_and_control_migrated.py, cli/orchestrator_assets_tabs.py, cli/recommendation_signals.py, modules/emulation_runner.py, modules/operation.py, tests/test_atomic_loop.py, tests/test_emulation_runner.py

modules/asset_graph.py

Imported by: skills/autonomous_daemon.py, tests/test_autonomous_ops.py

  • asset_key (function) modules/asset_graph.py:28 def asset_key(asset_type, value, parent_key) -- Compute the stable deduplication key for an asset.
  • AssetGraph.__init__ (method) modules/asset_graph.py:73 def __init__(self, config) -- Initialize empty graphs and anchor indexes.
  • AssetGraph.upsert_asset (method) modules/asset_graph.py:82 def upsert_asset(self, asset_type, value, parent_key, company) -- Insert or refresh an asset and return the canonical node.
  • AssetGraph.add_node (method) modules/asset_graph.py:108 def add_node(self, task_id, kind, text, parent_id, payload) -- Append an exploration node to a task chain.
  • AssetGraph.add_fact (method) modules/asset_graph.py:123 def add_fact(self, task_id, text, parent_id, payload) -- Append a fact node to a task chain.
  • AssetGraph.add_finding (method) modules/asset_graph.py:128 def add_finding(self, task_id, text, parent_id, payload) -- Append a finding node to a task chain.
  • AssetGraph.anchor (method) modules/asset_graph.py:133 def anchor(self, exploration_id, key) -- Link an exploration node to an asset key.
  • AssetGraph.assets_for_node (method) modules/asset_graph.py:145 def assets_for_node(self, exploration_id) -- List assets anchored to one exploration node.
  • AssetGraph.nodes_for_asset (method) modules/asset_graph.py:151 def nodes_for_asset(self, key) -- List exploration nodes anchored to one asset.
  • AssetGraph.coverage (method) modules/asset_graph.py:157 def coverage(self, task_id) -- Report tested versus total assets for a task.
  • AssetGraph.mirror_to_campaign (method) modules/asset_graph.py:170 def mirror_to_campaign(self, db, world_model, workspace_id) -- Mirror graph assets into the campaign database and world model.
  • coverage_for (function) modules/asset_graph.py:214 def coverage_for(db, workspace_id, scope) -- Report tested scope assets versus total scope from the campaign db.

modules/atomic_cli.py

Depends on: core/console.py, core/hardening.py, core/logging.py, modules/atomic_resolver.py, utils.py Imported by: cli/commands/command_and_control_migrated.py

  • parse_atomic_line (function) modules/atomic_cli.py:37 def parse_atomic_line(line) -- Parse free-form CLI args into a structured request.
  • run_atomic_tests (function) modules/atomic_cli.py:185 def run_atomic_tests(params, line, shell) -- Execute the atomic_tests workflow (secure + agent-safe).
  • run_atomic_gen (function) modules/atomic_cli.py:325 def run_atomic_gen(params, line, shell) -- Generate test + cleanup scripts for one technique or GUID.

modules/atomic_enricher.py

Depends on: core/logging.py Imported by: skills/lazyown_groq_agents.py, skills/lazyown_mcp.py, skills/lazyown_parquet_db.py, tests/test_core_modules.py

  • enrich (function) modules/atomic_enricher.py:173 def enrich(force) -- Build enriched parquet.
  • load_enriched (function) modules/atomic_enricher.py:215 def load_enriched() -- Load enriched parquet, building it first if it doesn't exist.
  • query_atomic (function) modules/atomic_enricher.py:232 def query_atomic(keyword, mitre_id, platform, scope, has_prereqs, complexity, limit, include_command) -- Structured query over the enriched Atomic Red Team technique catalogue.

modules/atomic_exploit_bridge.py

Depends on: core/logging.py, core/safe_exec.py, modules/c2_surfaces.py, modules/emulation_runner.py, modules/outcome_bus.py, modules/world_model.py Imported by: cli/commands/command_and_control_migrated.py, modules/autonomous_exploit_engine.py, modules/c2_agent.py, modules/emulation_runner.py, modules/metasploitable_gym.py, modules/redteam_gym.py, skills/lazyown_mcp.py, tests/test_atomic_exploit_bridge.py, tests/test_c2_surfaces.py, tests/test_emulation_runner.py, tests/test_gym_cli.py, tests/test_metasploitable_gym.py, tests/test_outcome_bus.py

modules/atomic_resolver.py

Depends on: core/logging.py, core/safe_exec.py Imported by: cli/commands/command_and_control_migrated.py, modules/apt_playbooks.py, modules/atomic_cli.py, modules/emulation_runner.py, modules/ttpscope_bridge.py, skills/lazyown_mcp.py, tests/test_atomic_loop.py, tests/test_atomic_resolver.py

modules/attack_surface3d.py

Depends on: cli/surface_graph.py, modules/estorides_fusion.py, modules/finding_lifecycle.py, modules/intel_fusion.py Imported by: cli/commands/surface.py, lazyc2.py, modules/sinks/attack_graph.py, tests/test_attack_surface3d.py

  • build_attack_graph (function) modules/attack_surface3d.py:147 def build_attack_graph(sessions_dir, payload_path, est_cap) -- Fuse surface scans with campaign intel into one C2-centred graph.
  • add_edge (function) modules/attack_surface3d.py:155 def add_edge(src, dst, kind, evidence, weight) -- Append one provenance-tagged relation between known nodes.
  • tag (function) modules/attack_surface3d.py:166 def tag(nid, source) -- Record a corroborating artefact on a node, deduped.
  • refresh_summary (function) modules/attack_surface3d.py:460 def refresh_summary(graph, sessions_dir) -- Score exposure into intel_summary.json for the autonomous loop.

modules/auto_loop_memory.py

Imported by: skills/lazyown_mcp.py, tests/test_auto_loop_memory.py

modules/auto_pivot.py

Imported by: modules/autonomous_exploit_engine.py, skills/lazyown_mcp.py

modules/auto_purple.py

Depends on: core/config.py, core/logging.py, core/process.py, modules/detection_oracle.py Imported by: cli/commands/purple_team.py

modules/auto_registry.py

Depends on: modules/command_executor.py, modules/lazy_cli_bridge.py, modules/lazy_installer.py, modules/lazy_orchestrator_feedback.py, modules/orchestrator_config.py Imported by: cli/commands/command_and_control_migrated.py, cli/commands/lazyops.py, modules/command_executor.py, modules/custom_tools.py, modules/lazy_agent.py, modules/lazy_installer.py, modules/lazy_loop.py, modules/lazy_runner.py, modules/loop_triggers.py, modules/orchestrator_config.py, modules/verb_catalog.py, skills/lazyown_mcp.py, tests/test_atomic_loop.py, tests/test_auto_registry.py, tests/test_lazy_loop.py, tests/test_lazy_runner.py, tests/test_loop_auto_orchestrator.py

  • auto_verb_target (function) modules/auto_registry.py:66 def auto_verb_target(command) -- Return the target an auto <verb> <target> line carries, else ''.
  • verb_enabled (function) modules/auto_registry.py:296 def verb_enabled(name) -- Return whether one auto verb may be proposed or executed.
  • binary_available (function) modules/auto_registry.py:406 def binary_available(name) -- Return True when a command token can actually execute here.
  • missing_binary (function) modules/auto_registry.py:422 def missing_binary(command) -- Return the first binary a shell command needs but PATH lacks.
  • verb_gap (function) modules/auto_registry.py:434 def verb_gap(verb) -- Return a human reason when an automation verb cannot run, else ''.
  • verb_available (function) modules/auto_registry.py:446 def verb_available(verb) -- Return True when every binary an automation verb needs is installed.
  • service_tokens (function) modules/auto_registry.py:451 def service_tokens(service_text) -- Normalize a service asset value into matchable tokens.
  • iter_addon_triggers (function) modules/auto_registry.py:493 def iter_addon_triggers() -- Scan enabled lazyaddons for (name, trigger tokens) pairs.
  • iter_tool_triggers (function) modules/auto_registry.py:529 def iter_tool_triggers() -- Scan active pwntomate tools for (toolname, trigger tokens) pairs.
  • addon_hits_for (function) modules/auto_registry.py:552 def addon_hits_for(service_text, limit) -- Rank addon/tool names matching one service value.
  • propose_addon_intents (function) modules/auto_registry.py:578 def propose_addon_intents(service_texts, target, limit) -- Propose addon intents for discovered services.
  • is_routable_command (function) modules/auto_registry.py:604 def is_routable_command(line) -- Return True when the loop executor must route via the shell.
  • verbs (function) modules/auto_registry.py:622 def verbs() -- Return every canonical automation verb name.
  • is_shell_verb (function) modules/auto_registry.py:627 def is_shell_verb(token) -- Return True when token names a loop-routable shell verb.
  • build_command (function) modules/auto_registry.py:651 def build_command(verb, target) -- Build the shell command line for verb bound to target.
  • verbs_for (function) modules/auto_registry.py:662 def verbs_for(text) -- Return enabled verbs whose keywords appear in the text.
  • propose_intents (function) modules/auto_registry.py:668 def propose_intents(goal, target, finding_texts) -- Propose auto <verb> intent summaries for planner candidates.
  • steps_for (function) modules/auto_registry.py:754 def steps_for(text, target) -- Translate an intent summary into shell command lines, or None.
  • _TeeCapture.__init__ (method) modules/auto_registry.py:881 def __init__(self, observer)
  • _TeeCapture.write (method) modules/auto_registry.py:886 def write(self, data) -- Capture text and stream the chunk to the observer once.
  • execute_shell_verb (function) modules/auto_registry.py:899 def execute_shell_verb(shell, command, timeout_sec, on_output) -- Run a LazyOwn shell verb capturing stdout, with a hard timeout.
  • track_process (function) modules/auto_registry.py:1009 def track_process(process) -- Register a live child process for global cancellation.
  • untrack_process (function) modules/auto_registry.py:1014 def untrack_process(process) -- Drop a finished child process from the cancellation registry.
  • cancel_running_commands (function) modules/auto_registry.py:1019 def cancel_running_commands() -- Kill every live streaming process group (operator Ctrl+C).
  • execute_streaming (function) modules/auto_registry.py:1042 def execute_streaming(command, on_output, timeout_sec) -- Run a bash command streaming lines while capturing the output.

modules/autonomous_exploit_engine.py

Depends on: core/defaults.py, core/safe_exec.py, modules/atomic_exploit_bridge.py, modules/auto_pivot.py, modules/db.py, modules/outcome_bus.py Imported by: cli/commands/pwn.py, cli/commands/session_ops.py, modules/ai_exploit_chain.py, modules/lazy_loop.py, skills/lazyown_mcp.py, tests/test_atomic_exploit_bridge.py, tests/test_emulation_runner.py, tests/test_phase1_data_gaps.py

Next: API_p10.md

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally