Skip to content

Agent API_p11

grisun0 edited this page Oct 19, 2026 · 24 revisions

API (page 11 of 23)

Previous: API_p10.md

modules/db.py

Depends on: core/config.py, core/crypto.py, core/logging.py Imported by: cli/commands/campaign.py, cli/commands/collaboration.py, cli/commands/database.py, lazyc2/blueprints/api_v1.py, modules/autonomous_exploit_engine.py, modules/estorides_importer.py, modules/hash_cracker.py, modules/integrations/nuclei_parser.py, modules/opsec_scorer.py, modules/sinks/campaign_db.py, modules/state_manager.py, scripts/devtools/core_smoke.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, tests/test_api_v1.py, tests/test_autonomous_ops.py, tests/test_daemon_loop.py, tests/test_db.py, tests/test_mutation_verification.py, tests/test_security_hardening.py

  • LazyOwnDB.__init__ (method) modules/db.py:159 def __init__(self, db_path)
  • LazyOwnDB.db_path (method) modules/db.py:182 def db_path(self) -- Path to the SQLite database file.
  • LazyOwnDB.migration_status (method) modules/db.py:222 def migration_status(self) -- Return the current and latest migration versions.
  • LazyOwnDB.workspace_create (method) modules/db.py:292 def workspace_create(self, name, description) -- Create a new workspace.
  • LazyOwnDB.workspace_list (method) modules/db.py:307 def workspace_list(self) -- Return all workspaces as dicts.
  • LazyOwnDB.workspace_get (method) modules/db.py:313 def workspace_get(self, name) -- Get a workspace by name, or None.
  • LazyOwnDB.default_workspace (method) modules/db.py:320 def default_workspace(self, name) -- Return the id of the named workspace, creating it when absent.
  • LazyOwnDB.workspace_delete (method) modules/db.py:333 def workspace_delete(self, name) -- Delete a workspace and all its data.
  • LazyOwnDB.host_add (method) modules/db.py:357 def host_add(self, workspace_id, address, mac, hostname, os, state) -- Add or update a host.
  • LazyOwnDB.host_delete (method) modules/db.py:390 def host_delete(self, host_id) -- Delete a host and its related data.
  • LazyOwnDB.host_list (method) modules/db.py:401 def host_list(self, workspace_id) -- List all hosts in a workspace.
  • LazyOwnDB.host_find (method) modules/db.py:410 def host_find(self, workspace_id, query) -- Search hosts by address, hostname, or os.
  • LazyOwnDB.service_add (method) modules/db.py:427 def service_add(self, host_id, port, protocol, state, name, product, version) -- Add a service to a host.
  • LazyOwnDB.service_list (method) modules/db.py:447 def service_list(self, host_id) -- List all services on a host.
  • LazyOwnDB.vuln_add (method) modules/db.py:460 def vuln_add(self, host_id, name, severity, description, refs) -- Add a vulnerability to a host.
  • LazyOwnDB.vuln_get (method) modules/db.py:478 def vuln_get(self, vuln_id) -- Return one vuln row with its host address, or None.
  • LazyOwnDB.vuln_update (method) modules/db.py:490 def vuln_update(self, vuln_id, refs, severity, description) -- Update mutable vuln fields; returns True when a row changed.
  • LazyOwnDB.vuln_list (method) modules/db.py:528 def vuln_list(self, workspace_id, severity) -- List vulns in workspace, optionally filtered by severity.
  • LazyOwnDB.cred_add (method) modules/db.py:557 def cred_add(self, host_id, username, password, realm, cred_type, origin) -- Add a credential (password encrypted at rest).
  • LazyOwnDB.cred_list (method) modules/db.py:577 def cred_list(self, workspace_id) -- List all creds in workspace (passwords decrypted).
  • LazyOwnDB.loot_add (method) modules/db.py:596 def loot_add(self, workspace_id, name, loot_type, path, notes, host_id) -- Add a loot entry.
  • LazyOwnDB.loot_list (method) modules/db.py:615 def loot_list(self, workspace_id) -- List all loot in workspace.
  • LazyOwnDB.note_add (method) modules/db.py:631 def note_add(self, workspace_id, data, note_type, host_id) -- Add a note.
  • LazyOwnDB.note_list (method) modules/db.py:648 def note_list(self, workspace_id) -- List all notes in workspace.
  • LazyOwnDB.import_nmap_xml (method) modules/db.py:664 def import_nmap_xml(self, workspace_id, xml_path) -- Import an Nmap XML file into the database.
  • LazyOwnDB.export_csv (method) modules/db.py:740 def export_csv(self, table, workspace_id) -- Export a table to CSV string.
  • LazyOwnDB.status (method) modules/db.py:775 def status(self, workspace_id) -- Return counts for every entity type in a workspace.
  • LazyOwnDB.close (method) modules/db.py:804 def close(self) -- Close the database connection for the current thread.
  • get_db (function) modules/db.py:821 def get_db(db_path) -- Get or create a :class:LazyOwnDB instance.

modules/delegation_attacks.py

Imported by: cli/commands/active_directory.py

  • DelegationEnumerator.__init__ (method) modules/delegation_attacks.py:98 def __init__(self, domain, raw_ldap_output)
  • DelegationEnumerator.enumerate_from_uac_flags (method) modules/delegation_attacks.py:104 def enumerate_from_uac_flags(self, accounts) -- Enumerate delegation targets from parsed account data.
  • DelegationEnumerator.parse_bloodhound_output (method) modules/delegation_attacks.py:151 def parse_bloodhound_output(self, bloodhound_json) -- Parse BloodHound JSON output for delegation data.
  • DelegationEnumerator.find_unconstrained_targets (method) modules/delegation_attacks.py:181 def find_unconstrained_targets(self) -- Return all accounts with unconstrained delegation enabled.
  • DelegationEnumerator.find_constrained_targets (method) modules/delegation_attacks.py:189 def find_constrained_targets(self) -- Return all accounts with constrained delegation configured.
  • DelegationEnumerator.find_rbcd_targets (method) modules/delegation_attacks.py:197 def find_rbcd_targets(self) -- Return all accounts with RBCD configured.
  • DelegationEnumerator.find_dc_targets (method) modules/delegation_attacks.py:205 def find_dc_targets(self) -- Return domain controllers with delegation configured.
  • DelegationEnumerator.compute_attack_paths (method) modules/delegation_attacks.py:215 def compute_attack_paths(self) -- Compute delegation-based attack paths.
  • DelegationEnumerator.summary (method) modules/delegation_attacks.py:296 def summary(self) -- Return a summary of all delegation findings.

modules/detailed_search.py

modules/detection_feed.py

Depends on: core/logging.py, modules/detection_oracle.py Imported by: modules/detection_oracle.py, tests/test_detection_feed.py

modules/detection_oracle.py

Depends on: core/logging.py, modules/detection_feed.py Imported by: modules/auto_purple.py, modules/detection_feed.py, modules/loop_ai_bridge.py, skills/autonomous_daemon.py, skills/lazyown_policy.py, skills/swan_agent.py, tests/test_detection_feed.py, tests/test_loop_ai_bridge.py, tests/test_moe_rl_swan.py

modules/digest.py

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

  • build_engine_digest (function) modules/digest.py:20 def build_engine_digest(task_id, status, rounds, findings, facts, blocks, reaction_backlog) -- Render the engine-loop markdown digest.
  • write_digest (function) modules/digest.py:71 def write_digest(task_id, body, root) -- Persist the digest beside the archives; returns the written path.
  • worker_results_digest (function) modules/digest.py:82 def worker_results_digest(rows) -- Extract displayed step lines and blocked bases from result dicts.

modules/dns_beacon.py

Depends on: core/safe_exec.py Imported by: cli/commands/dns_exfil.py

  • DNSBeacon.__init__ (method) modules/dns_beacon.py:38 def __init__(self, domain, dns_server, sleep_seconds, jitter_percent, dns_type, encode_method)
  • DNSBeacon.check_in (method) modules/dns_beacon.py:105 def check_in(self) -- Send heartbeat and check for pending commands.
  • DNSBeacon.send_result (method) modules/dns_beacon.py:135 def send_result(self, command, output, exit_code) -- Send command output via DNS TXT queries.
  • DNSBeacon.run (method) modules/dns_beacon.py:171 def run(self) -- Main beacon loop: check-in -> execute command -> send result -> sleep.
  • DNSC2Server.__init__ (method) modules/dns_beacon.py:211 def __init__(self, domain, log_source, interface)
  • DNSC2Server.register_beacon (method) modules/dns_beacon.py:225 def register_beacon(self, beacon_id, hostname) -- Register a new DNS beacon.
  • DNSC2Server.list_beacons (method) modules/dns_beacon.py:235 def list_beacons(self) -- List all registered DNS beacons.
  • DNSC2Server.send_task (method) modules/dns_beacon.py:239 def send_task(self, beacon_id, command) -- Queue a command for a DNS beacon.
  • DNSC2Server.process_query_log (method) modules/dns_beacon.py:248 def process_query_log(self, line) -- Process a single DNS query log line and extract beacon data.
  • DNSC2Server.get_results (method) modules/dns_beacon.py:327 def get_results(self, beacon_id) -- Get received results for a beacon.

modules/domain_dominance.py

Depends on: core/hardening.py Imported by: cli/commands/lateral_migrated.py, tests/test_security_alerts_fix.py

modules/dotnet_payload.py

Imported by: cli/commands/payload_arsenal.py

  • DotNetPayloadFactory.__init__ (method) modules/dotnet_payload.py:327 def __init__(self, output_dir)
  • DotNetPayloadFactory.list_templates (method) modules/dotnet_payload.py:364 def list_templates() -- Return available .NET payload template names.
  • DotNetPayloadFactory.generate_source (method) modules/dotnet_payload.py:389 def generate_source(self, config) -- Generate C# source code from a template.
  • DotNetPayloadFactory.compile (method) modules/dotnet_payload.py:403 def compile(self, config, source_code) -- Compile C# source to an assembly.
  • DotNetPayloadFactory.generate (method) modules/dotnet_payload.py:454 def generate(self, config) -- Generate a .NET payload — source code plus optional binary.
  • DotNetPayloadFactory.generate_powershell_reflective (method) modules/dotnet_payload.py:481 def generate_powershell_reflective(self, config) -- Generate a PowerShell script that reflectively loads a .NET assembly.
  • DotNetPayloadFactory.generate_inline_assembly (method) modules/dotnet_payload.py:500 def generate_inline_assembly(self, config) -- Generate self-decompiling inline .NET assembly load command.
  • DotNetPayloadFactory.to_format (method) modules/dotnet_payload.py:520 def to_format(self, data, fmt) -- Convert a payload result to the requested output format.

modules/dpapi_harvester.py

Imported by: cli/commands/dpapi.py

modules/edr_detector.py

Imported by: cli/commands/edr_detect.py

  • EDRDetector.detect_local (method) modules/edr_detector.py:202 def detect_local() -- Detect EDR products on the local Windows machine.
  • EDRDetector.detect_remote_commands (method) modules/edr_detector.py:221 def detect_remote_commands(remote_type) -- Generate commands for remote EDR detection.
  • EDRDetector.generate_edr_check_script (method) modules/edr_detector.py:440 def generate_edr_check_script(remote_type) -- Generate a PowerShell script for comprehensive EDR detection.

modules/eegg.sh

modules/emulation_runner.py

