Repository navigation
Agent API_p11
Previous: API_p10.md
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:159def __init__(self, db_path) -
LazyOwnDB.db_path(method)modules/db.py:182def db_path(self)-- Path to the SQLite database file. -
LazyOwnDB.migration_status(method)modules/db.py:222def migration_status(self)-- Return the current and latest migration versions. -
LazyOwnDB.workspace_create(method)modules/db.py:292def workspace_create(self, name, description)-- Create a new workspace. -
LazyOwnDB.workspace_list(method)modules/db.py:307def workspace_list(self)-- Return all workspaces as dicts. -
LazyOwnDB.workspace_get(method)modules/db.py:313def workspace_get(self, name)-- Get a workspace by name, or None. -
LazyOwnDB.default_workspace(method)modules/db.py:320def default_workspace(self, name)-- Return the id of the named workspace, creating it when absent. -
LazyOwnDB.workspace_delete(method)modules/db.py:333def workspace_delete(self, name)-- Delete a workspace and all its data. -
LazyOwnDB.host_add(method)modules/db.py:357def host_add(self, workspace_id, address, mac, hostname, os, state)-- Add or update a host. -
LazyOwnDB.host_delete(method)modules/db.py:390def host_delete(self, host_id)-- Delete a host and its related data. -
LazyOwnDB.host_list(method)modules/db.py:401def host_list(self, workspace_id)-- List all hosts in a workspace. -
LazyOwnDB.host_find(method)modules/db.py:410def host_find(self, workspace_id, query)-- Search hosts by address, hostname, or os. -
LazyOwnDB.service_add(method)modules/db.py:427def service_add(self, host_id, port, protocol, state, name, product, version)-- Add a service to a host. -
LazyOwnDB.service_list(method)modules/db.py:447def service_list(self, host_id)-- List all services on a host. -
LazyOwnDB.vuln_add(method)modules/db.py:460def vuln_add(self, host_id, name, severity, description, refs)-- Add a vulnerability to a host. -
LazyOwnDB.vuln_get(method)modules/db.py:478def vuln_get(self, vuln_id)-- Return one vuln row with its host address, or None. -
LazyOwnDB.vuln_update(method)modules/db.py:490def 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:528def vuln_list(self, workspace_id, severity)-- List vulns in workspace, optionally filtered by severity. -
LazyOwnDB.cred_add(method)modules/db.py:557def 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:577def cred_list(self, workspace_id)-- List all creds in workspace (passwords decrypted). -
LazyOwnDB.loot_add(method)modules/db.py:596def loot_add(self, workspace_id, name, loot_type, path, notes, host_id)-- Add a loot entry. -
LazyOwnDB.loot_list(method)modules/db.py:615def loot_list(self, workspace_id)-- List all loot in workspace. -
LazyOwnDB.note_add(method)modules/db.py:631def note_add(self, workspace_id, data, note_type, host_id)-- Add a note. -
LazyOwnDB.note_list(method)modules/db.py:648def note_list(self, workspace_id)-- List all notes in workspace. -
LazyOwnDB.import_nmap_xml(method)modules/db.py:664def import_nmap_xml(self, workspace_id, xml_path)-- Import an Nmap XML file into the database. -
LazyOwnDB.export_csv(method)modules/db.py:740def export_csv(self, table, workspace_id)-- Export a table to CSV string. -
LazyOwnDB.status(method)modules/db.py:775def status(self, workspace_id)-- Return counts for every entity type in a workspace. -
LazyOwnDB.close(method)modules/db.py:804def close(self)-- Close the database connection for the current thread. -
get_db(function)modules/db.py:821def get_db(db_path)-- Get or create a :class:LazyOwnDBinstance.
Imported by: cli/commands/active_directory.py
-
DelegationEnumerator.__init__(method)modules/delegation_attacks.py:98def __init__(self, domain, raw_ldap_output) -
DelegationEnumerator.enumerate_from_uac_flags(method)modules/delegation_attacks.py:104def enumerate_from_uac_flags(self, accounts)-- Enumerate delegation targets from parsed account data. -
DelegationEnumerator.parse_bloodhound_output(method)modules/delegation_attacks.py:151def parse_bloodhound_output(self, bloodhound_json)-- Parse BloodHound JSON output for delegation data. -
DelegationEnumerator.find_unconstrained_targets(method)modules/delegation_attacks.py:181def find_unconstrained_targets(self)-- Return all accounts with unconstrained delegation enabled. -
DelegationEnumerator.find_constrained_targets(method)modules/delegation_attacks.py:189def find_constrained_targets(self)-- Return all accounts with constrained delegation configured. -
DelegationEnumerator.find_rbcd_targets(method)modules/delegation_attacks.py:197def find_rbcd_targets(self)-- Return all accounts with RBCD configured. -
DelegationEnumerator.find_dc_targets(method)modules/delegation_attacks.py:205def find_dc_targets(self)-- Return domain controllers with delegation configured. -
DelegationEnumerator.compute_attack_paths(method)modules/delegation_attacks.py:215def compute_attack_paths(self)-- Compute delegation-based attack paths. -
DelegationEnumerator.summary(method)modules/delegation_attacks.py:296def summary(self)-- Return a summary of all delegation findings.
-
obtener_informacion(function)modules/detailed_search.py:40def obtener_informacion(url)
Depends on: core/logging.py, modules/detection_oracle.py
Imported by: modules/detection_oracle.py, tests/test_detection_feed.py
-
DetectionFeed.__init__(method)modules/detection_feed.py:83def __init__(self, cache_dir, sources) -
DetectionFeed.update_rules(method)modules/detection_feed.py:92def update_rules(self, source)-- Download and parse rules from the given source. -
DetectionFeed.load_cached_rules(method)modules/detection_feed.py:246def load_cached_rules(self, source)-- Load previously cached rules from disk. -
DetectionFeed.adjust_from_feedback(method)modules/detection_feed.py:270def adjust_from_feedback(self, feedback_file)-- Adjust rule probabilities based on historical detection feedback. -
get_feed(function)modules/detection_feed.py:326def get_feed()-- Return a module-level :class:DetectionFeedsingleton.
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
-
DetectionAssessment.is_high_risk(method)modules/detection_oracle.py:75def is_high_risk(self)-- Return True when detection probability is 70% or higher. -
DetectionAssessment.is_critical_risk(method)modules/detection_oracle.py:80def is_critical_risk(self)-- Return True when detection probability is 90% or higher. -
IDetectionOracle.assess(method)modules/detection_oracle.py:94def assess(self, command, args, action_category)-- Return a full DetectionAssessment for the given action. -
IDetectionOracle.probability(method)modules/detection_oracle.py:103def probability(self, command, args, action_category)-- Return only the probability score in [0.0, 1.0]. -
DetectionOracle.__init__(method)modules/detection_oracle.py:332def __init__(self, rules, feed) -
DetectionOracle.refresh(method)modules/detection_oracle.py:336def refresh(self)-- Update rules from the detection feed (if available). -
DetectionOracle.assess(method)modules/detection_oracle.py:371def assess(self, command, args, action_category) -
DetectionOracle.probability(method)modules/detection_oracle.py:392def probability(self, command, args, action_category) -
get_oracle(function)modules/detection_oracle.py:478def get_oracle()-- Return (or create) the module-level singleton DetectionOracle.
Imported by: modules/lazy_loop.py, skills/lazyown_mcp.py
-
build_engine_digest(function)modules/digest.py:20def build_engine_digest(task_id, status, rounds, findings, facts, blocks, reaction_backlog)-- Render the engine-loop markdown digest. -
write_digest(function)modules/digest.py:71def write_digest(task_id, body, root)-- Persist the digest beside the archives; returns the written path. -
worker_results_digest(function)modules/digest.py:82def worker_results_digest(rows)-- Extract displayed step lines and blocked bases from result dicts.
Depends on: core/safe_exec.py
Imported by: cli/commands/dns_exfil.py
-
DNSBeacon.__init__(method)modules/dns_beacon.py:38def __init__(self, domain, dns_server, sleep_seconds, jitter_percent, dns_type, encode_method) -
DNSBeacon.check_in(method)modules/dns_beacon.py:105def check_in(self)-- Send heartbeat and check for pending commands. -
DNSBeacon.send_result(method)modules/dns_beacon.py:135def send_result(self, command, output, exit_code)-- Send command output via DNS TXT queries. -
DNSBeacon.run(method)modules/dns_beacon.py:171def run(self)-- Main beacon loop: check-in -> execute command -> send result -> sleep. -
DNSC2Server.__init__(method)modules/dns_beacon.py:211def __init__(self, domain, log_source, interface) -
DNSC2Server.register_beacon(method)modules/dns_beacon.py:225def register_beacon(self, beacon_id, hostname)-- Register a new DNS beacon. -
DNSC2Server.list_beacons(method)modules/dns_beacon.py:235def list_beacons(self)-- List all registered DNS beacons. -
DNSC2Server.send_task(method)modules/dns_beacon.py:239def send_task(self, beacon_id, command)-- Queue a command for a DNS beacon. -
DNSC2Server.process_query_log(method)modules/dns_beacon.py:248def process_query_log(self, line)-- Process a single DNS query log line and extract beacon data. -
DNSC2Server.get_results(method)modules/dns_beacon.py:327def get_results(self, beacon_id)-- Get received results for a beacon.
Depends on: core/hardening.py
Imported by: cli/commands/lateral_migrated.py, tests/test_security_alerts_fix.py
-
DomainDominance.__init__(method)modules/domain_dominance.py:103def __init__(self) -
DomainDominance.get_instance(method)modules/domain_dominance.py:110def get_instance(cls) -
DomainDominance.dominate(method)modules/domain_dominance.py:121def dominate(self, domain, dc_ip, username, password, ntlm_hash)-- Execute the full AD dominance kill-chain. -
DomainDominance.enumerate_domain(method)modules/domain_dominance.py:194def enumerate_domain(self, domain, dc_ip)-- Enumerate the target domain topology. -
DomainDominance.extract_credentials(method)modules/domain_dominance.py:227def extract_credentials(self, domain_info, known_creds)-- Extract credentials using the discovered domain topology. -
DomainDominance.escalate(method)modules/domain_dominance.py:260def escalate(self, domain_info, stash)-- Escalate privileges and move laterally through the domain. -
DomainDominance.persist(method)modules/domain_dominance.py:314def persist(self, domain_info)-- Establish persistence mechanisms across the domain.
Imported by: cli/commands/payload_arsenal.py
-
DotNetPayloadFactory.__init__(method)modules/dotnet_payload.py:327def __init__(self, output_dir) -
DotNetPayloadFactory.list_templates(method)modules/dotnet_payload.py:364def list_templates()-- Return available .NET payload template names. -
DotNetPayloadFactory.generate_source(method)modules/dotnet_payload.py:389def generate_source(self, config)-- Generate C# source code from a template. -
DotNetPayloadFactory.compile(method)modules/dotnet_payload.py:403def compile(self, config, source_code)-- Compile C# source to an assembly. -
DotNetPayloadFactory.generate(method)modules/dotnet_payload.py:454def generate(self, config)-- Generate a .NET payload — source code plus optional binary. -
DotNetPayloadFactory.generate_powershell_reflective(method)modules/dotnet_payload.py:481def generate_powershell_reflective(self, config)-- Generate a PowerShell script that reflectively loads a .NET assembly. -
DotNetPayloadFactory.generate_inline_assembly(method)modules/dotnet_payload.py:500def generate_inline_assembly(self, config)-- Generate self-decompiling inline .NET assembly load command. -
DotNetPayloadFactory.to_format(method)modules/dotnet_payload.py:520def to_format(self, data, fmt)-- Convert a payload result to the requested output format.
Imported by: cli/commands/dpapi.py
-
DPAPIHarvester.__init__(method)modules/dpapi_harvester.py:79def __init__(self, sessions_dir, masterkey_path) -
DPAPIHarvester.harvest_all(method)modules/dpapi_harvester.py:90def harvest_all(self)-- Run all harvesters and return all discovered credentials. -
DATA_BLOB.export_credentials(method)modules/dpapi_harvester.py:367def export_credentials(self)-- Export all harvested credentials to a text file. -
DATA_BLOB.masterkey_report(method)modules/dpapi_harvester.py:386def masterkey_report(self)-- Generate a master key report.
Imported by: cli/commands/edr_detect.py
-
EDRDetector.detect_local(method)modules/edr_detector.py:202def detect_local()-- Detect EDR products on the local Windows machine. -
EDRDetector.detect_remote_commands(method)modules/edr_detector.py:221def detect_remote_commands(remote_type)-- Generate commands for remote EDR detection. -
EDRDetector.generate_edr_check_script(method)modules/edr_detector.py:440def generate_edr_check_script(remote_type)-- Generate a PowerShell script for comprehensive EDR detection.
-
init_board(function)modules/eegg.sh:26-- Inicializa el tablero con las piezas en sus posiciones iniciales -
show_board(function)modules/eegg.sh:40-- Función para mostrar el tablero -
move_white_pawns(function)modules/eegg.sh:61-- Movimiento de peones blancos y negros -
move_black_pawns(function)modules/eegg.sh:78
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:53def to_dict(self)-- Return a JSON-serializable view. -
EmulationReport.executed(method)modules/emulation_runner.py:81def executed(self)-- Return the number of tests that actually ran. -
EmulationReport.shell(method)modules/emulation_runner.py:86def shell(self)-- Return True when any test produced a shell signal. -
EmulationReport.to_dict(method)modules/emulation_runner.py:90def to_dict(self)-- Return the legacy bridge-shaped mapping plus v2 fields. -
EmulationRunner.__init__(method)modules/emulation_runner.py:108def __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:182def techniques_for_playbook(self, playbook, platform)-- Return ordered unique technique IDs for one APT playbook. -
EmulationRunner.run(method)modules/emulation_runner.py:202def 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:321def run_steps(self, steps, target, executor, platform, dry_run, source)-- Execute already-resolved steps through one executor.
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:35def marker_lines(text, limit)-- Extract real log lines ([+] ... [+]) dropping panels and bars. -
full_output(function)modules/engage_summary.py:51def 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:64def held_scan_ports(target, sessions_dir)-- Parse held scan XMLs for open ports. -
detail_for(function)modules/engage_summary.py:98def 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:150def next_actions(target, sessions_dir, limit)-- Rank next actions via the unified recommendation engine. -
render_text(function)modules/engage_summary.py:175def 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:210def render_markdown(engagement_id, target, shell, steps, next_list, sessions_dir)-- Render the persisted per-engagement report. -
write_report(function)modules/engage_summary.py:247def write_report(engagement_id, target, shell, steps, sessions_dir)-- Persist the engagement report; return its relative path.
Depends on: core/logging.py, modules/collab_bp.py
Imported by: modules/event_bus.py, modules/pipeline_engine.py
-
EngagementEvent.now(method)modules/engagement_hooks.py:124def now(cls, kind, target, message, payload, severity)-- Construct an event with a fresh id and current UTC timestamp. -
EngagementEvent.render_line(method)modules/engagement_hooks.py:143def render_line(self)-- Return a single-line operator-facing log entry. -
INotificationSink.name(method)modules/engagement_hooks.py:155def name(self)-- Stable channel identifier used for diagnostic logging. -
INotificationSink.deliver(method)modules/engagement_hooks.py:159def deliver(self, event)-- Deliver one event. -
StreamEventSink.name(method)modules/engagement_hooks.py:178def name(self) -
StreamEventSink.deliver(method)modules/engagement_hooks.py:181def deliver(self, event) -
CollabNotificationSink.name(method)modules/engagement_hooks.py:213def name(self) -
CollabNotificationSink.deliver(method)modules/engagement_hooks.py:216def deliver(self, event) -
_OutboundHTTPSink.name(method)modules/engagement_hooks.py:252def name(self) -
_OutboundHTTPSink.deliver(method)modules/engagement_hooks.py:258def deliver(self, event) -
TelegramNotificationSink.name(method)modules/engagement_hooks.py:288def name(self) -
DiscordNotificationSink.name(method)modules/engagement_hooks.py:320def name(self) -
NotificationBroadcaster.__init__(method)modules/engagement_hooks.py:349def __init__(self, sinks) -
NotificationBroadcaster.default(method)modules/engagement_hooks.py:354def default(cls)-- Return a broadcaster with the standard four-sink configuration. -
NotificationBroadcaster.add(method)modules/engagement_hooks.py:365def add(self, sink)-- Register an additional sink at runtime. -
NotificationBroadcaster.deliver(method)modules/engagement_hooks.py:370def deliver(self, event)-- Push event to all sinks. -
EngagementNarrator.__init__(method)modules/engagement_hooks.py:393def __init__(self, broadcaster) -
EngagementNarrator.narrate(method)modules/engagement_hooks.py:400def narrate(self, kind, target, message, payload, severity)-- Write one line + audit record and dispatch to every sink. -
get_default_narrator(function)modules/engagement_hooks.py:482def get_default_narrator()-- Return the process-wide default narrator (lazy singleton). -
publish_shell_obtained(function)modules/engagement_hooks.py:491def publish_shell_obtained(client_id, primary_ip, hostname, user, platform, narrator)-- Single entry point called by lazyc2.py on every beacon check-in. -
append_approval_record(function)modules/engagement_hooks.py:564def append_approval_record(record)-- Append one approval-pending record to sessions/engagement_approvals.jsonl. -
list_pending_approvals(function)modules/engagement_hooks.py:575def list_pending_approvals()-- Return every approval record whose status is still 'pending'. -
resolve_approval(function)modules/engagement_hooks.py:601def resolve_approval(approval_id, decision, operator)-- Append a resolution record for the given approval_id. -
is_valid_target(function)modules/engagement_hooks.py:626def is_valid_target(value)-- Validate that value is a dotted-quad IPv4 or a safe hostname token.
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:40def scan_files_for(sessions_dir, target)-- Return existing scan artefacts for a target. -
should_rescan(function)modules/enrich.py:57def should_rescan(sessions_dir, target, fresh_sec)-- Return True when no fresh scan artefact exists for target. -
resolve_dns(function)modules/enrich.py:73def resolve_dns(target, timeout)-- Resolve A/AAAA for a target with a bounded timeout. -
fetch_http(function)modules/enrich.py:86def fetch_http(target, timeout)-- Fetch HTTP headers for a target without following credentials. -
EnrichEngine.__init__(method)modules/enrich.py:103def __init__(self, max_workers)-- Create the pool and cooldown index. -
EnrichEngine.submit(method)modules/enrich.py:108def submit(self, target)-- Queue DNS+HTTP enrichment unless inside cooldown. -
EnrichEngine.shutdown(method)modules/enrich.py:128def shutdown(self, wait)-- Shut the pool down without blocking the loop by default. -
shared_engine(function)modules/enrich.py:137def shared_engine()-- Return the process-wide enrichment engine (LAZY parity).
Imported by: cli/commands/cloud_attacks.py
-
EntraIDAttackEngine.__init__(method)modules/entra_id_attacks.py:92def __init__(self, config) -
EntraIDAttackEngine.device_code_phish(method)modules/entra_id_attacks.py:96def device_code_phish(self, scope)-- Initiate a device code phishing flow. -
EntraIDAttackEngine.poll_device_code(method)modules/entra_id_attacks.py:129def 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:166def oauth_consent_grant(self, redirect_uri)-- Generate an OAuth consent grant phishing URL. -
EntraIDAttackEngine.service_principal_credential_theft(method)modules/entra_id_attacks.py:203def service_principal_credential_theft(self)-- Plan service principal credential theft via app registration abuse. -
EntraIDAttackEngine.managed_identity_abuse(method)modules/entra_id_attacks.py:235def managed_identity_abuse(self, resource)-- Exploit Azure managed identities from compromised VMs/containers. -
EntraIDAttackEngine.entra_connect_sync_abuse(method)modules/entra_id_attacks.py:266def 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:307def conditional_access_bypass(self)-- Techniques for bypassing Entra ID Conditional Access policies. -
EntraIDAttackEngine.enumerate_tenant(method)modules/entra_id_attacks.py:345def enumerate_tenant(self)-- Enumerate tenant information via Graph API. -
EntraIDAttackEngine.summary(method)modules/entra_id_attacks.py:368def summary(self)
Imported by: cli/commands/surface.py, modules/attack_surface3d.py, modules/intel_fusion.py, tests/test_estorides_fusion.py
-
estorides_checkout(function)modules/estorides_fusion.py:48def estorides_checkout()-- Locate the estorides working copy. -
find_export(function)modules/estorides_fusion.py:68def find_export(sessions_dir)-- Find an estorides export, preferring the LazyOwn vocabulary file. -
run_export(function)modules/estorides_fusion.py:84def run_export(sessions_dir, cli_path, timeout_sec)-- Runestorides_cli.py graph --export lazyowninto sessions/. -
load_export(function)modules/estorides_fusion.py:128def load_export(path)-- Load an export in either vocabulary into nodes/edges lists. -
community_for(function)modules/estorides_fusion.py:180def community_for(kind, value)-- Assign a campaign community to a fused entity. -
merge_estorides(function)modules/estorides_fusion.py:187def merge_estorides(nodes, edges, est, cap)-- Fuse estorides entities into graph nodes/edges in place. -
find_lan_bundle(function)modules/estorides_fusion.py:268def find_lan_bundle(sessions_dir)-- Find a LAN bundle deliverable, preferring LazyOwn vocabulary. -
load_lan_bundle(function)modules/estorides_fusion.py:288def load_lan_bundle(path)-- Load a LAN bundle file into nodes/edges lists. -
split_lan_targets(function)modules/estorides_fusion.py:323def split_lan_targets(est)-- Split a LAN payload into intel (all) and attack (hosts) views.
Depends on: core/logging.py, modules/db.py
Imported by: cli/commands/estorides.py, modules/intelligence_engine.py
-
ImportResult.success(method)modules/estorides_importer.py:110def success(self) -
ImportResult.to_dict(method)modules/estorides_importer.py:113def to_dict(self) -
SeedResult.new_assets(method)modules/estorides_importer.py:139def new_assets(self) -
extract_seeds_from_world_model(function)modules/estorides_importer.py:143def extract_seeds_from_world_model(world_model_path)-- Extract IPs and domains from world_model.json as estorides seeds. -
extract_seeds_from_hosts_file(function)modules/estorides_importer.py:175def extract_seeds_from_hosts_file(path)-- Extract IPs/domains from hostsdiscovery.txt or similar. -
extract_seeds_from_db(function)modules/estorides_importer.py:203def extract_seeds_from_db(db_path)-- Extract hosts from LazyOwn database. -
extract_seeds_from_scope(function)modules/estorides_importer.py:242def extract_seeds_from_scope(scope_entries)-- Extract scoped IPs/domains from payload.json scope list. -
run_estorides_discover(function)modules/estorides_importer.py:272def run_estorides_discover(seed_type, seed_value, max_depth, max_steps, out_json, timeout)-- Run estorides discover on a single seed. -
run_estorides_run(function)modules/estorides_importer.py:332def run_estorides_run(query, out_json, timeout)-- Run estorides run (single fan-out) on a query. -
EstoridesCaseReader.__init__(method)modules/estorides_importer.py:388def __init__(self, db_path) -
EstoridesCaseReader.available(method)modules/estorides_importer.py:393def available(self) -
EstoridesCaseReader.list_cases(method)modules/estorides_importer.py:402def list_cases(self, limit) -
EstoridesCaseReader.get_entities(method)modules/estorides_importer.py:414def get_entities(self, case_id, entity_types, limit)-- Fetch entities from the case store. -
EstoridesCaseReader.get_host_entities(method)modules/estorides_importer.py:469def get_host_entities(self, case_id)-- Get entities of host-related types (ipv4, ipv6, domain, url, asn). -
EstoridesCaseReader.get_all_entities(method)modules/estorides_importer.py:473def get_all_entities(self, case_id) -
EstoridesCaseReader.stats(method)modules/estorides_importer.py:476def stats(self) -
EstoridesCaseReader.close(method)modules/estorides_importer.py:489def close(self) -
EstoridesStixParser.__init__(method)modules/estorides_importer.py:511def __init__(self, stix_path) -
EstoridesStixParser.available(method)modules/estorides_importer.py:515def available(self) -
EstoridesStixParser.parse(method)modules/estorides_importer.py:518def parse(self)-- Parse a STIX 2.1 bundle into EstoridesEntity objects. -
EstoridesStixParser.parse_by_type(method)modules/estorides_importer.py:552def parse_by_type(self, entity_types)-- Parse STIX and group values by entity type. -
find_lan_bundle_files(function)modules/estorides_importer.py:586def find_lan_bundle_files(lan_dir, sessions_dir)-- Locate LAN bundle deliverables. -
LanBundleReader.__init__(method)modules/estorides_importer.py:632def __init__(self, lan_dir) -
LanBundleReader.available(method)modules/estorides_importer.py:636def available(self) -
LanBundleReader.read_devices(method)modules/estorides_importer.py:639def read_devices(self)-- Return raw device dicts from the inventory file. -
LanBundleReader.parse(method)modules/estorides_importer.py:652def parse(self)-- Parse LAN devices into entities (host, mac, domain). -
LanBundleReader.attack_targets(method)modules/estorides_importer.py:683def attack_targets(self)-- IPs actionable for the attack graph and auto_loop queue. -
ensure_directories(function)modules/estorides_importer.py:694def ensure_directories()-- Ensure sessions/ directories exist. -
EstoridesToLazyOwnBridge.__init__(method)modules/estorides_importer.py:703def __init__(self, db_path, config_path) -
EstoridesToLazyOwnBridge.import_entities(method)modules/estorides_importer.py:711def import_entities(self, entities, add_to_scope, add_to_db)-- Import entities into LazyOwn DB and optionally scope. -
EstoridesToLazyOwnBridge.get_combined_surface(method)modules/estorides_importer.py:834def get_combined_surface(self)-- Get the combined attack surface from LazyOwn DB + scope. -
FeedbackLoop.__init__(method)modules/estorides_importer.py:892def __init__(self, max_iterations, max_depth, max_steps, timeout) -
FeedbackLoop.run(method)modules/estorides_importer.py:908def run(self, seed_methods)-- Run the feedback loop. -
export_combined_graph(function)modules/estorides_importer.py:1027def export_combined_graph(output_path)-- Export the combined (Estorides + LazyOwn) graph as GraphML.
Imported by: cli/commands/evasive_payload.py, skills/lazyown_mcp.py
-
EvasionEngine.__init__(method)modules/evasion_engine.py:130def __init__(self, config) -
EvasionEngine.set_config(method)modules/evasion_engine.py:136def set_config(self, config) -
EvasionEngine.generate_profile(method)modules/evasion_engine.py:244def generate_profile(self, os_family) -
EvasionEngine.rotate_profile(method)modules/evasion_engine.py:264def rotate_profile(self, os_family) -
EvasionEngine.get_active_profile(method)modules/evasion_engine.py:269def get_active_profile(self) -
EvasionEngine.get_beacon_config(method)modules/evasion_engine.py:272def get_beacon_config(self) -
EvasionEngine.morph_traffic(method)modules/evasion_engine.py:287def morph_traffic(self, config) -
EvasionEngine.get_history(method)modules/evasion_engine.py:328def get_history(self) -
EvasionEngine.profile_to_json(method)modules/evasion_engine.py:343def profile_to_json(self, profile)
Imported by: cli/commands/evasive_payload.py
-
EvasivePayloadGenerator.__init__(method)modules/evasive_payloads.py:84def __init__(self) -
EvasivePayloadGenerator.generate_powershell_obfuscated(method)modules/evasive_payloads.py:138def generate_powershell_obfuscated(self, payload, obfuscation_level)-- Generate an obfuscated PowerShell payload. -
EvasivePayloadGenerator.generate_javascript_obfuscated(method)modules/evasive_payloads.py:178def generate_javascript_obfuscated(self, payload)-- Generate an obfuscated JavaScript payload. -
EvasivePayloadGenerator.generate_vba_obfuscated(method)modules/evasive_payloads.py:197def generate_vba_obfuscated(self, payload)-- Generate an obfuscated VBA macro payload. -
EvasivePayloadGenerator.generate_linux_evasive(method)modules/evasive_payloads.py:214def generate_linux_evasive(self, rhost, rport, technique)-- Generate an evasive Linux reverse shell payload. -
EvasivePayloadGenerator.generate_shellcode_loader_powershell(method)modules/evasive_payloads.py:239def 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:284def generate_lolbas_execution(self, payload_url, technique)-- Generate a LOLBAS-based payload execution command. -
EvasivePayloadGenerator.generate_polymorphic_command(method)modules/evasive_payloads.py:334def generate_polymorphic_command(self, base_cmd, iterations)-- Generate a polymorphic command that mutates at each execution. -
EvasivePayloadGenerator.list_techniques(method)modules/evasive_payloads.py:374def list_techniques(self)-- Return all available evasion techniques.
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
-
LazyEvent.to_dict(method)modules/event_bus.py:96def to_dict(self) -
LazyEvent.to_json(method)modules/event_bus.py:111def to_json(self) -
LazyEvent.from_dict(method)modules/event_bus.py:115def from_dict(cls, d) -
Sink.write(method)modules/event_bus.py:137def write(self, event) -
Sink.close(method)modules/event_bus.py:140def close(self) -
JsonlSink.__init__(method)modules/event_bus.py:146def __init__(self, filepath) -
JsonlSink.write(method)modules/event_bus.py:151def write(self, event) -
JsonlSink.close(method)modules/event_bus.py:159def close(self) -
CollabBusSink.__init__(method)modules/event_bus.py:166def __init__(self) -
CollabBusSink.write(method)modules/event_bus.py:181def write(self, event) -
CollabBusSink.close(method)modules/event_bus.py:198def close(self) -
EngagementSink.write(method)modules/event_bus.py:205def write(self, event) -
EngagementSink.close(method)modules/event_bus.py:226def close(self) -
UnifiedEventBus.__init__(method)modules/event_bus.py:255def __init__(self) -
UnifiedEventBus.instance(method)modules/event_bus.py:287def instance(cls) -
UnifiedEventBus.subscriber_count(method)modules/event_bus.py:295def subscriber_count(self)-- Return the number of active subscribers across all registration types. -
UnifiedEventBus.subscribe(method)modules/event_bus.py:300def subscribe(self, subscriber_id, callback)-- Register a callback for all events. -
UnifiedEventBus.subscribe_topic(method)modules/event_bus.py:305def subscribe_topic(self, subscriber_id, topic, callback)-- Register a callback for events matching a topic. -
UnifiedEventBus.subscribe_async(method)modules/event_bus.py:315def subscribe_async(self, subscriber_id)-- Get a Queue for async event consumption (for SSE, WebSocket, etc.). -
UnifiedEventBus.unsubscribe(method)modules/event_bus.py:327def unsubscribe(self, subscriber_id)-- Remove all subscriptions for a subscriber. -
UnifiedEventBus.publish(method)modules/event_bus.py:336def publish(self, event)-- Publish an event via the bounded dispatch queue. -
UnifiedEventBus.drain(method)modules/event_bus.py:354def drain(self)-- Consume and drop all pending events from the dispatch queue. -
UnifiedEventBus.shutdown(method)modules/event_bus.py:372def shutdown(self)-- Shut down the event bus cleanly. -
UnifiedEventBus.history(method)modules/event_bus.py:556def history(self, n, category)-- Return recent events, optionally filtered by category. -
UnifiedEventBus.history_since(method)modules/event_bus.py:564def history_since(self, since_ts)-- Return all events since a given timestamp. -
get_event_bus(function)modules/event_bus.py:570def get_event_bus()-- Return the singleton UnifiedEventBus instance. -
publish_event(function)modules/event_bus.py:575def publish_event(category, event_type, source, payload, severity, target, operator)-- Convenience function to build and publish an event in one call.
Depends on: core/logging.py, modules/event_bus.py, modules/state_manager.py
Imported by: lazyc2.py, lazyown.py, skills/autonomous_daemon.py
-
PhaseTracker.__init__(method)modules/event_consumers.py:156def __init__(self) -
PhaseTracker.__call__(method)modules/event_consumers.py:159def __call__(self, event) -
AutoRecommender.__init__(method)modules/event_consumers.py:204def __init__(self) -
AutoRecommender.__call__(method)modules/event_consumers.py:207def __call__(self, event) -
CredentialReactor.__call__(method)modules/event_consumers.py:282def __call__(self, event) -
SoulSync.__call__(method)modules/event_consumers.py:323def __call__(self, event) -
DashboardPusher.__call__(method)modules/event_consumers.py:361def __call__(self, event) -
wire_all_consumers(function)modules/event_consumers.py:380def wire_all_consumers(bus)-- Register all event consumers on the UnifiedEventBus. -
unwire_all_consumers(function)modules/event_consumers.py:409def unwire_all_consumers(bus)-- Remove all event consumers from the bus.
Imported by: lazyc2.py, skills/heartbeat.py, skills/lazyown_daemon.py, skills/lazyown_mcp.py, skills/sessions_watcher.py
-
load_rules(function)modules/event_engine.py:99def load_rules()-- Load rules from event_rules.json, creating it with defaults if missing. -
save_rules(function)modules/event_engine.py:110def save_rules(rules) -
add_rule(function)modules/event_engine.py:114def add_rule(rule)-- Add or replace a rule by id. -
process_new_rows(function)modules/event_engine.py:181def process_new_rows()-- Read new rows from the session CSV since last watermark. -
read_events(function)modules/event_engine.py:250def read_events(limit, status)-- Return up tolimitevents matchingstatus(pending/processed/all). -
ack_event(function)modules/event_engine.py:270def ack_event(event_id)-- Mark an event as processed.
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:37def hash_bytes(data)-- Return the lowercase hex SHA-256 of data. -
EvidenceStore.__init__(method)modules/evidence.py:57def __init__(self, base_dir)-- Create vault directories. -
EvidenceStore.blob_path(method)modules/evidence.py:65def blob_path(self, content_hash)-- Resolve the canonical path for a validated hash. -
EvidenceStore.put(method)modules/evidence.py:70def put(self, data)-- Atomically store bytes and return their SHA-256 hash. -
EvidenceStore.get(method)modules/evidence.py:90def get(self, content_hash)-- Read and verify blob bytes for a hash. -
EvidenceStore.exists(method)modules/evidence.py:98def exists(self, content_hash)-- Return True when the blob exists on disk. -
EvidenceStore.garbage_collect(method)modules/evidence.py:105def garbage_collect(self, referenced)-- Remove unreferenced blobs older than the grace period.
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:147static inline key_serial_t add_key(const char *type, const char *description, const void *payload... -
keyctl(function)modules/exp.c:151static inline long keyctl(int operation, unsigned long arg2, unsigned long arg3, unsigned long ar... -
bye(function)modules/exp.c:155void bye(char *info) -
do_error_exit(function)modules/exp.c:161void do_error_exit(char *info) -
bye2(function)modules/exp.c:167void bye2(char *info, char *arg) -
spray_keyring(function)modules/exp.c:172key_serial_t *spray_keyring(uint32_t start, uint32_t spray_size) -
spray_keyring_list_del_purpose(function)modules/exp.c:190key_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:214key_serial_t *spray_keyring_list_overwrite_purpose(uint32_t spray_size, uint64_t len, uint64_t of... -
get_keyring_leak(function)modules/exp.c:248int get_keyring_leak(key_serial_t *id_buffer, uint32_t id_buffer_size) -
awake_partial_keys(function)modules/exp.c:271void awake_partial_keys(key_serial_t *id_buffer, uint32_t idx) -
release_keys(function)modules/exp.c:279void release_keys(key_serial_t *id_buffer, uint32_t id_buffer_size) -
release_partial_keys(function)modules/exp.c:290void release_partial_keys(key_serial_t *id_buffer, int i) -
unshare_setup(function)modules/exp.c:297void unshare_setup(uid_t uid, gid_t gid) -
set_stable_table_and_set(function)modules/exp.c:322void set_stable_table_and_set(struct mnl_socket* nl, const char *name) -
set_trigger_set_and_overwrite(function)modules/exp.c:385void set_trigger_set_and_overwrite(struct mnl_socket* nl, const char *name, const char *set_name) -
set_cpu_affinity(function)modules/exp.c:438void set_cpu_affinity(int cpu_n, pid_t pid) -
spray_mqueue(function)modules/exp.c:448void spray_mqueue(mqd_t mqdes, char *msgptr, int spray_size) -
gather_mqueue(function)modules/exp.c:463int gather_mqueue(mqd_t mqdes, int gather_size) -
gather_mqueue_nosave(function)modules/exp.c:485int gather_mqueue_nosave(mqd_t mqdes, int gather_size) -
spray_msg_msg(function)modules/exp.c:496void spray_msg_msg(unsigned int size, unsigned int amount, int qid) -
io_uring_setup(function)modules/exp.c:520static inline int io_uring_setup(uint32_t entries, struct io_uring_params *p) -
io_uring_register(function)modules/exp.c:524static inline int io_uring_register(int fd, unsigned int opcode, void *arg, unsigned int nr_args) -
spray_uring(function)modules/exp.c:529struct fd_uring *spray_uring(uint32_t spray_size, struct fd_uring *fd_buffer) -
release_uring(function)modules/exp.c:546void release_uring(struct fd_uring *fd_buffer, uint32_t buffer_size) -
release_partial_uring(function)modules/exp.c:554void release_partial_uring(struct fd_uring *fd_buffer, uint32_t buffer_idx) -
prepare_root_shell(function)modules/exp.c:559void prepare_root_shell(void) -
create_dummy_file(function)modules/exp.c:564void create_dummy_file(void) -
create_priv_file(function)modules/exp.c:572void create_priv_file(void) -
write_new_modprobe(function)modules/exp.c:582void write_new_modprobe() -
setup_modprobe_payload(function)modules/exp.c:601void setup_modprobe_payload() -
userland_T(function)modules/exp.c:605void userland_T(int *sema) -
sema_up(function)modules/exp.c:610void sema_up(int *sema) -
sema_down(function)modules/exp.c:615void sema_down(int *sema) -
main(function)modules/exp.c:620int main(int argc, char ** argv)
Depends on: modules/outcome_bus.py
Imported by: cli/commands/exploit_migrated.py
-
ExploitChain.__init__(method)modules/exploit_chain.py:292def __init__(self, rhost, rport, lhost, lport, sessions_dir, nmap_xml_path) -
ExploitChain.fingerprint_services(method)modules/exploit_chain.py:311def fingerprint_services(self, nmap_output)-- Parse service information from all available nmap XML files. -
ExploitChain.map_vulnerabilities(method)modules/exploit_chain.py:446def map_vulnerabilities(self)-- Map discovered services to known vulnerabilities. -
ExploitChain.generate_exploit_plan(method)modules/exploit_chain.py:499def generate_exploit_plan(self)-- Generate a prioritized exploitation plan. -
ExploitChain.get_post_exploit_commands(method)modules/exploit_chain.py:519def get_post_exploit_commands(self, platform)-- Return recommended post-exploitation commands for the platform. -
ExploitChain.generate_report(method)modules/exploit_chain.py:531def generate_report(self)-- Generate a structured exploitation chain report. -
ExploitChain.save_report(method)modules/exploit_chain.py:566def save_report(self, path)-- Save the exploitation chain report to a file.
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
-
parse_version(function)modules/exploit_recommender.py:25def parse_version(v) -
ExploitRecommender.__init__(method)modules/exploit_recommender.py:120def __init__(self, world_model) -
ExploitRecommender.set_world_model(method)modules/exploit_recommender.py:129def set_world_model(self, world_model) -
ExploitRecommender.set_nvd_api_key(method)modules/exploit_recommender.py:132def set_nvd_api_key(self, key) -
ExploitRecommender.match_services(method)modules/exploit_recommender.py:244def match_services(self, hosts)-- Match discovered services against known CVEs with confidence scoring. -
ExploitRecommender.recommend(method)modules/exploit_recommender.py:337def recommend(self, hosts, top_n)-- Return top-N recommended exploits as structured dicts for MCP/CLI. -
ExploitRecommender.persist_recommendations(method)modules/exploit_recommender.py:370def persist_recommendations(self, matches)-- Save recommendations to sessions/ for audit and replay. -
ExploitRecommender.format_for_llm(method)modules/exploit_recommender.py:390def format_for_llm(self, matches, max_items)-- Format recommendations as compact text for LLM context injection.
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:112def check_readiness(params)-- Report whether the ExploitGym harness can run. -
list_tasks(function)modules/exploitgym_gym.py:178def list_tasks(params, domain, limit)-- List available ExploitGym tasks, optionally filtered by domain. -
setup_harness(function)modules/exploitgym_gym.py:249def setup_harness(params, steps)-- Automate ExploitGym installation (clone, deps, data, firewall, images). -
pull_task(function)modules/exploitgym_gym.py:344def pull_task(task_id, params, timeout)-- Pull the Docker image required by a task. -
run_task(function)modules/exploitgym_gym.py:423def 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:548def verify_flag(task_id, params)-- Verify whether a task flag was captured from a previous run. -
score_task(function)modules/exploitgym_gym.py:565def score_task(task_id, success, techniques, params)-- Award Red Team Gym ELO and leaderboard points for a task outcome.
-
log_timestamp(function)modules/fast_run_service.sh:69-- # # Logging primitives. -
log_info(function)modules/fast_run_service.sh:73 -
log_warn(function)modules/fast_run_service.sh:77 -
log_error(function)modules/fast_run_service.sh:81 -
require_root(function)modules/fast_run_service.sh:89-- # # Pre-flight checks. -
require_deps(function)modules/fast_run_service.sh:97 -
require_paths(function)modules/fast_run_service.sh:113 -
prepare_runtime_dirs(function)modules/fast_run_service.sh:126 -
load_config(function)modules/fast_run_service.sh:139 -
config_truthy(function)modules/fast_run_service.sh:155 -
pid_file_for(function)modules/fast_run_service.sh:166-- # # PID-file primitives. -
log_file_for(function)modules/fast_run_service.sh:171 -
read_pid_value(function)modules/fast_run_service.sh:176 -
is_pid_alive(function)modules/fast_run_service.sh:189 -
is_service_running(function)modules/fast_run_service.sh:194 -
write_pid_file(function)modules/fast_run_service.sh:201 -
ensure_log_file(function)modules/fast_run_service.sh:211 -
spawn_as_target_user(function)modules/fast_run_service.sh:228-- # # Process spawn primitives. -
spawn_as_root(function)modules/fast_run_service.sh:247 -
terminate_pid_tree(function)modules/fast_run_service.sh:264 -
stop_named_service(function)modules/fast_run_service.sh:292 -
chown_project_tree(function)modules/fast_run_service.sh:310-- # # Ownership maintenance. -
start_chown_watcher(function)modules/fast_run_service.sh:315 -
start_lazyc2_service(function)modules/fast_run_service.sh:342-- # # Concrete service launchers. -
start_www_service(function)modules/fast_run_service.sh:356 -
start_vpn_service(function)modules/fast_run_service.sh:363 -
start_discord_service(function)modules/fast_run_service.sh:380 -
start_telegram_service(function)modules/fast_run_service.sh:390 -
start_cloudflare_service(function)modules/fast_run_service.sh:400 -
start_ollama_service(function)modules/fast_run_service.sh:410 -
managed_services_in_order(function)modules/fast_run_service.sh:429-- # # Service registry. -
cmd_start(function)modules/fast_run_service.sh:445-- # # Lifecycle commands. -
cmd_stop(function)modules/fast_run_service.sh:465 -
cmd_restart(function)modules/fast_run_service.sh:480 -
cmd_status(function)modules/fast_run_service.sh:486 -
cmd_logs(function)modules/fast_run_service.sh:505 -
cmd_chown_now(function)modules/fast_run_service.sh:521 -
usage(function)modules/fast_run_service.sh:528 -
main(function)modules/fast_run_service.sh:557-- # # Entry point. require_root re-executes under sudo and never returns there; # the case-arm dispatch is reached...
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:61def confirm(finding_id, evidence, sessions_dir, by)-- Mark a finding confirmed with linked evidence (CAIRN seed-add). -
reject(function)modules/finding_lifecycle.py:90def 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:104def 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:116def 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:123def suppressed_values(sessions_dir)-- Return every suppressed value for text-level filtering by the loop. -
resolve(function)modules/finding_lifecycle.py:129def resolve(node, sessions_dir)-- Resolve a finding node's confirmation state. -
apply_confirmation(function)modules/finding_lifecycle.py:154def apply_confirmation(nodes, sessions_dir)-- Stampconfirmation/statuson every finding node in place. -
record(function)modules/finding_lifecycle.py:234def 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:259def findings_for(db, workspace)-- List campaign findings with parsed status markers. -
set_status(function)modules/finding_lifecycle.py:264def set_status(db, finding_id, status)-- Set the lifecycle status marker on one finding. -
has_running_retest(function)modules/finding_lifecycle.py:310def 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:318def request_retest(db, finding_id, sessions_dir)-- Queue a retest; an already-running one is returned unchanged. -
resolve_retest(function)modules/finding_lifecycle.py:338def 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:384def classify_retest(needle, output)-- Map retest output onto reproducible / fixed / inconclusive. -
render_markdown(function)modules/finding_lifecycle.py:403def render_markdown(db, workspace, title)-- Render campaign findings as a markdown report.
Imported by: cli/commands/opsec_cleanup.py
-
ForensicCleaner.__init__(method)modules/forensic_cleaner.py:67def __init__(self, config) -
ForensicCleaner.windows_cleanup(method)modules/forensic_cleaner.py:70def windows_cleanup(self)-- Generate Windows forensic artifact cleanup commands. -
ForensicCleaner.linux_cleanup(method)modules/forensic_cleaner.py:165def linux_cleanup(self)-- Generate Linux forensic artifact cleanup commands. -
ForensicCleaner.macos_cleanup(method)modules/forensic_cleaner.py:193def macos_cleanup(self)-- Generate macOS forensic artifact cleanup commands. -
ForensicCleaner.windows_prefetch_parse(method)modules/forensic_cleaner.py:221def windows_prefetch_parse(self, prefetch_path)-- Parse Prefetch files to identify what the attacker should clean. -
ForensicCleaner.amcache_parse(method)modules/forensic_cleaner.py:259def amcache_parse(self)-- Parse Amcache registry entries for evidence of execution.
Next: API_p12.md
Generated offline by readmenator from commit 215eaf417d46. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_skills_hermes_lazyown
- community_12_modules_opsec_scorer
- community_13_modules_kerberos_core
- community_14_modules_saas_attacks
- community_15_modules_polymorphic_engine
- community_16_contrib_legacy
- community_17_tests
- community_18_scripts_journal
- community_19_modules_backdoor
- community_1_cli_commands
- community_20_poc_tui
- community_21_scripts_check_contract_manifest
- community_22_scripts_migrate_lazyown
- community_23_tools
- community_24_orphans
- community_2_cli
- community_3_modules_lazy_loop
- community_4_modules_lazyc2
- community_5_static_js
- community_6_lazygui_panels
- community_7_modules_lazyown_facts
- community_8_modules_surface_graph
- community_9_modules_dashboard_engine
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_sinks
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p18
- KB_tests_p2
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p42
- SYMBOLS_p43
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes