Skip to content

Agent API_p14

grisun0 edited this page Oct 16, 2026 · 20 revisions

API (page 14 of 23)

Previous: API_p13.md

modules/lazycloud.py

Imported by: cli/commands/cloud.py

  • CloudMetadataHarvester.__init__ (method) modules/lazycloud.py:111 def __init__(self, timeout)
  • CloudMetadataHarvester.session (method) modules/lazycloud.py:116 def session(self)
  • CloudMetadataHarvester.harvest_aws (method) modules/lazycloud.py:139 def harvest_aws(self) -- Harvest AWS EC2 instance metadata (IMDSv2 capable).
  • CloudMetadataHarvester.harvest_azure (method) modules/lazycloud.py:184 def harvest_azure(self) -- Harvest Azure instance metadata.
  • CloudMetadataHarvester.harvest_gcp (method) modules/lazycloud.py:208 def harvest_gcp(self) -- Harvest GCP instance metadata.
  • CloudMetadataHarvester.harvest_all (method) modules/lazycloud.py:231 def harvest_all(self) -- Try all three cloud providers sequentially.
  • CloudBucketEnumerator.__init__ (method) modules/lazycloud.py:251 def __init__(self, timeout)
  • CloudBucketEnumerator.session (method) modules/lazycloud.py:256 def session(self)
  • CloudBucketEnumerator.enumerate_s3 (method) modules/lazycloud.py:278 def enumerate_s3(self, prefix, buckets) -- Enumerate S3 buckets derived from a prefix.
  • CloudBucketEnumerator.enumerate_azure_storage (method) modules/lazycloud.py:303 def enumerate_azure_storage(self, prefix, accounts) -- Enumerate Azure Blob Storage accounts.
  • CloudBucketEnumerator.enumerate_gcp_storage (method) modules/lazycloud.py:321 def enumerate_gcp_storage(self, prefix, buckets) -- Enumerate GCP Storage buckets.
  • CloudIAMEnumerator.enumerate_aws_iam (method) modules/lazycloud.py:345 def enumerate_aws_iam(self, access_key, secret_key, session_token) -- Enumerate AWS IAM (requires valid credentials).
  • CloudScanner.__init__ (method) modules/lazycloud.py:393 def __init__(self, target_domain, timeout)
  • CloudScanner.full_scan (method) modules/lazycloud.py:400 def full_scan(self, target_prefix, sessions_dir) -- Perform a comprehensive cloud security scan.
  • CloudScanner.quick_metadata (method) modules/lazycloud.py:456 def quick_metadata(self) -- Fast metadata-only harvest (no bucket enumeration).
  • CloudScanner.quick_buckets (method) modules/lazycloud.py:460 def quick_buckets(self, prefix) -- Fast S3-only bucket check.

modules/lazycurl.sh

modules/lazyencoder_decoder.py

Imported by: contrib/legacy/lazycreate_webshell.py, contrib/legacy/lazylogpoisoning.py, contrib/legacy/lazyreversentlmv2.py, modules/test_lazyencoder_decoder.py, utils.py

modules/lazyevilwimrm.sh

modules/lazyk8s.py

Imported by: cli/commands/containers.py

  • DockerEnumerator.__init__ (method) modules/lazyk8s.py:44 def __init__(self, socket_path)
  • DockerEnumerator.is_socket_accessible (method) modules/lazyk8s.py:47 def is_socket_accessible(self) -- Check if the Docker socket is readable/writable.
  • DockerEnumerator.list_containers (method) modules/lazyk8s.py:70 def list_containers(self) -- List all containers with extended information.
  • DockerEnumerator.list_images (method) modules/lazyk8s.py:94 def list_images(self) -- List all Docker images.
  • DockerEnumerator.inspect_container (method) modules/lazyk8s.py:118 def inspect_container(self, container_id) -- Get detailed configuration of a container (privileged, mounts, capabilities).
  • DockerEnumerator.check_privileged_containers (method) modules/lazyk8s.py:137 def check_privileged_containers(self) -- Find containers running with --privileged flag.
  • DockerEnumerator.check_sensitive_mounts (method) modules/lazyk8s.py:162 def check_sensitive_mounts(self) -- Find containers with sensitive host path mounts.
  • DockerEnumerator.check_docker_socket_mount (method) modules/lazyk8s.py:196 def check_docker_socket_mount(self) -- Find containers with the Docker socket mounted (escape vector).
  • DockerEnumerator.check_capabilities (method) modules/lazyk8s.py:217 def check_capabilities(self) -- Find containers with dangerous Linux capabilities.
  • DockerEnumerator.full_check (method) modules/lazyk8s.py:250 def full_check(self) -- Execute all Docker security checks and return aggregated results.
  • K8sEnumerator.__init__ (method) modules/lazyk8s.py:267 def __init__(self, kubeconfig, token, api_server)
  • K8sEnumerator.list_pods (method) modules/lazyk8s.py:366 def list_pods(self, namespace) -- List pods in all namespaces or a specific namespace.
  • K8sEnumerator.list_namespaces (method) modules/lazyk8s.py:390 def list_namespaces(self) -- List all namespaces.
  • K8sEnumerator.list_secrets (method) modules/lazyk8s.py:410 def list_secrets(self, namespace) -- List secrets (without decoding values by default).
  • K8sEnumerator.list_service_accounts (method) modules/lazyk8s.py:462 def list_service_accounts(self, namespace) -- List service accounts and their attached roles.
  • K8sEnumerator.check_rbac (method) modules/lazyk8s.py:498 def check_rbac(self) -- Check current user's RBAC permissions.
  • K8sEnumerator.check_pod_escape_vectors (method) modules/lazyk8s.py:530 def check_pod_escape_vectors(self) -- Check for pod escape vectors in the current pod.
  • K8sEnumerator.full_check (method) modules/lazyk8s.py:582 def full_check(self, sessions_dir) -- Execute all Kubernetes security checks.
  • ContainerEscapeTechniques.detect_current_environment (method) modules/lazyk8s.py:684 def detect_current_environment() -- Detect if running inside a container and identify escape opportunities.
  • ContainerRuntimeDetector.detect_runtime (method) modules/lazyk8s.py:803 def detect_runtime() -- Detect container runtime from multiple indicators.
  • ContainerRuntimeDetector.detect_mounts (method) modules/lazyk8s.py:874 def detect_mounts() -- Detect dangerous mounts in the current container.
  • ContainerRuntimeDetector.detect_dangerous_capabilities (method) modules/lazyk8s.py:921 def detect_dangerous_capabilities() -- Detect dangerous Linux capabilities in the current container.
  • ContainerRuntimeDetector.auto_detect_all (method) modules/lazyk8s.py:992 def auto_detect_all() -- Run comprehensive container escape auto-detection.

modules/lazylynis.sh

modules/lazymasscan.sh

modules/lazynmap.sh

modules/lazyown_bprfuzzer.py

Depends on: modules/backdoor/server.c, modules/security_sanitizers.py

modules/lazyown_bridge.py

Depends on: modules/killchain.py Imported by: modules/unified_bridge.py, skills/lazyown_groq_agents.py, skills/lazyown_mcp.py, tests/test_bridge_catalog_filtered.py, tests/test_core_modules.py, tests/test_exploitgym_gym.py

modules/lazyown_metaextract0r.py

modules/lazyown_parquet_tool.py

modules/lazyownclient.py

modules/lazyownerweb.py

Depends on: core/logging.py, modules/logging_config.py

modules/lazyownserver.py

modules/lazypsexec.sh

modules/lazyreverse_shell.sh

modules/lazyvpnshield.sh

modules/lazywps.sh

modules/lesson_ingestor.py

Depends on: core/logging.py, modules/moe_router.py, modules/rl_trainer.py Imported by: skills/lazyown_campaign.py, tests/test_lesson_ingestor.py

modules/lilsplunky.py

Depends on: core/console.py, core/logging.py, modules/logging_config.py

  • simple_parse_log_line (function) modules/lilsplunky.py:69 def simple_parse_log_line(line, file_path) -- Intenta extraer información básica de una línea de log.
  • store_event (function) modules/lilsplunky.py:108 def store_event(event_data) -- Almacena el evento procesado (diccionario Python) como una línea JSON en el archivo de salida.
  • analyze_with_deepseek (function) modules/lilsplunky.py:123 def analyze_with_deepseek(log_entry_data) -- Sends a single log entry to DeepSeek for analysis.
  • LogFileHandler.__init__ (method) modules/lilsplunky.py:223 def __init__(self, log_dir, mode)
  • LogFileHandler.initialize_file_positions (method) modules/lilsplunky.py:229 def initialize_file_positions(self) -- Set initial position to the end of all currently monitored files.
  • LogFileHandler.is_monitored (method) modules/lilsplunky.py:245 def is_monitored(self, file_path) -- Check if the file path matches any of the monitored patterns.
  • LogFileHandler.process_file (method) modules/lilsplunky.py:257 def process_file(self, file_path) -- Reads new lines from a file since the last known position.
  • LogFileHandler.on_modified (method) modules/lilsplunky.py:331 def on_modified(self, event) -- Triggered when a file or directory is modified.
  • LogFileHandler.on_created (method) modules/lilsplunky.py:336 def on_created(self, event) -- Triggered when a file or directory is created.
  • display_record (function) modules/lilsplunky.py:346 def display_record(record) -- Muestra un registro procesado de forma atractiva en la consola.
  • search_logs (function) modules/lilsplunky.py:382 def search_logs(query, file_path) -- Busca en el archivo de eventos JSONL registros que coincidan (búsqueda simple de substring).
  • start_monitoring (function) modules/lilsplunky.py:413 def start_monitoring(log_dir, mode) -- Starts monitoring the specified log directory.
  • parse_args (function) modules/lilsplunky.py:446 def parse_args()

modules/linux_advanced_payloads.py

Imported by: cli/commands/payload_arsenal.py

modules/listener_manager.py

Depends on: utils.py Imported by: cli/commands/command_and_control_migrated.py, lazyc2.py

modules/live_surface.py

Depends on: modules/world_model.py Imported by: lazyc2.py, modules/unified_dashboard.py, tests/test_live_surface.py

  • build_live_graph (function) modules/live_surface.py:72 def build_live_graph(world) -- Build a live vis-network payload from a world-model snapshot.

modules/llm_adapter.py

Depends on: contrib/legacy/lazydeepseekcli.py, contrib/legacy/lazyphishingai.py, core/logging.py, modules/llm_factory.py, modules/llm_prompts.py Imported by: cli/commands/ai.py, discord_c2.py, lazyc2.py, slack_c2_bot.py, telegram_c2.py, tests/test_llm_adapter_parity.py

  • safe_groq_client (function) modules/llm_adapter.py:48 def safe_groq_client(api_key) -- Create a Groq client, returning None when no key is provided.
  • process_prompt (function) modules/llm_adapter.py:119 def process_prompt(client, prompt, debug) -- Generate a single-line shell command from a user prompt.
  • process_prompt_script (function) modules/llm_adapter.py:133 def process_prompt_script(client, prompt, debug) -- Generate a full script from a user prompt.
  • process_prompt_adversary (function) modules/llm_adapter.py:147 def process_prompt_adversary(client, prompt, debug) -- Answer questions about MITRE ATT&CK techniques and Atomic Red Team.
  • process_prompt_general (function) modules/llm_adapter.py:161 def process_prompt_general(client, prompt, debug) -- Answer as a general red-team assistant with payload.json context.
  • process_prompt_search (function) modules/llm_adapter.py:175 def process_prompt_search(client, prompt, debug) -- Perform research and threat-intelligence analysis.
  • process_prompt_task (function) modules/llm_adapter.py:189 def process_prompt_task(client, prompt, debug) -- Analyze a task-assessment JSON file for completion status.
  • process_prompt_vuln (function) modules/llm_adapter.py:206 def process_prompt_vuln(client, prompt, debug, event) -- Analyze Nmap output for vulnerabilities and propose an action plan.
  • process_prompt_redop (function) modules/llm_adapter.py:237 def process_prompt_redop(client, prompt, debug) -- Evaluate a red-team operation status from a JSON database file.
  • ask_general (function) modules/llm_adapter.py:254 def ask_general(prompt, debug) -- Answer through the configured LLM backend, regardless of provider.

modules/llm_client.py

Depends on: core/logging.py, modules/ai_model.py Imported by: contrib/legacy/lazyaddon_creator.py, modules/llm_factory.py, modules/planner.py, modules/playbook_engine.py, skills/lazyown_mcp.py

modules/llm_evaluator.py

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

modules/llm_factory.py

Depends on: core/llm_budget.py, modules/ai_model.py, modules/llm_client.py, modules/toposwarm_bridge.py Imported by: cli/commands/ai.py, cli/wizard.py, contrib/legacy/lazyllmchat.py, core/payload_schema.py, lazyown.py, modules/agent_runner.py, modules/ai_fallback.py, modules/ai_model.py, modules/lazy_agent.py, modules/lazy_loop.py, modules/llm_adapter.py, modules/mcp_agent_bridge.py, modules/privesc_predictor.py, modules/professional_report.py, modules/vulnbot.py, modules/yaml_generator.py, skills/claude_md_orchestrator/sdd_agent.py, tests/conftest.py, tests/test_ai_commands_llm.py, tests/test_intel_fusion.py, tests/test_lazy_runner.py, tests/test_lazy_streaming.py, tests/test_llm_adapter_parity.py, tests/test_loop_ai_bridge.py, tests/test_loop_llm_resilience.py, tests/test_payload_schema.py, tests/test_wizard_llm.py

  • is_model_missing_error (function) modules/llm_factory.py:121 def is_model_missing_error(message) -- Return True when an error text means the model id is unavailable.
  • groq_model_chain (function) modules/llm_factory.py:141 def groq_model_chain(config) -- Return the ordered Groq model ids to try, configured model first.
  • default_model_for (function) modules/llm_factory.py:224 def default_model_for(backend) -- Return the default model identifier for a backend.
  • model_config_key (function) modules/llm_factory.py:245 def model_config_key(backend) -- Return the [payload.json](https://github.com/grisuno/LazyOwn/blob/146a52570ef792d1ec01ec4d3709b0c159990e47/payload.json) key holding a backend's model override.
  • api_key_config_key (function) modules/llm_factory.py:266 def api_key_config_key(backend) -- Return the [payload.json](https://github.com/grisuno/LazyOwn/blob/146a52570ef792d1ec01ec4d3709b0c159990e47/payload.json) key holding a backend's API key slot.
  • backend_requires_api_key (function) modules/llm_factory.py:291 def backend_requires_api_key(backend) -- Report whether a backend needs an API key to operate.
  • load_payload (function) modules/llm_factory.py:309 def load_payload(payload_path) -- Read [payload.json](https://github.com/grisuno/LazyOwn/blob/146a52570ef792d1ec01ec4d3709b0c159990e47/payload.json) from disk and return it as a dictionary.
  • get_llm_backend (function) modules/llm_factory.py:591 def get_llm_backend(config, backend) -- Return a concrete :class:AIModel selected by configuration.
  • get_llm_backend_raw (function) modules/llm_factory.py:679 def get_llm_backend_raw(config, backend) -- Return a raw :class:AIModel without the budget wrapper.
  • try_get_llm_backend (function) modules/llm_factory.py:701 def try_get_llm_backend(config, backend) -- Return a backend or None if construction fails for any reason.
  • stream_complete (function) modules/llm_factory.py:778 def stream_complete(model, prompt, max_tokens, on_delta) -- Completion that reports incremental deltas while it arrives.
  • complete (function) modules/llm_factory.py:849 def complete(model, prompt, max_tokens) -- Complete a prompt through one model spec; raise when unanswered.

modules/llm_pool.py

Imported by: cli/commands/ai.py, modules/lazy_loop.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, tests/conftest.py, tests/test_autonomous_ops.py, tests/test_lazy_parity.py, tests/test_lazy_runner.py

  • shared_registry (function) modules/llm_pool.py:50 def shared_registry(config) -- Return the process-wide health registry (LAZY Registry parity).
  • HealthRegistry.__init__ (method) modules/llm_pool.py:83 def __init__(self, config) -- Initialize counters from the persisted breaker state.
  • HealthRegistry.report_success (method) modules/llm_pool.py:135 def report_success(self, member_id) -- Clear failure state for a member.
  • HealthRegistry.report_failure (method) modules/llm_pool.py:143 def report_failure(self, member_id, error) -- Record a failure; auth/quota errors trip immediately.
  • HealthRegistry.healthy (method) modules/llm_pool.py:163 def healthy(self, member_id) -- Return True when a member may serve traffic.
  • LLMPool.__init__ (method) modules/llm_pool.py:179 def __init__(self, members, health, config) -- Order members by descending rank (RR within equal rank).
  • LLMPool.members (method) modules/llm_pool.py:192 def members(self) -- Return chain members in order.
  • LLMPool.session_key (method) modules/llm_pool.py:196 def session_key(self, conversation_id, role, index) -- Build a sticky session header (LAZY session_header parity).
  • LLMPool.complete (method) modules/llm_pool.py:237 def complete(self, prompt, max_tokens, session_key, overflow_dir) -- Complete a prompt with pre-token failover across members.

modules/llm_prompts.py

Depends on: modules/colors.py Imported by: cli/commands/ai.py, modules/llm_adapter.py, tests/test_llm_adapter_parity.py, tests/test_llm_prompts.py

  • default_project_root (function) modules/llm_prompts.py:67 def default_project_root() -- Return the repository root that owns the LLM prompt configuration.
  • resolve_model (function) modules/llm_prompts.py:76 def resolve_model(model) -- Resolve an explicit model or fall back to the randomized Groq model.
  • truncate_message (function) modules/llm_prompts.py:95 def truncate_message(message, max_chars) -- Truncate a message with an ellipsis marker when it exceeds the limit.
  • LlmPromptConfig.from_defaults (method) modules/llm_prompts.py:130 def from_defaults(cls, project_root) -- Build a config rooted at the given project root.
  • LlmPromptConfig.knowledge_base_path (method) modules/llm_prompts.py:150 def knowledge_base_path(self, domain) -- Return the absolute path for a knowledge-base domain file.
  • LlmPromptConfig.load_payload_context (method) modules/llm_prompts.py:161 def load_payload_context(self) -- Load the operator context keyed by :data:PAYLOAD_KEY_ORDER.
  • LlmPromptConfig.load_event_tool_output (method) modules/llm_prompts.py:176 def load_event_tool_output(self, event_name) -- Load tool output attached to a named event in event_config.json.
  • LlmPromptConfig.load_plan_history (method) modules/llm_prompts.py:203 def load_plan_history(self) -- Load the session plan history text if present.
  • LlmPromptConfig.load_report_context (method) modules/llm_prompts.py:218 def load_report_context(self) -- Load the JSON artefacts consumed by the report template.
  • LlmPromptConfig.knowledge_store (method) modules/llm_prompts.py:238 def knowledge_store(self, domain) -- Build a knowledge store bound to a domain file.
  • LlmPromptConfig.render (method) modules/llm_prompts.py:249 def render(self, template, base_prompt) -- Render a named template with shared knowledge and context.
  • render_kb_tail (function) modules/llm_prompts.py:271 def render_kb_tail(lines) -- Join the most recent knowledge lines for embedding into a prompt.
  • KnowledgeStore.__init__ (method) modules/llm_prompts.py:289 def __init__(self, path) -- Initialize a store bound to a single JSON file.
  • KnowledgeStore.load (method) modules/llm_prompts.py:297 def load(self) -- Load the knowledge-base records from disk.
  • KnowledgeStore.save (method) modules/llm_prompts.py:312 def save(self, records) -- Persist a full record list to disk, creating parent directories.
  • KnowledgeStore.add (method) modules/llm_prompts.py:324 def add(self, prompt, response) -- Append a prompt/response record to the knowledge base.
  • KnowledgeStore.relevant (method) modules/llm_prompts.py:335 def relevant(self, prompt, limit) -- Return knowledge responses whose text shares keywords with the prompt.

modules/log_tamper.py

Imported by: cli/commands/opsec_cleanup.py

  • LogTamper.__init__ (method) modules/log_tamper.py:105 def __init__(self, config)
  • LogTamper.windows_clear_commands (method) modules/log_tamper.py:108 def windows_clear_commands(self) -- Generate Windows Event Log clearing commands.
  • LogTamper.linux_clear_commands (method) modules/log_tamper.py:176 def linux_clear_commands(self) -- Generate Linux log clearing commands.
  • LogTamper.macos_clear_commands (method) modules/log_tamper.py:243 def macos_clear_commands(self) -- Generate macOS log clearing commands.
  • LogTamper.generate_all (method) modules/log_tamper.py:295 def generate_all(self) -- Generate log tampering commands for all platforms.
  • LogTamper.auditd_disable_commands (method) modules/log_tamper.py:307 def auditd_disable_commands(self) -- Commands to temporarily disable or reconfigure auditd on Linux.
  • LogTamper.sysmon_disable_commands (method) modules/log_tamper.py:341 def sysmon_disable_commands(self) -- Commands to disable or degrade Sysmon on Windows.

modules/logging_config.py

Depends on: core/logging.py Imported by: lazy_sentinel4.py, lazyc2.py, lazyown.py, modules/agent_runner.py, modules/ia_code_analysis.py, modules/ia_logs_analysis.py, modules/ia_network_analysis.py, modules/icmp_server.py, modules/lazyownerweb.py, modules/lilsplunky.py, modules/vulnbot.py, skills/aci_planner.py, skills/autonomous_daemon.py, skills/hive_mind.py, skills/lazyown_campaign.py, skills/lazyown_daemon.py, skills/lazyown_facts.py, skills/lazyown_llm.py, skills/lazyown_policy.py, skills/sessions_watcher.py, skills/swan_agent.py, skills/toposwarm_autonomous.py, skills/update_knowledge.py, tests/test_logging_config.py

modules/loop_ai_bridge.py

Depends on: modules/detection_oracle.py, modules/event_bus.py, modules/moe_router.py, modules/orchestrator_config.py, modules/rl_trainer.py, skills/hive_mind.py, skills/swan_agent.py Imported by: modules/lazy_agent.py, modules/lazy_loop.py, tests/conftest.py, tests/test_lazy_streaming.py, tests/test_loop_ai_bridge.py

  • publish_loop_event (function) modules/loop_ai_bridge.py:74 def publish_loop_event(task_id, worker, kind, text, severity) -- Publish one loop activity to the unified bus and Hive memory.
  • annotate_detection (function) modules/loop_ai_bridge.py:125 def annotate_detection(command, action_category) -- Return oracle details for one command, or None when unavailable.
  • moe_route (function) modules/loop_ai_bridge.py:149 def moe_route(task_type, goal) -- Return the MoE router's preferred expert for a task type, or None.
  • moe_record_outcome (function) modules/loop_ai_bridge.py:166 def moe_record_outcome(expert_id, task_type, reward, detection_prob) -- Feed one execution outcome back to the MoE performance store.
  • rl_select (function) modules/loop_ai_bridge.py:185 def rl_select(task_type, phase, candidates, deterministic) -- Pick an expert with the RL policy; first candidate when unavailable.
  • rl_update (function) modules/loop_ai_bridge.py:207 def rl_update(task_type, phase, action, reward, candidates, detection_prob) -- Apply one Q-learning update for an executed action.
  • rl_save (function) modules/loop_ai_bridge.py:230 def rl_save() -- Persist the RL tables after a run.
  • record_step (function) modules/loop_ai_bridge.py:249 def record_step(task_id, worker, command, output, detection_prob) -- Feed one executed command outcome to MoE and the RL trainer.
  • swan_available (function) modules/loop_ai_bridge.py:264 def swan_available() -- Return True when the SWAN orchestrator can be constructed.
  • swan_consult (function) modules/loop_ai_bridge.py:277 def swan_consult(prompt, task_type, phase, timeout) -- Ask SWAN for an ensemble answer; empty string when unavailable.
  • stream_enabled (function) modules/loop_ai_bridge.py:304 def stream_enabled() -- Return whether token streaming into the activity log is enabled.
  • ai_snapshot (function) modules/loop_ai_bridge.py:314 def ai_snapshot() -- Compact status of the wired AI stack for the operator log.

modules/loop_progress.py

Depends on: core/safe_console.py Imported by: cli/lazy_monitor.py, modules/lazy_runner.py, tests/test_lazy_runner.py, tests/test_loop_progress.py

  • snapshot_from_overview (function) modules/loop_progress.py:99 def snapshot_from_overview(overview, record, activity_tail, elapsed_sec) -- Build a snapshot from a graph overview dict plus task record.
  • snap_to_states (function) modules/loop_progress.py:123 def snap_to_states(snapshot) -- Infer done/active/pending per chain stage from a snapshot.
  • sanitize_line (function) modules/loop_progress.py:151 def sanitize_line(line, keep_ansi) -- Strip ANSI codes and carriage returns from a transcript line.
  • LoopProgress.live_mode (method) modules/loop_progress.py:195 def live_mode(self) -- True only when the sink supports a real live region.
  • LoopProgress.start (method) modules/loop_progress.py:202 def start(self) -- Open the Live display, or print the header in line mode.
  • LoopProgress.stop (method) modules/loop_progress.py:229 def stop(self) -- Freeze the final panel on screen (both modes).
  • LoopProgress.refresh (method) modules/loop_progress.py:246 def refresh(self, snapshot) -- Re-render milestones from a fresh snapshot (thread-safe).
  • LoopProgress.emit (method) modules/loop_progress.py:268 def emit(self, line) -- Print a transcript line above the live panel, colors preserved.

modules/macos_payloads.py

Imported by: cli/commands/payload_arsenal.py

  • MacOSPayloadFactory.__init__ (method) modules/macos_payloads.py:111 def __init__(self, config, output_dir)
  • MacOSPayloadFactory.generate_app_bundle (method) modules/macos_payloads.py:137 def generate_app_bundle(self) -- Generate a macOS .app bundle with embedded reverse shell.
  • MacOSPayloadFactory.generate_launchd_persistence (method) modules/macos_payloads.py:212 def generate_launchd_persistence(self) -- Generate a LaunchDaemon or LaunchAgent plist for persistence.
  • MacOSPayloadFactory.generate_tcc_bypass (method) modules/macos_payloads.py:268 def generate_tcc_bypass(self) -- Generate a TCC bypass script targeting common permissions.
  • MacOSPayloadFactory.generate_osascript_dropper (method) modules/macos_payloads.py:314 def generate_osascript_dropper(self) -- Generate an AppleScript-based dropper that downloads and executes a stage.
  • MacOSPayloadFactory.generate_swift_stager (method) modules/macos_payloads.py:335 def generate_swift_stager(self) -- Generate a Swift reverse shell stager.
  • MacOSPayloadFactory.generate_persistence_scripts (method) modules/macos_payloads.py:398 def generate_persistence_scripts(self) -- Generate all available macOS persistence scripts.
  • MacOSPayloadFactory.generate_phishing_dialog (method) modules/macos_payloads.py:447 def generate_phishing_dialog(self) -- Generate an AppleScript credential phishing dialog.
  • MacOSPayloadFactory.generate_all (method) modules/macos_payloads.py:470 def generate_all(self) -- Generate all macOS payload artifacts.
  • MacOSPayloadFactory.list_tcc_services (method) modules/macos_payloads.py:517 def list_tcc_services() -- Return the list of known TCC service identifiers.
  • MacOSPayloadFactory.list_persistence_methods (method) modules/macos_payloads.py:522 def list_persistence_methods() -- Return the list of available persistence methods for macOS.

modules/mario.py

modules/mcp_agent_bridge.py

Depends on: core/logging.py, modules/llm_factory.py Imported by: modules/unified_bridge.py, skills/lazyown_mcp.py

modules/memory_cleaner.py

Imported by: cli/commands/opsec_cleanup.py

  • MemoryCleaner.__init__ (method) modules/memory_cleaner.py:61 def __init__(self, config)
  • MemoryCleaner.windows_memory_cleanup (method) modules/memory_cleaner.py:64 def windows_memory_cleanup(self) -- Generate Windows memory artifact cleanup commands.
  • MemoryCleaner.linux_memory_cleanup (method) modules/memory_cleaner.py:151 def linux_memory_cleanup(self) -- Generate Linux memory artifact cleanup commands.
  • MemoryCleaner.macos_memory_cleanup (method) modules/memory_cleaner.py:206 def macos_memory_cleanup(self) -- Generate macOS memory artifact cleanup commands.
  • MemoryCleaner.generate_on_exit_script (method) modules/memory_cleaner.py:255 def generate_on_exit_script(self) -- Generate an on-exit cleanup script for beacons.

modules/memory_store.py

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

Next: API_p15.md

Start

Wiki

Agent Docs

Recipes

Clone this wiki locally