Depends on: core/logging.py, modules/apt_playbooks.py, modules/atomic_exploit_bridge.py, modules/atomic_resolver.py, modules/outcome_bus.py Imported by: modules/atomic_exploit_bridge.py, modules/playbook_engine.py, tests/test_emulation_runner.py

  • EmulationResult.to_dict (method) modules/emulation_runner.py:53 def to_dict(self) -- Return a JSON-serializable view.
  • EmulationReport.executed (method) modules/emulation_runner.py:81 def executed(self) -- Return the number of tests that actually ran.
  • EmulationReport.shell (method) modules/emulation_runner.py:86 def shell(self) -- Return True when any test produced a shell signal.
  • EmulationReport.to_dict (method) modules/emulation_runner.py:90 def to_dict(self) -- Return the legacy bridge-shaped mapping plus v2 fields.
  • EmulationRunner.__init__ (method) modules/emulation_runner.py:108 def __init__(self, resolver, sessions_dir, shell_opener, remote_exec_fn, playbook_loader, outcome_recorder... -- Bind optional collaborators; defaults load the shared modules lazily.
  • EmulationRunner.techniques_for_playbook (method) modules/emulation_runner.py:182 def techniques_for_playbook(self, playbook, platform) -- Return ordered unique technique IDs for one APT playbook.
  • EmulationRunner.run (method) modules/emulation_runner.py:202 def run(self, target, techniques, playbook, platform, lhost, per_technique, include_manual, dry_run, executor... -- Execute emulation tests and return the staged report.
  • EmulationRunner.run_steps (method) modules/emulation_runner.py:321 def run_steps(self, steps, target, executor, platform, dry_run, source) -- Execute already-resolved steps through one executor.

modules/engage_summary.py

Depends on: cli/recommendation_signals.py, modules/enrich.py, modules/evidence.py Imported by: skills/unified_orchestrator.py, tests/test_engage_summary.py

  • marker_lines (function) modules/engage_summary.py:35 def marker_lines(text, limit) -- Extract real log lines ([+] ... [+]) dropping panels and bars.
  • full_output (function) modules/engage_summary.py:51 def full_output(step, sessions_dir) -- Return the full step output from evidence, falling back to the tail.
  • held_scan_ports (function) modules/engage_summary.py:64 def held_scan_ports(target, sessions_dir) -- Parse held scan XMLs for open ports.
  • detail_for (function) modules/engage_summary.py:98 def detail_for(tool, text, target, sessions_dir) -- Extract the key facts from one step output for the summary.
  • next_actions (function) modules/engage_summary.py:150 def next_actions(target, sessions_dir, limit) -- Rank next actions via the unified recommendation engine.
  • render_text (function) modules/engage_summary.py:175 def render_text(engagement_id, target, shell, steps, sessions_dir) -- Render the console summary with per-step detail lines.
  • render_markdown (function) modules/engage_summary.py:210 def render_markdown(engagement_id, target, shell, steps, next_list, sessions_dir) -- Render the persisted per-engagement report.
  • write_report (function) modules/engage_summary.py:247 def write_report(engagement_id, target, shell, steps, sessions_dir) -- Persist the engagement report; return its relative path.

modules/engagement_hooks.py

Depends on: core/logging.py, modules/collab_bp.py Imported by: modules/event_bus.py, modules/pipeline_engine.py

modules/enrich.py

Imported by: cli/commands/pwn.py, cli/commands/session_ops.py, modules/engage_summary.py, skills/autonomous_daemon.py, tests/test_autonomous_ops.py

  • scan_files_for (function) modules/enrich.py:40 def scan_files_for(sessions_dir, target) -- Return existing scan artefacts for a target.
  • should_rescan (function) modules/enrich.py:57 def should_rescan(sessions_dir, target, fresh_sec) -- Return True when no fresh scan artefact exists for target.
  • resolve_dns (function) modules/enrich.py:73 def resolve_dns(target, timeout) -- Resolve A/AAAA for a target with a bounded timeout.
  • fetch_http (function) modules/enrich.py:86 def fetch_http(target, timeout) -- Fetch HTTP headers for a target without following credentials.
  • EnrichEngine.__init__ (method) modules/enrich.py:103 def __init__(self, max_workers) -- Create the pool and cooldown index.
  • EnrichEngine.submit (method) modules/enrich.py:108 def submit(self, target) -- Queue DNS+HTTP enrichment unless inside cooldown.
  • EnrichEngine.shutdown (method) modules/enrich.py:128 def shutdown(self, wait) -- Shut the pool down without blocking the loop by default.
  • shared_engine (function) modules/enrich.py:137 def shared_engine() -- Return the process-wide enrichment engine (LAZY parity).

modules/entra_id_attacks.py

Imported by: cli/commands/cloud_attacks.py

  • EntraIDAttackEngine.__init__ (method) modules/entra_id_attacks.py:92 def __init__(self, config)
  • EntraIDAttackEngine.device_code_phish (method) modules/entra_id_attacks.py:96 def device_code_phish(self, scope) -- Initiate a device code phishing flow.
  • EntraIDAttackEngine.poll_device_code (method) modules/entra_id_attacks.py:129 def poll_device_code(self, device_code, interval, timeout) -- Poll for device code completion to retrieve tokens.
  • EntraIDAttackEngine.oauth_consent_grant (method) modules/entra_id_attacks.py:166 def oauth_consent_grant(self, redirect_uri) -- Generate an OAuth consent grant phishing URL.
  • EntraIDAttackEngine.service_principal_credential_theft (method) modules/entra_id_attacks.py:203 def service_principal_credential_theft(self) -- Plan service principal credential theft via app registration abuse.
  • EntraIDAttackEngine.managed_identity_abuse (method) modules/entra_id_attacks.py:235 def managed_identity_abuse(self, resource) -- Exploit Azure managed identities from compromised VMs/containers.
  • EntraIDAttackEngine.entra_connect_sync_abuse (method) modules/entra_id_attacks.py:266 def entra_connect_sync_abuse(self) -- Exploit Entra Connect Sync for on-prem to cloud privilege escalation.
  • EntraIDAttackEngine.conditional_access_bypass (method) modules/entra_id_attacks.py:307 def conditional_access_bypass(self) -- Techniques for bypassing Entra ID Conditional Access policies.
  • EntraIDAttackEngine.enumerate_tenant (method) modules/entra_id_attacks.py:345 def enumerate_tenant(self) -- Enumerate tenant information via Graph API.
  • EntraIDAttackEngine.summary (method) modules/entra_id_attacks.py:368 def summary(self)

modules/estorides_fusion.py

Imported by: cli/commands/surface.py, modules/attack_surface3d.py, modules/intel_fusion.py, tests/test_estorides_fusion.py

modules/estorides_importer.py

Depends on: core/logging.py, modules/db.py Imported by: cli/commands/estorides.py, modules/intelligence_engine.py

modules/evasion_engine.py

Imported by: cli/commands/evasive_payload.py, skills/lazyown_mcp.py

modules/evasive_payloads.py

Imported by: cli/commands/evasive_payload.py

  • EvasivePayloadGenerator.__init__ (method) modules/evasive_payloads.py:84 def __init__(self)
  • EvasivePayloadGenerator.generate_powershell_obfuscated (method) modules/evasive_payloads.py:138 def generate_powershell_obfuscated(self, payload, obfuscation_level) -- Generate an obfuscated PowerShell payload.
  • EvasivePayloadGenerator.generate_javascript_obfuscated (method) modules/evasive_payloads.py:178 def generate_javascript_obfuscated(self, payload) -- Generate an obfuscated JavaScript payload.
  • EvasivePayloadGenerator.generate_vba_obfuscated (method) modules/evasive_payloads.py:197 def generate_vba_obfuscated(self, payload) -- Generate an obfuscated VBA macro payload.
  • EvasivePayloadGenerator.generate_linux_evasive (method) modules/evasive_payloads.py:214 def generate_linux_evasive(self, rhost, rport, technique) -- Generate an evasive Linux reverse shell payload.
  • EvasivePayloadGenerator.generate_shellcode_loader_powershell (method) modules/evasive_payloads.py:239 def generate_shellcode_loader_powershell(self, shellcode_b64, injection_technique) -- Generate a PowerShell shellcode loader with AMSI bypass.
  • EvasivePayloadGenerator.generate_lolbas_execution (method) modules/evasive_payloads.py:284 def generate_lolbas_execution(self, payload_url, technique) -- Generate a LOLBAS-based payload execution command.
  • EvasivePayloadGenerator.generate_polymorphic_command (method) modules/evasive_payloads.py:334 def generate_polymorphic_command(self, base_cmd, iterations) -- Generate a polymorphic command that mutates at each execution.
  • EvasivePayloadGenerator.list_techniques (method) modules/evasive_payloads.py:374 def list_techniques(self) -- Return all available evasion techniques.

modules/event_bus.py

Depends on: cli/commands/enum.py, core/logging.py, modules/collab_bp.py, modules/engagement_hooks.py Imported by: lazyc2.py, lazyown.py, modules/command_executor.py, modules/event_consumers.py, modules/loop_ai_bridge.py, modules/sinks/event_bus.py, modules/state_manager.py, modules/unified_bridge.py, tests/test_loop_ai_bridge.py

modules/event_consumers.py

Depends on: core/logging.py, modules/event_bus.py, modules/state_manager.py Imported by: lazyc2.py, lazyown.py, skills/autonomous_daemon.py

modules/event_engine.py

Imported by: lazyc2.py, skills/heartbeat.py, skills/lazyown_daemon.py, skills/lazyown_mcp.py, skills/sessions_watcher.py

modules/evidence.py

Imported by: modules/engage_summary.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, tests/test_engage_summary.py, tests/test_lazy_parity.py, tests/test_safety_gates.py

  • hash_bytes (function) modules/evidence.py:37 def hash_bytes(data) -- Return the lowercase hex SHA-256 of data.
  • EvidenceStore.__init__ (method) modules/evidence.py:57 def __init__(self, base_dir) -- Create vault directories.
  • EvidenceStore.blob_path (method) modules/evidence.py:65 def blob_path(self, content_hash) -- Resolve the canonical path for a validated hash.
  • EvidenceStore.put (method) modules/evidence.py:70 def put(self, data) -- Atomically store bytes and return their SHA-256 hash.
  • EvidenceStore.get (method) modules/evidence.py:90 def get(self, content_hash) -- Read and verify blob bytes for a hash.
  • EvidenceStore.exists (method) modules/evidence.py:98 def exists(self, content_hash) -- Return True when the blob exists on disk.
  • EvidenceStore.garbage_collect (method) modules/evidence.py:105 def garbage_collect(self, referenced) -- Remove unreferenced blobs older than the grace period.

modules/exp.c

Imported by: static/js/3d-force-graph-1.73.4.min.js, static/js/force-graph-1.43.5.min.js

  • add_key (function) modules/exp.c:147 static inline key_serial_t add_key(const char *type, const char *description, const void *payload...
  • keyctl (function) modules/exp.c:151 static inline long keyctl(int operation, unsigned long arg2, unsigned long arg3, unsigned long ar...
  • bye (function) modules/exp.c:155 void bye(char *info)
  • do_error_exit (function) modules/exp.c:161 void do_error_exit(char *info)
  • bye2 (function) modules/exp.c:167 void bye2(char *info, char *arg)
  • spray_keyring (function) modules/exp.c:172 key_serial_t *spray_keyring(uint32_t start, uint32_t spray_size)
  • spray_keyring_list_del_purpose (function) modules/exp.c:190 key_serial_t *spray_keyring_list_del_purpose(uint32_t spray_size, uint64_t next, uint64_t prev, u...
  • spray_keyring_list_overwrite_purpose (function) modules/exp.c:214 key_serial_t *spray_keyring_list_overwrite_purpose(uint32_t spray_size, uint64_t len, uint64_t of...
  • get_keyring_leak (function) modules/exp.c:248 int get_keyring_leak(key_serial_t *id_buffer, uint32_t id_buffer_size)
  • awake_partial_keys (function) modules/exp.c:271 void awake_partial_keys(key_serial_t *id_buffer, uint32_t idx)
  • release_keys (function) modules/exp.c:279 void release_keys(key_serial_t *id_buffer, uint32_t id_buffer_size)
  • release_partial_keys (function) modules/exp.c:290 void release_partial_keys(key_serial_t *id_buffer, int i)
  • unshare_setup (function) modules/exp.c:297 void unshare_setup(uid_t uid, gid_t gid)
  • set_stable_table_and_set (function) modules/exp.c:322 void set_stable_table_and_set(struct mnl_socket* nl, const char *name)
  • set_trigger_set_and_overwrite (function) modules/exp.c:385 void set_trigger_set_and_overwrite(struct mnl_socket* nl, const char *name, const char *set_name)
  • set_cpu_affinity (function) modules/exp.c:438 void set_cpu_affinity(int cpu_n, pid_t pid)
  • spray_mqueue (function) modules/exp.c:448 void spray_mqueue(mqd_t mqdes, char *msgptr, int spray_size)
  • gather_mqueue (function) modules/exp.c:463 int gather_mqueue(mqd_t mqdes, int gather_size)
  • gather_mqueue_nosave (function) modules/exp.c:485 int gather_mqueue_nosave(mqd_t mqdes, int gather_size)
  • spray_msg_msg (function) modules/exp.c:496 void spray_msg_msg(unsigned int size, unsigned int amount, int qid)
  • io_uring_setup (function) modules/exp.c:520 static inline int io_uring_setup(uint32_t entries, struct io_uring_params *p)
  • io_uring_register (function) modules/exp.c:524 static inline int io_uring_register(int fd, unsigned int opcode, void *arg, unsigned int nr_args)
  • spray_uring (function) modules/exp.c:529 struct fd_uring *spray_uring(uint32_t spray_size, struct fd_uring *fd_buffer)
  • release_uring (function) modules/exp.c:546 void release_uring(struct fd_uring *fd_buffer, uint32_t buffer_size)
  • release_partial_uring (function) modules/exp.c:554 void release_partial_uring(struct fd_uring *fd_buffer, uint32_t buffer_idx)
  • prepare_root_shell (function) modules/exp.c:559 void prepare_root_shell(void)
  • create_dummy_file (function) modules/exp.c:564 void create_dummy_file(void)
  • create_priv_file (function) modules/exp.c:572 void create_priv_file(void)
  • write_new_modprobe (function) modules/exp.c:582 void write_new_modprobe()
  • setup_modprobe_payload (function) modules/exp.c:601 void setup_modprobe_payload()
  • userland_T (function) modules/exp.c:605 void userland_T(int *sema)
  • sema_up (function) modules/exp.c:610 void sema_up(int *sema)
  • sema_down (function) modules/exp.c:615 void sema_down(int *sema)
  • main (function) modules/exp.c:620 int main(int argc, char ** argv)

modules/exploit_chain.py

Depends on: modules/outcome_bus.py Imported by: cli/commands/exploit_migrated.py

  • ExploitChain.__init__ (method) modules/exploit_chain.py:292 def __init__(self, rhost, rport, lhost, lport, sessions_dir, nmap_xml_path)
  • ExploitChain.fingerprint_services (method) modules/exploit_chain.py:311 def fingerprint_services(self, nmap_output) -- Parse service information from all available nmap XML files.
  • ExploitChain.map_vulnerabilities (method) modules/exploit_chain.py:446 def map_vulnerabilities(self) -- Map discovered services to known vulnerabilities.
  • ExploitChain.generate_exploit_plan (method) modules/exploit_chain.py:499 def generate_exploit_plan(self) -- Generate a prioritized exploitation plan.
  • ExploitChain.get_post_exploit_commands (method) modules/exploit_chain.py:519 def get_post_exploit_commands(self, platform) -- Return recommended post-exploitation commands for the platform.
  • ExploitChain.generate_report (method) modules/exploit_chain.py:531 def generate_report(self) -- Generate a structured exploitation chain report.
  • ExploitChain.save_report (method) modules/exploit_chain.py:566 def save_report(self, path) -- Save the exploitation chain report to a file.

modules/exploit_recommender.py

Depends on: lazygui/version.py, modules/world_model.py Imported by: cli/commands/exploit_migrated.py, cli/commands/pwn.py, modules/unified_dashboard.py, skills/lazyown_mcp.py

modules/exploitgym_gym.py

Depends on: modules/redteam_gym.py Imported by: cli/commands/exploitgym.py, skills/lazyown_mcp.py, tests/test_exploitgym_gym.py

  • check_readiness (function) modules/exploitgym_gym.py:112 def check_readiness(params) -- Report whether the ExploitGym harness can run.
  • list_tasks (function) modules/exploitgym_gym.py:178 def list_tasks(params, domain, limit) -- List available ExploitGym tasks, optionally filtered by domain.
  • setup_harness (function) modules/exploitgym_gym.py:249 def setup_harness(params, steps) -- Automate ExploitGym installation (clone, deps, data, firewall, images).
  • pull_task (function) modules/exploitgym_gym.py:344 def pull_task(task_id, params, timeout) -- Pull the Docker image required by a task.
  • run_task (function) modules/exploitgym_gym.py:423 def run_task(task_id, params, model, mitigations, timeout) -- Run the agent against an ExploitGym task and capture the outcome.
  • verify_flag (function) modules/exploitgym_gym.py:548 def verify_flag(task_id, params) -- Verify whether a task flag was captured from a previous run.
  • score_task (function) modules/exploitgym_gym.py:565 def score_task(task_id, success, techniques, params) -- Award Red Team Gym ELO and leaderboard points for a task outcome.

modules/fast_run_service.sh

modules/finding_lifecycle.py

Depends on: modules/osint_enrich.py Imported by: cli/commands/database.py, modules/attack_surface3d.py, modules/intel_fusion.py, modules/lazy_bridge.py, modules/lazy_loop.py, skills/autonomous_daemon.py, tests/test_autonomous_ops.py, tests/test_finding_lifecycle.py

  • confirm (function) modules/finding_lifecycle.py:61 def confirm(finding_id, evidence, sessions_dir, by) -- Mark a finding confirmed with linked evidence (CAIRN seed-add).
  • reject (function) modules/finding_lifecycle.py:90 def reject(finding_id, reason, sessions_dir, by) -- Mark a finding rejected (disproven lead, CAIRN dead-end discipline).
  • add_dead_end (function) modules/finding_lifecycle.py:104 def add_dead_end(kind, value, reason, sessions_dir) -- Suppress a value campaign-wide with a labeled reason (dead_end_hashes).
  • is_dead_end (function) modules/finding_lifecycle.py:116 def is_dead_end(kind, value, sessions_dir) -- Return True when a kind/value pair sits on the suppression list.
  • suppressed_values (function) modules/finding_lifecycle.py:123 def suppressed_values(sessions_dir) -- Return every suppressed value for text-level filtering by the loop.
  • resolve (function) modules/finding_lifecycle.py:129 def resolve(node, sessions_dir) -- Resolve a finding node's confirmation state.
  • apply_confirmation (function) modules/finding_lifecycle.py:154 def apply_confirmation(nodes, sessions_dir) -- Stamp confirmation/status on every finding node in place.
  • record (function) modules/finding_lifecycle.py:234 def record(db, workspace, host, title, severity, summary, poc) -- Record a campaign finding on the DB for one host.
  • findings_for (function) modules/finding_lifecycle.py:259 def findings_for(db, workspace) -- List campaign findings with parsed status markers.
  • set_status (function) modules/finding_lifecycle.py:264 def set_status(db, finding_id, status) -- Set the lifecycle status marker on one finding.
  • has_running_retest (function) modules/finding_lifecycle.py:310 def has_running_retest(finding_id, sessions_dir) -- Return True while a retest for the finding is still running.
  • request_retest (function) modules/finding_lifecycle.py:318 def request_retest(db, finding_id, sessions_dir) -- Queue a retest; an already-running one is returned unchanged.
  • resolve_retest (function) modules/finding_lifecycle.py:338 def resolve_retest(db, retest_id, conclusion, evidence, sessions_dir) -- Close a retest, bump the evidence version and apply the verdict.
  • classify_retest (function) modules/finding_lifecycle.py:384 def classify_retest(needle, output) -- Map retest output onto reproducible / fixed / inconclusive.
  • render_markdown (function) modules/finding_lifecycle.py:403 def render_markdown(db, workspace, title) -- Render campaign findings as a markdown report.

modules/forensic_cleaner.py

Imported by: cli/commands/opsec_cleanup.py

Next: API_p12.md

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally