Repository navigation
Agent API_p10
Previous: API_p9.md
Depends on: core/logging.py, core/safe_exec.py, modules/auto_registry.py, modules/event_bus.py
Imported by: lazyown.py, modules/auto_registry.py, tests/test_executor_kernel.py, tests/test_lazy_runner.py
-
set_thread_timeout(function)modules/command_executor.py:41def set_thread_timeout(seconds)-- Bound the nextrun_teecall on this thread by wall-clock seconds. -
clear_thread_timeout(function)modules/command_executor.py:46def clear_thread_timeout()-- Remove this thread'srun_teedeadline, if any. -
thread_timeout(function)modules/command_executor.py:54def thread_timeout()-- Return this thread's pendingrun_teedeadline, or None. -
set_thread_stdin_devnull(function)modules/command_executor.py:59def set_thread_stdin_devnull(enabled)-- Detach the nextrun_teechild from the operator terminal. -
clear_thread_stdin_devnull(function)modules/command_executor.py:64def clear_thread_stdin_devnull()-- Restore inherited stdin for this thread'srun_teecalls. -
thread_stdin_devnull(function)modules/command_executor.py:72def thread_stdin_devnull()-- Return True when this thread'srun_teechildren drop stdin. -
CommandExecutor.__init__(method)modules/command_executor.py:118def __init__(self) -
CommandExecutor.instance(method)modules/command_executor.py:122def instance(cls) -
CommandExecutor.add_hook(method)modules/command_executor.py:127def add_hook(self, hook)-- Register a post-execution hook (e.g., for StateManager or metrics). -
CommandExecutor.run(method)modules/command_executor.py:131def run(self, command, timeout, stream)-- Execute a shell command and return the result. -
CommandExecutor.run_passthrough(method)modules/command_executor.py:179def run_passthrough(self, command, env)-- Run a command with stdio inherited, returning its exit code. -
CommandExecutor.run_tee(method)modules/command_executor.py:194def run_tee(self, command)-- Run a command teeing raw output bytes to a writer and a log file. -
CommandExecutor.run_with_tee(method)modules/command_executor.py:358def run_with_tee(self, command, output_path, timeout)-- Execute a command and tee output to a file. -
get_executor(function)modules/command_executor.py:426def get_executor()
Depends on: core/logging.py
Imported by: lazyc2.py
-
EvidenceChain.__init__(method)modules/compliance.py:357def __init__(self, sessions_dir) -
EvidenceChain.add_file(method)modules/compliance.py:383def add_file(self, filepath, operator, description) -
EvidenceChain.verify(method)modules/compliance.py:410def verify(self) -
EvidenceChain.get_chain_digest(method)modules/compliance.py:429def get_chain_digest(self) -
EvidenceChain.to_report(method)modules/compliance.py:432def to_report(self) -
export_pdf(function)modules/compliance.py:449def export_pdf(report_md, output_path, title, classification)-- Export a Markdown report to PDF using fpdf2. -
export_to_elastic_ndjson(function)modules/compliance.py:533def export_to_elastic_ndjson(findings, output_path, index_prefix)-- Export findings as Elasticsearch NDJSON bulk format. -
export_to_cef(function)modules/compliance.py:572def export_to_cef(findings, output_path, vendor, product, version)-- Export findings in CEF (Common Event Format) for ArcSight/QRadar/Splunk. -
ComplianceEngine.__init__(method)modules/compliance.py:635def __init__(self, sessions_dir) -
ComplianceEngine.map_findings_to_compliance(method)modules/compliance.py:639def map_findings_to_compliance(self, findings, frameworks)-- Map findings to compliance framework controls. -
ComplianceEngine.generate_compliance_report(method)modules/compliance.py:710def generate_compliance_report(self, findings, include_evidence_chain, include_siem_formats)-- Generate a full compliance report with evidence chain and optional SIEM export. -
ComplianceEngine.export_pdf(method)modules/compliance.py:831def export_pdf(self, report, output_path) -
ComplianceEngine.add_evidence(method)modules/compliance.py:901def add_evidence(self, filepath, operator, description) -
ComplianceEngine.verify_evidence_chain(method)modules/compliance.py:904def verify_evidence_chain(self)
Depends on: core/logging.py, core/safe_exec.py, modules/credential_reuse.py, modules/state_manager.py
Imported by: cli/commands/automation.py, lazyc2.py, lazyc2/blueprints/beacon.py, tests/test_conditional_hooks_extended.py
-
HookRule.can_fire(method)modules/conditional_hooks.py:56def can_fire(self, now) -
HookRule.mark_fired(method)modules/conditional_hooks.py:65def mark_fired(self) -
HookRule.to_dict(method)modules/conditional_hooks.py:69def to_dict(self) -
HookEngine.__init__(method)modules/conditional_hooks.py:270def __init__(self) -
HookEngine.register_action_handler(method)modules/conditional_hooks.py:277def register_action_handler(self, action_type, handler)-- Register a handler for a custom action type. -
HookEngine.set_placeholders(method)modules/conditional_hooks.py:286def set_placeholders(self, placeholders)-- Set placeholder values for command templating (rhost, lhost, etc.). -
HookEngine.load_rules(method)modules/conditional_hooks.py:290def load_rules(self, path)-- Load rules from JSON file, or create it with defaults. -
HookEngine.save_rules(method)modules/conditional_hooks.py:322def save_rules(self, path)-- Persist current rules to JSON. -
HookEngine.add_rule(method)modules/conditional_hooks.py:330def add_rule(self, rule_dict)-- Add a rule at runtime. -
HookEngine.remove_rule(method)modules/conditional_hooks.py:345def remove_rule(self, name)-- Remove a rule by name. -
HookEngine.enable_rule(method)modules/conditional_hooks.py:359def enable_rule(self, name, enabled)-- Enable or disable a rule by name. -
HookEngine.fire(method)modules/conditional_hooks.py:516def fire(self, event, context)-- Fire an event, evaluating all matching rules. -
HookEngine.list_rules(method)modules/conditional_hooks.py:571def list_rules(self)-- Return all rules as dictionaries. -
HookEngine.get_rule(method)modules/conditional_hooks.py:575def get_rule(self, name)-- Return a single rule by name, or None. -
get_hook_engine(function)modules/conditional_hooks.py:586def get_hook_engine()-- Return the singleton :class:HookEngine.
Depends on: core/config.py, core/logging.py
Imported by: tests/test_core_modules.py
-
init(function)modules/config_store.py:36def init(path, watch)-- Initialise the config store (idempotent). -
get_config(function)modules/config_store.py:53def get_config(key, default)-- Return a config value (or the full dict when key is empty). -
set_config(function)modules/config_store.py:66def set_config()-- Update one or more keys and persist to disk atomically. -
set_config_dict(function)modules/config_store.py:80def set_config_dict(updates)-- Bulk-update from a dict and persist to disk. -
reload_config(function)modules/config_store.py:90def reload_config()-- Force reload from disk (discards in-memory changes). -
stop_watcher(function)modules/config_store.py:96def stop_watcher()-- Stop the file-watcher background thread (if running).
Depends on: core/logging.py
Imported by: cli/commands/automation.py, lazyc2.py, lazyc2/blueprints/beacon.py, modules/conditional_hooks.py
-
ReuseCandidate.to_dict(method)modules/credential_reuse.py:43def to_dict(self) -
CredentialReuseEngine.__init__(method)modules/credential_reuse.py:80def __init__(self) -
CredentialReuseEngine.mark_failed(method)modules/credential_reuse.py:107def mark_failed(self, username, password, host)-- Record that a credential did NOT work against a host. -
CredentialReuseEngine.mark_confirmed(method)modules/credential_reuse.py:112def mark_confirmed(self, username, password, host)-- Record that a credential worked against a host. -
CredentialReuseEngine.rank(method)modules/credential_reuse.py:226def rank(self, hosts, creds, host_services, limit)-- Score all (cred, host) pairs and return top candidates. -
CredentialReuseEngine.suggest_from_state_manager(method)modules/credential_reuse.py:278def suggest_from_state_manager(self, state_manager, limit)-- Convenience: rank creds using hosts and creds from StateManager. -
CredentialReuseEngine.suggest_from_world_model(method)modules/credential_reuse.py:308def suggest_from_world_model(self, world_model, limit)-- Convenience: rank creds using hosts and creds from WorldModel. -
CredentialReuseEngine.get_summary(method)modules/credential_reuse.py:338def get_summary(self, candidates)-- Format candidates as a human-readable summary string. -
get_credential_reuse_engine(function)modules/credential_reuse.py:358def get_credential_reuse_engine()-- Return the singleton :class:CredentialReuseEngine.
Imported by: cli/commands/cloud_attacks.py
-
CrossCloudAttackEngine.__init__(method)modules/cross_cloud.py:64def __init__(self, config) -
CrossCloudAttackEngine.azure_saml_to_aws(method)modules/cross_cloud.py:67def azure_saml_to_aws(self)-- Abuse Azure AD SAML federation to gain AWS access. -
CrossCloudAttackEngine.gcp_oidc_to_azure(method)modules/cross_cloud.py:104def gcp_oidc_to_azure(self)-- Abuse GCP OIDC federation to gain Azure access. -
CrossCloudAttackEngine.aws_oidc_to_gcp(method)modules/cross_cloud.py:133def aws_oidc_to_gcp(self)-- Abuse AWS OIDC federation to gain GCP access. -
CrossCloudAttackEngine.multi_cloud_imds_harvesting(method)modules/cross_cloud.py:167def multi_cloud_imds_harvesting(self)-- Harvest metadata from all cloud providers simultaneously. -
CrossCloudAttackEngine.entra_id_to_gcp_workforce_federation(method)modules/cross_cloud.py:204def entra_id_to_gcp_workforce_federation(self)-- Exploit Entra ID to GCP workforce identity federation. -
CrossCloudAttackEngine.detect_cross_cloud_federation(method)modules/cross_cloud.py:234def detect_cross_cloud_federation(self)-- Detect cross-cloud federation configurations for attack surface mapping. -
CrossCloudAttackEngine.summary(method)modules/cross_cloud.py:258def summary(self)
Depends on: modules/auto_registry.py, modules/lazy_loop.py, modules/notify.py
Imported by: cli/commands/lazyops.py, modules/lazy_loop.py, modules/lazy_runner.py, tests/test_lazy_loop.py
-
add_tool(function)modules/custom_tools.py:52def add_tool(name, kind, target, description, method, body, timeout, trigger)-- Register or replace one custom tool. -
remove_tool(function)modules/custom_tools.py:97def remove_tool(name)-- Delete a tool by name. -
list_tools(function)modules/custom_tools.py:109def list_tools()-- Return every registered tool. -
get_tool(function)modules/custom_tools.py:114def get_tool(name)-- Find one tool by name. -
match_tools(function)modules/custom_tools.py:128def match_tools(text, limit)-- Rank tools whose name/description/trigger keywords appear in the text. -
run_tool(function)modules/custom_tools.py:151def run_tool(name, arg, on_output)-- Execute one custom tool and return its transcript.
Depends on: core/logging.py
Imported by: skills/lazyown_mcp.py, tests/test_core_modules.py
-
CVEMatcher.__init__(method)modules/cve_matcher.py:70def __init__(self, api_key, cache_dir) -
CVEMatcher.search(method)modules/cve_matcher.py:82def search(self)-- Search CVEs by product / version keywords. -
CVEMatcher.search_by_cpe(method)modules/cve_matcher.py:89def search_by_cpe(self, cpe_name, max_results)-- Search CVEs by CPE 2.3 string. -
get_matcher(function)modules/cve_matcher.py:198def get_matcher()-- Return (or create) the module-level singleton CVEMatcher. -
search(function)modules/cve_matcher.py:206def search(product, version, max_results)-- Module-level convenience wrapper.
Imported by: cli/commands/active_directory.py
-
DACLAbuseEngine.__init__(method)modules/dacl_abuse.py:136def __init__(self, domain, domain_sid, acl_data) -
DACLAbuseEngine.parse_bloodhound_acls(method)modules/dacl_abuse.py:143def parse_bloodhound_acls(self, edges)-- Parse BloodHound edge data to extract exploitable ACLs. -
DACLAbuseEngine.parse_raw_aces(method)modules/dacl_abuse.py:182def parse_raw_aces(self, raw_nthashes)-- Parse raw ACE data from ntSecurityDescriptor parsing. -
DACLAbuseEngine.compute_attack_chains(method)modules/dacl_abuse.py:224def compute_attack_chains(self)-- Generate exploitation plans for all discovered ACL targets. -
DACLAbuseEngine.adminsdholder_abuse_plan(method)modules/dacl_abuse.py:291def adminsdholder_abuse_plan(self, target_sid)-- Generate an AdminSDHolder abuse plan. -
DACLAbuseEngine.dcsync_rights_assignment_plan(method)modules/dacl_abuse.py:318def dcsync_rights_assignment_plan(self, target_sid, domain_dn)-- Generate a DCSync rights assignment plan. -
DACLAbuseEngine.owner_takeover_plan(method)modules/dacl_abuse.py:348def owner_takeover_plan(self, target_dn, attacker_sid)-- Generate an ownership takeover plan. -
DACLAbuseEngine.summary(method)modules/dacl_abuse.py:418def summary(self)-- Return a summary of all DACL/SACL abuse findings.
Imported by: lazyc2.py, tests/test_core_modules.py, tests/test_dashboard_routes.py
-
dashboard_index(function)modules/dashboard_bp.py:778def dashboard_index()-- Render the main SOC dashboard HTML page. -
dashboard_api_data(function)modules/dashboard_bp.py:784def dashboard_api_data()-- JSON snapshot of all dashboard data. -
dashboard_loot(function)modules/dashboard_bp.py:902def dashboard_loot()-- Render the loot browser: captured credentials, hashes and files. -
dashboard_timeline(function)modules/dashboard_bp.py:1017def dashboard_timeline()-- Render the campaign timeline: commands and events, newest first.
Imported by: cli/commands/pwn.py, modules/rich_tui.py, modules/unified_dashboard.py, skills/lazyown_mcp.py
-
DashboardEngine.__init__(method)modules/dashboard_engine.py:139def __init__(self, world_model) -
DashboardEngine.set_world_model(method)modules/dashboard_engine.py:148def set_world_model(self, model) -
DashboardEngine.set_exploit_recommender(method)modules/dashboard_engine.py:151def set_exploit_recommender(self, recommender) -
DashboardEngine.set_auto_pivot(method)modules/dashboard_engine.py:154def set_auto_pivot(self, pivot) -
DashboardEngine.set_evasion_engine(method)modules/dashboard_engine.py:157def set_evasion_engine(self, evasion) -
DashboardEngine.build_snapshot(method)modules/dashboard_engine.py:160def build_snapshot(self)-- Build a complete dashboard snapshot from all data sources. -
DashboardEngine.render_text_map(method)modules/dashboard_engine.py:276def render_text_map(self, snapshot)-- Render a text-based network map from a dashboard snapshot. -
DashboardEngine.render_ascii_topology(method)modules/dashboard_engine.py:358def render_ascii_topology(self, snapshot)-- Render an ASCII-art topology tree from a snapshot. -
DashboardEngine.export_json(method)modules/dashboard_engine.py:408def export_json(self, snapshot)-- Export dashboard snapshot as JSON string. -
DashboardEngine.persist_snapshot(method)modules/dashboard_engine.py:421def persist_snapshot(self, snapshot)-- Persist dashboard snapshot to sessions/dashboard_snapshot.json. -
DashboardEngine.format_for_cli(method)modules/dashboard_engine.py:438def format_for_cli(self, snapshot)-- Compact single-line status for CLI prompt integration.
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/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.
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.
Imported by: cli/commands/lateral_migrated.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: 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/state_manager.py, modules/unified_bridge.py, skills/lazyown_mcp.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.
Next: API_p11.md
Generated offline by readmenator from commit 3572cf8f9c41. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_core
- community_12_modules_finding_lifecycle
- 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_utils
- 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_lazygui_panels
- community_6_static_js
- community_7_modules_lazyown_facts
- community_8_modules_opsec_scorer
- community_9_cli_commands_c2_profile_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_p24
- 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
- ARCHITECTURE_p8
- ARCHITECTURE_p9
- 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_p16
- 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_p19
- 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_p44
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes