Skip to content

Agent KB_modules

grisun0 edited this page Oct 12, 2026 · 38 revisions

Subsystem: modules (page 1 of 14)

Pages: KB_modules.md, KB_modules_p2.md, KB_modules_p3.md, KB_modules_p4.md, KB_modules_p5.md, KB_modules_p6.md, KB_modules_p7.md, KB_modules_p8.md, KB_modules_p9.md, KB_modules_p10.md, KB_modules_p11.md, KB_modules_p12.md, KB_modules_p13.md, KB_modules_p14.md

modules/49803.py

  • Doc: Exploit Title: OpenPLC 3 - Remote Code Execution (Authenticated) Date: 25/04/2021 Exploit...
  • Layer: utility
  • Language: py
  • Symbols:
    • auth (function, line 43) def auth()
    • injection (function, line 69) def injection()
    • connection (function, line 106) def connection()

modules/CVE-2018-15133.php

  • Layer: utility
  • Language: php

modules/CVE-2023-28432.py

  • Layer: utility
  • Language: py
  • Symbols:
    • poc (function, line 12) def poc(url)

modules/LazyOwnExplorer.py

  • Doc: Autor: Gris Iscomeback Correo electrónico: grisiscomeback[at]gmail[dot]com Fecha de creación...
  • Layer: utility
  • Language: py
  • Symbols:
    • AutocompleteEntry (class, line 30) class AutocompleteEntry(Entry)
    • LazyOwnGUI (class, line 104) class LazyOwnGUI(Tk)
    • __init__ (method, line 31) def __init__(self, get_suggestions_func)
    • changed (method, line 45) def changed(self, name, index, mode)
    • selection (method, line 68) def selection(self, event)
    • move_up (method, line 75) def move_up(self, event)
    • move_down (method, line 87) def move_down(self, event)
    • comparison (method, line 99) def comparison(self, pattern)
    • __init__ (method, line 105) def __init__(self)
    • create_widgets (method, line 119) def create_widgets(self)
    • load_parquet_files (method, line 181) def load_parquet_files(self)
    • get_unique_values (method, line 241) def get_unique_values(self)
    • search (method, line 248) def search(self)
    • search_in_parquet (method, line 267) def search_in_parquet(self, term)
    • on_row_double_click (method, line 278) def on_row_double_click(self, event)
    • show_row_details (method, line 283) def show_row_details(self, row)
    • add_new_attack_vector (method, line 305) def add_new_attack_vector(self)
    • scan_system_for_binaries (method, line 357) def scan_system_for_binaries(self)
    • show_scan_results (method, line 374) def show_scan_results(self, binaries)
    • export_to_csv (method, line 385) def export_to_csv(self)
    • get_suggestions (function, line 124) def get_suggestions(term)
    • save_new_vector (function, line 325) def save_new_vector()
    • is_binary (function, line 358) def is_binary(file_path)

modules/init.py

modules/adcs_attacks.py

  • Doc: Active Directory Certificate Services (AD CS) attack module.
  • Layer: utility
  • Language: py
  • Symbols:
    • CertificateTemplate (class, line 14) class CertificateTemplate
    • ADCSCertipyWrapper (class, line 69) class ADCSCertipyWrapper
    • esc_vulnerabilities (method, line 35) def esc_vulnerabilities(self)
    • __init__ (method, line 80) def __init__(self, certipy_path, timeout)
    • _find_certipy (method, line 85) def _find_certipy()
    • _run (method, line 93) def _run(self, args, capture)
    • find_certificate_authorities (method, line 113) def find_certificate_authorities(self, username, password, domain, dc_ip, hashes)
    • _parse_ca_output (method, line 157) def _parse_ca_output(output)
    • enumerate_templates (method, line 189) def enumerate_templates(self, username, password, domain, dc_ip, hashes)
    • _parse_template_output (method, line 232) def _parse_template_output(self, output)
    • request_certificate_esc1 (method, line 268) def request_certificate_esc1(self, username, password, domain, dc_ip, ca_name, template_name, target_user, output_file)
    • request_certificate_esc8 (method, line 322) def request_certificate_esc8(self, username, password, domain, dc_ip, ca_server, template_name, output_file)
    • authenticate_with_certificate (method, line 367) def authenticate_with_certificate(self, cert_file, domain, dc_ip, username)
    • assess_vulnerability (method, line 411) def assess_vulnerability(self, username, password, domain, dc_ip, hashes)
  • Imported by: cli/commands/exploit_migrated.py

modules/agent_runner.py

  • Doc: LazyOwn AI Agent - Ultimate Edition Mejoras: Anti-Hang (Timeout), Gestión de Memoria, Validación...
  • Layer: utility
  • Language: py
  • Symbols:
    • configure_logging (function, line 60) def configure_logging(debug)
    • AgentTool (class, line 66) class AgentTool
    • CommandMetadata (class, line 127) class CommandMetadata
    • ASTToolExtractor (class, line 134) class ASTToolExtractor
    • AgentRunner (class, line 173) class AgentRunner
    • LazyOwnShellWrapper (class, line 462) class LazyOwnShellWrapper
    • VulnBotCLI (class, line 539) class VulnBotCLI
    • interactive_mode (function, line 600) def interactive_mode(bot)
    • parse_args (function, line 624) def parse_args()
    • main (function, line 634) def main()
    • __init__ (method, line 69) def __init__(self, name, description, func, parameters, required)
    • to_api_format (method, line 77) def to_api_format(self)
    • execute (method, line 83) def execute(self)
    • extract_commands_from_file (method, line 138) def extract_commands_from_file(file_path, prefix)
    • __init__ (method, line 176) def __init__(self, model, system_prompt, max_iterations)
    • _reset_history (method, line 190) def _reset_history(self)
    • _manage_memory (method, line 193) def _manage_memory(self)
    • register_tool (method, line 201) def register_tool(self, tool)
    • register_tool_from_instance (method, line 204) def register_tool_from_instance(self, func)
    • register_tools_from_metadata (method, line 222) def register_tools_from_metadata(self, commands, executor)
    • get_tools_for_api (method, line 249) def get_tools_for_api(self)
    • run (method, line 254) def run(self, user_input)
    • _call_model (method, line 278) def _call_model(self)
    • _stream_call (method, line 324) def _stream_call(self, model_name, messages, max_tokens)
    • _emit_delta (method, line 398) def _emit_delta(self, kind, text)
    • _process_tool_call (method, line 417) def _process_tool_call(self, tool_call)
    • __init__ (method, line 465) def __init__(self, script_path)
    • _load_shell (method, line 472) def _load_shell(self)
    • execute_command (method, line 495) def execute_command(self, command)
    • get_commands_summary (method, line 532) def get_commands_summary(self)
    • __init__ (method, line 540) def __init__(self, provider, mode, debug, script_path)
    • _load_model (method, line 552) def _load_model(self)
    • _setup_agent (method, line 567) def _setup_agent(self)
    • process_request (method, line 595) def process_request(self, user_input)
    • target (function, line 502) def target()
    • make_executor (function, line 226) def make_executor(cmd_name)
    • wrapper (function, line 227) def wrapper(command)
  • 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

  • Doc: AI-Driven Exploit Chaining Engine.
  • Layer: utility
  • Language: py
  • Symbols:
    • ExploitChainContext (class, line 223) class ExploitChainContext
    • AIExploitChainer (class, line 247) class AIExploitChainer
    • __init__ (method, line 259) def __init__(self)
    • reason (method, line 285) def reason(self, context)
    • evaluate_failure (method, line 306) def evaluate_failure(result)
    • select_next_strategy (method, line 318) def select_next_strategy(self, context)
    • estimate_confidence (method, line 349) def estimate_confidence(self, strategy, profile)
    • build_chain_plan (method, line 391) def build_chain_plan(self, context)
    • adapt_chain (method, line 428) def adapt_chain(self, context, new_info)
    • _ensure (method, line 487) def _ensure(context, strategy)
    • _parse_shell_hints (method, line 492) def _parse_shell_hints(self, output, context)
  • Depends on: modules/autonomous_exploit_engine.py
  • Imported by: cli/commands/pwn.py, skills/lazyown_mcp.py

modules/ai_fallback.py

  • Doc: LazyOwn AI Fallback Chain
  • Layer: utility
  • Language: py
  • Symbols:
    • AIResult (class, line 95) class AIResult
    • _ollama_available (function, line 105) def _ollama_available()
    • _best_ollama_model (function, line 113) def _best_ollama_model()
    • _ollama_call (function, line 140) def _ollama_call(model, system, user, max_tokens, temperature)
    • _is_quota_error (function, line 184) def _is_quota_error(exc)
    • _groq_call (function, line 189) def _groq_call(api_key, system, user, max_tokens, temperature)
    • _toposwarm_call (function, line 226) def _toposwarm_call(prompt, system)
    • call (function, line 254) def call(prompt, system, api_key, max_tokens, temperature)
  • Depends on: modules/llm_factory.py, modules/toposwarm_bridge.py
  • Imported by: modules/recommender.py, modules/timeline_narrator.py

modules/ai_model.py

  • Doc: Concrete language model backends for LazyOwn.
  • Layer: business_logic
  • Language: py
  • Symbols:
    • AIModel (class, line 41) class AIModel(ABC)
    • _LazyImporter (class, line 93) class _LazyImporter
    • GroqModel (class, line 125) class GroqModel(AIModel)
    • OllamaModel (class, line 240) class OllamaModel(AIModel)
    • OpenAIModel (class, line 307) class OpenAIModel(AIModel)
    • AnthropicModel (class, line 366) class AnthropicModel(AIModel)
    • DeepSeekModel (class, line 422) class DeepSeekModel(AIModel)
    • generate (method, line 52) def generate(self, prompt)
    • stream_generate (method, line 56) def stream_generate(self, prompt)
    • complete (method, line 59) def complete(self, system, user, max_tokens, temperature)
    • groq (method, line 101) def groq(cls)
    • openai (method, line 109) def openai(cls)
    • anthropic (method, line 117) def anthropic(cls)
    • __init__ (method, line 133) def __init__(self, api_key, model)
    • _model_chain (method, line 137) def _model_chain(self)
    • generate (method, line 151) def generate(self, prompt)
    • stream_generate (method, line 179) def stream_generate(self, prompt)
    • complete (method, line 212) def complete(self, system, user, max_tokens, temperature)
    • __init__ (method, line 248) def __init__(self, model, host)
    • generate (method, line 256) def generate(self, prompt)
    • stream_generate (method, line 276) def stream_generate(self, prompt)
    • __init__ (method, line 313) def __init__(self, api_key, model)
    • generate (method, line 317) def generate(self, prompt)
    • stream_generate (method, line 328) def stream_generate(self, prompt)
    • complete (method, line 343) def complete(self, system, user, max_tokens, temperature)
    • __init__ (method, line 372) def __init__(self, api_key, model)
    • generate (method, line 376) def generate(self, prompt)
    • stream_generate (method, line 388) def stream_generate(self, prompt)
    • complete (method, line 402) def complete(self, system, user, max_tokens, temperature)
    • __init__ (method, line 429) def __init__(self, api_key, model)
    • generate (method, line 436) def generate(self, prompt)
    • stream_generate (method, line 447) def stream_generate(self, prompt)
    • complete (method, line 462) def complete(self, system, user, max_tokens, temperature)
  • Depends on: core/logging.py, modules/llm_factory.py
  • Imported by: contrib/legacy/lazyllmchat.py, modules/agent_runner.py, modules/llm_factory.py, modules/vulnbot.py, modules/yaml_generator.py

modules/amsi.c

  • Doc: ¡Gracias a Saad!
  • Layer: utility
  • Language: c
  • Symbols:
    • LoadNtFunctions (function, line 38) void LoadNtFunctions()
    • AMS1patch_OpenSession_jne (function, line 66) void AMS1patch_OpenSession_jne(HANDLE hproc)
    • AMS1patch_OpenSession_ret (function, line 116) void AMS1patch_OpenSession_ret(HANDLE hproc)
    • AMS1patch_ScanBuffer_ret (function, line 166) void AMS1patch_ScanBuffer_ret(HANDLE hproc)
    • AMS1patch_RastaMouse (function, line 215) void AMS1patch_RastaMouse(HANDLE hproc)
    • AMS1patch_E_ACCESSDENIED (function, line 274) void AMS1patch_E_ACCESSDENIED(HANDLE hproc)
    • AMS1patch_E_HANDLE (function, line 326) void AMS1patch_E_HANDLE(HANDLE hproc)
    • AMS1patch_E_OUTOFMEMORY (function, line 378) void AMS1patch_E_OUTOFMEMORY(HANDLE hproc)
    • main (function, line 428) int main(int argc, char** argv)
    • NT_SUCCESS (macro, line 11) #define NT_SUCCESS(Status)

modules/amt_auth_bypass.py

  • Layer: utility
  • Language: py
  • Symbols:
    • start (function, line 4) def start()
    • BlankAuthResponse (class, line 8) class BlankAuthResponse
    • request (method, line 11) def request(self, flow)

modules/apt_playbooks.py

  • Doc: APT Playbook Engine — map public APT reports to executable Atomic Red Team chains.
  • Layer: utility
  • Language: py
  • Symbols:
    • AtomicTestRef (class, line 41) class AtomicTestRef
    • CalderaAbilityRef (class, line 48) class CalderaAbilityRef
    • PhaseStep (class, line 54) class PhaseStep
    • AptPlaybook (class, line 65) class AptPlaybook
    • AptPlaybookEngine (class, line 111) class AptPlaybookEngine
    • from_dict (method, line 74) def from_dict(cls, data)
    • to_summary (method, line 99) def to_summary(self)
    • __init__ (method, line 114) def __init__(self, playbook_dir)
    • _load_all (method, line 119) def _load_all(self)
    • list_playbooks (method, line 131) def list_playbooks(self)
    • get (method, line 134) def get(self, name)
    • validate (method, line 138) def validate(self, pb, atomic_path)
    • _build_atomic_index (method, line 175) def _build_atomic_index(self, atomic_yaml_path)
    • generate_attack_plan (method, line 189) def generate_attack_plan(self, pb, output_path)
    • report_json (method, line 204) def report_json(self, pb, output_path)
  • Depends on: core/console.py
  • Imported by: cli/commands/command_and_control_migrated.py, cli/recommendation_signals.py, modules/operation.py

modules/asset_graph.py

  • Doc: Global asset truth store joined to per-task exploration chains.
  • Layer: utility
  • Language: py
  • Symbols:
    • GraphConfig (class, line 17) class GraphConfig
    • asset_key (function, line 28) def asset_key(asset_type, value, parent_key)
    • AssetNode (class, line 36) class AssetNode
    • ExplorationNode (class, line 50) class ExplorationNode
    • Anchor (class, line 63) class Anchor
    • AssetGraph (class, line 70) class AssetGraph
    • coverage_for (function, line 214) def coverage_for(db, workspace_id, scope)
    • __init__ (method, line 73) def __init__(self, config)
    • upsert_asset (method, line 82) def upsert_asset(self, asset_type, value, parent_key, company)
    • add_node (method, line 108) def add_node(self, task_id, kind, text, parent_id, payload)
    • add_fact (method, line 123) def add_fact(self, task_id, text, parent_id, payload)
    • add_finding (method, line 128) def add_finding(self, task_id, text, parent_id, payload)
    • anchor (method, line 133) def anchor(self, exploration_id, key)
    • assets_for_node (method, line 145) def assets_for_node(self, exploration_id)
    • nodes_for_asset (method, line 151) def nodes_for_asset(self, key)
    • coverage (method, line 157) def coverage(self, task_id)
    • mirror_to_campaign (method, line 170) def mirror_to_campaign(self, db, world_model, workspace_id)
  • Imported by: skills/autonomous_daemon.py, tests/test_autonomous_ops.py

modules/atomic_enricher.py

  • Doc: — Enrich techniques.parquet with structured derived columns.
  • Layer: utility
  • Language: py
  • Symbols:
    • _parse_platforms (function, line 122) def _parse_platforms(raw)
    • _parse_scope (function, line 135) def _parse_scope(name)
    • _parse_complexity (function, line 142) def _parse_complexity(command)
    • _parse_keyword_tags (function, line 152) def _parse_keyword_tags(name, description)
    • _tactic_prefix (function, line 164) def _tactic_prefix(mitre_id)
    • enrich (function, line 173) def enrich(force)
    • _to_pylist (function, line 204) def _to_pylist(val)
    • load_enriched (function, line 215) def load_enriched()
    • query_atomic (function, line 232) def query_atomic(keyword, mitre_id, platform, scope, has_prereqs, complexity, limit, include_command)
  • 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

modules/attack_surface3d.py

  • Doc: Attack-surface 3D intel module: C2-centred campaign graph.
  • Layer: utility
  • Language: py
  • Symbols:
    • _family_color (function, line 100) def _family_color(name)
    • _pagerank (function, line 111) def _pagerank(ids, pairs, alpha, max_iter, tol)
    • _host_of (function, line 141) def _host_of(node)
    • build_attack_graph (function, line 147) def build_attack_graph(sessions_dir, payload_path, est_cap)
    • _intel_id_map (function, line 315) def _intel_id_map(intel, key_to_id)
    • _doc (function, line 327) def _doc(node)
    • _symbols (function, line 346) def _symbols(node)
    • _enrich (function, line 365) def _enrich(nodes, edges)
    • refresh_summary (function, line 460) def refresh_summary(graph, sessions_dir)
    • add_edge (function, line 155) def add_edge(src, dst, kind, evidence, weight)
    • tag (function, line 166) def tag(nid, source)
  • 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, tests/test_attack_surface3d.py

modules/auto_pivot.py

  • Doc: Auto-Pivoting Engine for LazyOwn.
  • Layer: utility
  • Language: py
  • Symbols:
    • PivotNode (class, line 23) class PivotNode
    • PivotChain (class, line 39) class PivotChain
    • AutoPivotEngine (class, line 47) class AutoPivotEngine
    • __init__ (method, line 73) def __init__(self, config)
    • set_config (method, line 82) def set_config(self, config)
    • _next_port (method, line 85) def _next_port(self)
    • add_pivot_node (method, line 90) def add_pivot_node(self, ip, access_type, credential_id, hostname)
    • remove_pivot_node (method, line 120) def remove_pivot_node(self, ip)
    • discover_subnets (method, line 128) def discover_subnets(self, node_ip, command_output)
    • build_chain (method, line 146) def build_chain(self, target_ip, via_nodes, subnet)
    • generate_proxychains_config (method, line 177) def generate_proxychains_config(self, chain_id)
    • generate_sshuttle_command (method, line 203) def generate_sshuttle_command(self, node_ip, subnet)
    • generate_chisel_command (method, line 206) def generate_chisel_command(self, target_ip, local_port)
    • generate_ssh_socks_command (method, line 212) def generate_ssh_socks_command(self, node_ip, local_port)
    • health_check (method, line 216) def health_check(self, node_ip)
    • health_check_all (method, line 237) def health_check_all(self)
    • get_active_routes (method, line 243) def get_active_routes(self)
    • get_reachable_hosts (method, line 259) def get_reachable_hosts(self, node_ip)
    • set_reachable_hosts (method, line 267) def set_reachable_hosts(self, node_ip, hosts)
    • set_route_priority (method, line 272) def set_route_priority(self, node_ip, priority)
    • _persist_state (method, line 277) def _persist_state(self)
    • _load_state (method, line 314) def _load_state(self)
    • suggest_next_pivot (method, line 352) def suggest_next_pivot(self)
  • Imported by: modules/autonomous_exploit_engine.py, skills/lazyown_mcp.py

modules/auto_purple.py

  • Doc: Purple Team Closed-Loop — honest measurement of offensive detection.
  • Layer: utility
  • Language: py
  • Symbols:
    • DetectionMethod (class, line 72) class DetectionMethod
    • PurpleResult (class, line 132) class PurpleResult
    • PurpleScore (class, line 165) class PurpleScore
    • IPurpleLoop (class, line 181) class IPurpleLoop(ABC)
    • IPurpleEvaluator (class, line 210) class IPurpleEvaluator(ABC)
    • _run_bt_command (function, line 225) def _run_bt_command(bt_path, command, timeout)
    • _parse_ai_test (function, line 329) def _parse_ai_test(output, command, args)
    • _parse_keyword_match (function, line 342) def _parse_keyword_match(output, command, args)
    • _parse_alert_check (function, line 374) def _parse_alert_check(output, command, args)
    • _parse_fim_check (function, line 388) def _parse_fim_check(output, command, args)
    • PurpleTeamLoop (class, line 407) class PurpleTeamLoop(IPurpleLoop, IPurpleEvaluator)
    • get_loop (function, line 772) def get_loop(bt_path, detection_delay, methods, auto_feedback)
    • load_config_from_payload (function, line 790) def load_config_from_payload(params)
    • to_csv_row (method, line 146) def to_csv_row(self)
    • to_dict (method, line 160) def to_dict(self)
    • execute_and_measure (method, line 185) def execute_and_measure(self, command, args, category)
    • measure_only (method, line 193) def measure_only(self, command, args, category)
    • engagement_score (method, line 201) def engagement_score(self)
    • export_dataset (method, line 204) def export_dataset(self)
    • export_report (method, line 207) def export_report(self)
    • last_results (method, line 214) def last_results(self, n)
    • category_accuracy (method, line 217) def category_accuracy(self, category)
    • __init__ (method, line 414) def __init__(self, bt_path, detection_delay, methods, auto_feedback, session_id)
    • _init_dataset (method, line 433) def _init_dataset(self)
    • execute_and_measure (method, line 443) def execute_and_measure(self, command, args, category)
    • measure_only (method, line 493) def measure_only(self, command, args, category)
    • engagement_score (method, line 529) def engagement_score(self)
    • export_dataset (method, line 567) def export_dataset(self)
    • export_report (method, line 571) def export_report(self)
    • last_results (method, line 596) def last_results(self, n)
    • category_accuracy (method, line 599) def category_accuracy(self, category)
    • _execute_red (method, line 614) def _execute_red(self, command, args)
    • _query_blue (method, line 635) def _query_blue(self, command, args)
    • _hash_output (method, line 687) def _hash_output(self, output)
    • _write_audit (method, line 693) def _write_audit(self, result)
    • _append_dataset (method, line 698) def _append_dataset(self, result)
    • _write_feedback (method, line 704) def _write_feedback(self, result)
    • _load_audit (method, line 724) def _load_audit(self)
    • _compute_oracle_accuracy (method, line 739) def _compute_oracle_accuracy(self)
    • _get_detection_methods (method, line 759) def _get_detection_methods(self)
  • 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

  • Doc: Registry of loop-ready automation verbs (the auto_* family).
  • Layer: utility
  • Language: py
  • Symbols:
    • auto_verb_target (function, line 35) def auto_verb_target(command)
    • AutoVerb (class, line 59) class AutoVerb
    • _verb_rows (function, line 129) def _verb_rows()
    • _verb_row (function, line 173) def _verb_row(name)
    • verb_enabled (function, line 182) def verb_enabled(name)
    • _repo_base (function, line 267) def _repo_base()
    • binary_available (function, line 274) def binary_available(name)
    • missing_binary (function, line 290) def missing_binary(command)
    • verb_gap (function, line 302) def verb_gap(verb)
    • verb_available (function, line 314) def verb_available(verb)
    • service_tokens (function, line 319) def service_tokens(service_text)
    • _parse_trigger_lines (function, line 330) def _parse_trigger_lines(lines, start)
    • iter_addon_triggers (function, line 361) def iter_addon_triggers()
    • iter_tool_triggers (function, line 397) def iter_tool_triggers()
    • addon_hits_for (function, line 420) def addon_hits_for(service_text, limit)
    • propose_addon_intents (function, line 446) def propose_addon_intents(service_texts, target, limit)
    • is_routable_command (function, line 472) def is_routable_command(line)
    • verbs (function, line 483) def verbs()
    • is_shell_verb (function, line 488) def is_shell_verb(token)
    • build_command (function, line 494) def build_command(verb, target)
    • verbs_for (function, line 505) def verbs_for(text)
    • propose_intents (function, line 511) def propose_intents(goal, target, finding_texts)
    • steps_for (function, line 528) def steps_for(text, target)
    • ShellResult (class, line 570) class ShellResult
    • _TeeCapture (class, line 577) class _TeeCapture(StringIO)
    • execute_shell_verb (function, line 605) def execute_shell_verb(shell, command, timeout_sec, on_output)
    • _register_process (function, line 698) def _register_process(process)
    • _unregister_process (function, line 704) def _unregister_process(process)
    • track_process (function, line 710) def track_process(process)
    • untrack_process (function, line 715) def untrack_process(process)
    • cancel_running_commands (function, line 720) def cancel_running_commands()
    • execute_streaming (function, line 743) def execute_streaming(command, on_output, timeout_sec)
    • __init__ (method, line 587) def __init__(self, observer)
    • write (method, line 592) def write(self, data)
    • _invoke (function, line 628) def _invoke()
    • _target (function, line 639) def _target()
    • _kill (function, line 775) def _kill()
  • Depends on: modules/command_executor.py, modules/orchestrator_config.py
  • Imported by: cli/commands/lazyops.py, modules/command_executor.py, modules/custom_tools.py, modules/lazy_agent.py, modules/lazy_loop.py, modules/lazy_runner.py, modules/orchestrator_config.py, skills/lazyown_mcp.py, tests/test_auto_registry.py, tests/test_lazy_loop.py, tests/test_lazy_runner.py, tests/test_loop_auto_orchestrator.py

modules/autonomous_exploit_engine.py

  • Doc: Autonomous Exploitation Engine — AI-powered self-adapting exploit chainer.
  • Layer: utility
  • Language: py
  • Symbols:
    • TargetProfile (class, line 59) class TargetProfile
    • ExploitCandidate (class, line 74) class ExploitCandidate
    • ExploitResult (class, line 89) class ExploitResult
    • AutonomousExploitEngine (class, line 101) class AutonomousExploitEngine
    • __init__ (method, line 114) def __init__(self)
    • get_instance (method, line 134) def get_instance(cls)
    • hunt (method, line 145) def hunt(self, target, max_exploits, profile)
    • retry_with_credentials (method, line 184) def retry_with_credentials(self, target, credentials)
    • _credential_aware_rank (method, line 241) def _credential_aware_rank(self, profile, credentials)
    • _filter_placeholder_creds (method, line 284) def _filter_placeholder_creds(credentials)
    • profile (method, line 328) def profile(self, target)
    • rank_exploits (method, line 389) def rank_exploits(self, profile)
    • execute_candidate (method, line 412) def execute_candidate(self, candidate, profile)
    • _match_exploit_db (method, line 454) def _match_exploit_db(self, service, product, version)
    • _heuristic_match (method, line 492) def _heuristic_match(self, service, product, version)
    • _match_by_port (method, line 962) def _match_by_port(self, port, os_type)
    • _scorer (method, line 1019) def _scorer(self, exploit, service, product, version)
    • _run_exploit (method, line 1059) def _run_exploit(self, candidate, profile)
    • _resolve_port (method, line 1088) def _resolve_port(self, candidate, profile)
    • _build_command_chain (method, line 1105) def _build_command_chain(self, candidate, profile)
    • _check_success (method, line 1237) def _check_success(self, output, candidate)
    • _detect_shell (method, line 1330) def _detect_shell(self, output)
    • _determine_access_level (method, line 1358) def _determine_access_level(self, ip, credentials)
    • _register_session (method, line 1388) def _register_session(self, ip, output)
    • _load_payload_config (method, line 1416) def _load_payload_config(self)
    • _load_world_model (method, line 1427) def _load_world_model(self, target)
    • _detect_os_from_payload (method, line 1524) def _detect_os_from_payload(self)
    • _load_from_nmap_xml (method, line 1542) def _load_from_nmap_xml(self, target)
    • _get_os_type (method, line 1621) def _get_os_type(self, profile)
    • _apply_stealth_delay (method, line 1637) def _apply_stealth_delay(self)
    • scan_vulnerabilities (method, line 1648) def scan_vulnerabilities(self, profile)
    • _parse_nse_output (method, line 1674) def _parse_nse_output(self, target_ip)
    • _extract_cves_from_text (method, line 1709) def _extract_cves_from_text(self, text)
    • _match_service_banners (method, line 1757) def _match_service_banners(self, profile)
    • _check_known_cves (method, line 1937) def _check_known_cves(self, profile)
    • chain_privesc (method, line 1963) def chain_privesc(self, profile, session_id)
    • _run_linux_privesc_checks (method, line 1991) def _run_linux_privesc_checks(self, profile, session_id)
    • _run_windows_privesc_checks (method, line 2060) def _run_windows_privesc_checks(self, profile, session_id)
    • _match_privesc_techniques (method, line 2103) def _match_privesc_techniques(self, findings, os_type)
    • _execute_privesc (method, line 2293) def _execute_privesc(self, technique, profile, session_id)
    • trigger_pivot (method, line 2393) def trigger_pivot(self, profile, session_id)
    • _discover_internal_interfaces (method, line 2458) def _discover_internal_interfaces(self, profile)
    • enable_stealth (method, line 2519) def enable_stealth(self, stealth_level)
    • _get_stealth_scan_flags (method, line 2564) def _get_stealth_scan_flags(self)
    • full_auto_pwn (method, line 2583) def full_auto_pwn(cls, target, enable_pivot, enable_privesc, stealth)
    • _is_placeholder (function, line 299) def _is_placeholder(value)
  • Depends on: core/defaults.py, core/safe_exec.py, modules/auto_pivot.py, modules/db.py
  • Imported by: cli/commands/pwn.py, cli/commands/session_ops.py, modules/ai_exploit_chain.py, skills/lazyown_mcp.py, tests/test_phase1_data_gaps.py

Next: KB_modules_p2.md

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally