Repository navigation
Agent API_p18
Previous: API_p17.md
Imported by: skills/lazyown_mcp.py, skills/lazyown_session.py, skills/tests/test_harness_e2e.py
-
CompactionResult.summary(method)skills/lazyown_context.py:57def summary(self) -
ContextCompactor.__init__(method)skills/lazyown_context.py:72def __init__(self, budget_override, snip_threshold, collapse_threshold) -
ContextCompactor.apply_budget(method)skills/lazyown_context.py:84def apply_budget(self, content, tool_name)-- Hard-cap output. -
ContextCompactor.snip(method)skills/lazyown_context.py:99def snip(self, content)-- Remove duplicate consecutive lines (log noise). -
ContextCompactor.microcompact(method)skills/lazyown_context.py:120def microcompact(self, content)-- Strip known low-signal patterns. -
ContextCompactor.collapse(method)skills/lazyown_context.py:136def collapse(self, content, tool_name)-- Replace repetitive sections with a structural summary. -
ContextCompactor.auto_compact_session(method)skills/lazyown_context.py:159def auto_compact_session(entries)-- Template-based session summary when full pipeline is insufficient. entries: list of {"type": str, "data": dict} from... -
ContextCompactor.compact(method)skills/lazyown_context.py:203def compact(self, content, tool_name)-- Apply all applicable layers in order. -
compact_output(function)skills/lazyown_context.py:237def compact_output(content, tool_name)-- Convenience wrapper: compact and return string.
Depends on: core/logging.py, modules/event_engine.py, modules/logging_config.py, modules/session_state.py, modules/timeline_narrator.py, skills/sessions_watcher.py
-
process_new_rows(function)skills/lazyown_daemon.py:108def process_new_rows() -
file_watcher_loop(function)skills/lazyown_daemon.py:150def file_watcher_loop(queue)-- Watch sessions/ for new/modified files and dispatch handlers. -
_Handler.on_created(method)skills/lazyown_daemon.py:201def on_created(self, event) -
_Handler.on_modified(method)skills/lazyown_daemon.py:205def on_modified(self, event) -
file_event_consumer(function)skills/lazyown_daemon.py:223def file_event_consumer(queue)-- Consume FILE events from the queue and call _dispatch in executor. -
event_engine_loop(function)skills/lazyown_daemon.py:240def event_engine_loop()-- Tail CSV, match rules, emit events — every ENGINE_INTERVAL_S seconds. -
heartbeat_loop(function)skills/lazyown_daemon.py:280def heartbeat_loop()-- Emit HEARTBEAT event and write daemon_status.json every 30 seconds. -
toposwarm_keepalive_loop(function)skills/lazyown_daemon.py:332def toposwarm_keepalive_loop()-- Keeps the TopoSwarm MCP server alive as a subprocess. -
cmd_run(function)skills/lazyown_daemon.py:453def cmd_run()-- Run in foreground. -
cmd_start(function)skills/lazyown_daemon.py:462def cmd_start()-- Fork, detach, and run in background. -
cmd_stop(function)skills/lazyown_daemon.py:495def cmd_stop()-- Send SIGTERM to the running daemon. -
cmd_status(function)skills/lazyown_daemon.py:513def cmd_status()-- Print status from daemon_status.json.
Depends on: core/logging.py, modules/logging_config.py
Imported by: cli/commands/mcp_bridge.py, lazyc2.py, skills/lazyown_groq_agents.py, skills/lazyown_llm.py, skills/lazyown_mcp.py, skills/sessions_watcher.py, skills/tests/test_facts.py
-
Config.default(method)skills/lazyown_facts.py:45def default(cls) -
HostFacts.highest_access(method)skills/lazyown_facts.py:145def highest_access(self) -
HostFacts.open_ports(method)skills/lazyown_facts.py:156def open_ports(self) -
HostFacts.services_by_name(method)skills/lazyown_facts.py:159def services_by_name(self, name) -
INmapXmlParser.parse(method)skills/lazyown_facts.py:169def parse(self, xml_path) -
ITextOutputParser.can_parse(method)skills/lazyown_facts.py:217def can_parse(self, filename, content) -
ITextOutputParser.parse(method)skills/lazyown_facts.py:220def parse(self, host, content, source_file) -
ITextOutputParser.parse_extended(method)skills/lazyown_facts.py:228def parse_extended(self, host, content, source_file, port)-- Extended parse including vulnerabilities and web paths. -
CrackMapExecParser.can_parse(method)skills/lazyown_facts.py:250def can_parse(self, filename, content) -
CrackMapExecParser.parse(method)skills/lazyown_facts.py:257def parse(self, host, content, source_file) -
Enum4linuxParser.can_parse(method)skills/lazyown_facts.py:301def can_parse(self, filename, content) -
Enum4linuxParser.parse(method)skills/lazyown_facts.py:304def parse(self, host, content, source_file) -
SecretsdumpParser.can_parse(method)skills/lazyown_facts.py:341def can_parse(self, filename, content) -
SecretsdumpParser.parse(method)skills/lazyown_facts.py:346def parse(self, host, content, source_file) -
LdapParser.can_parse(method)skills/lazyown_facts.py:374def can_parse(self, filename, content) -
LdapParser.parse(method)skills/lazyown_facts.py:377def parse(self, host, content, source_file) -
KerbruteParser.can_parse(method)skills/lazyown_facts.py:403def can_parse(self, filename, content) -
KerbruteParser.parse(method)skills/lazyown_facts.py:406def parse(self, host, content, source_file) -
RpcclientParser.can_parse(method)skills/lazyown_facts.py:424def can_parse(self, filename, content) -
RpcclientParser.parse(method)skills/lazyown_facts.py:427def parse(self, host, content, source_file) -
GobusterFfufParser.can_parse(method)skills/lazyown_facts.py:447def can_parse(self, filename, content) -
GobusterFfufParser.parse(method)skills/lazyown_facts.py:450def parse(self, host, content, source_file) -
GobusterFfufParser.parse_extended(method)skills/lazyown_facts.py:453def parse_extended(self, host, content, source_file, port) -
NiktoParser.can_parse(method)skills/lazyown_facts.py:502def can_parse(self, filename, content) -
NiktoParser.parse(method)skills/lazyown_facts.py:505def parse(self, host, content, source_file) -
NiktoParser.parse_extended(method)skills/lazyown_facts.py:508def parse_extended(self, host, content, source_file, port) -
NucleiParser.can_parse(method)skills/lazyown_facts.py:545def can_parse(self, filename, content) -
NucleiParser.parse(method)skills/lazyown_facts.py:548def parse(self, host, content, source_file) -
NucleiParser.parse_extended(method)skills/lazyown_facts.py:551def parse_extended(self, host, content, source_file, port) -
SslscanParser.can_parse(method)skills/lazyown_facts.py:581def can_parse(self, filename, content) -
SslscanParser.parse(method)skills/lazyown_facts.py:584def parse(self, host, content, source_file) -
SslscanParser.parse_extended(method)skills/lazyown_facts.py:587def parse_extended(self, host, content, source_file, port) -
GenericOutputParser.can_parse(method)skills/lazyown_facts.py:635def can_parse(self, filename, content) -
GenericOutputParser.parse(method)skills/lazyown_facts.py:638def parse(self, host, content, source_file) -
FactStore.__init__(method)skills/lazyown_facts.py:677def __init__(self, cfg) -
FactStore.save(method)skills/lazyown_facts.py:727def save(self) -
FactStore.ingest_xml(method)skills/lazyown_facts.py:791def ingest_xml(self, xml_path)-- Parse one nmap XML file, merge results, return count of new facts. -
FactStore.ingest_text(method)skills/lazyown_facts.py:803def ingest_text(self, txt_path, host_hint)-- Parse one tool output file, merge credential/share/access facts. -
FactStore.parse_all(method)skills/lazyown_facts.py:859def parse_all(self, target)-- Scan sessions/ for all nmap XML and txt files. -
FactStore.get_host(method)skills/lazyown_facts.py:890def get_host(self, host) -
FactStore.all_hosts(method)skills/lazyown_facts.py:893def all_hosts(self) -
FactStore.context_for_command(method)skills/lazyown_facts.py:896def context_for_command(self, host, category)-- Return a dict of substitution parameters for a command in the given attack category. -
FactStore.summary(method)skills/lazyown_facts.py:986def summary(self, host)-- Return a human-readable summary of stored facts. -
create_tool_file(function)skills/lazyown_facts.py:1025def create_tool_file(toolname, command, trigger, active, tools_dir)-- Write a new pwntomate .tool JSON file. -
main(function)skills/lazyown_facts.py:1074def main()
Depends on: modules/atomic_enricher.py, modules/lazyown_bridge.py, modules/reactive_engine.py, modules/session_rag.py, modules/session_reader.py, modules/threat_model.py, skills/lazyown_facts.py, skills/lazyown_llm.py, skills/lazyown_mcp.py, skills/lazyown_objective.py, skills/lazyown_parquet_db.py
Imported by: skills/hive_mind.py, skills/lazyown_mcp.py, skills/swan_agent.py, tests/test_bridge_catalog_filtered.py
-
GroqAgentPool.__init__(method)skills/lazyown_groq_agents.py:702def __init__(self) -
GroqAgentPool.spawn(method)skills/lazyown_groq_agents.py:706def spawn(self, goal, tools_filter, api_key, backend, max_iterations, system_prompt, block)-- Spawn a new agent. -
GroqAgentPool.status(method)skills/lazyown_groq_agents.py:778def status(self, agent_id) -
GroqAgentPool.result(method)skills/lazyown_groq_agents.py:794def result(self, agent_id) -
GroqAgentPool.list_all(method)skills/lazyown_groq_agents.py:807def list_all(self, limit) -
get_pool(function)skills/lazyown_groq_agents.py:829def get_pool() -
spawn_agent(function)skills/lazyown_groq_agents.py:838def spawn_agent(goal, tools_filter, api_key, backend, max_iterations, block)-- Spawn a new Groq/Ollama agent. -
agent_status(function)skills/lazyown_groq_agents.py:857def agent_status(agent_id) -
agent_result(function)skills/lazyown_groq_agents.py:861def agent_result(agent_id) -
list_agents(function)skills/lazyown_groq_agents.py:865def list_agents(limit) -
main(function)skills/lazyown_groq_agents.py:872def main()
Depends on: cli/commands/enum.py
Imported by: skills/lazyown_mcp.py, skills/tests/test_harness_e2e.py
-
HookRegistry.__init__(method)skills/lazyown_hooks.py:47def __init__(self) -
HookRegistry.register(method)skills/lazyown_hooks.py:56def register(self, event, handler) -
HookRegistry.run(method)skills/lazyown_hooks.py:59def run(self, event, context)-- Run all handlers for event, chaining modified contexts. -
HookRegistry.metrics(method)skills/lazyown_hooks.py:79def metrics(self)-- Return aggregate hook execution counts. -
sandbox_hook(function)skills/lazyown_hooks.py:101def sandbox_hook(context)-- PRE_TOOL_USE: block catastrophic shell commands before permission evaluation. -
rate_limit_hook(function)skills/lazyown_hooks.py:116def rate_limit_hook(context, window, limit)-- PRE_TOOL_USE: prevent rapid-fire C2 commands (>5 per 2s). -
audit_hook(function)skills/lazyown_hooks.py:139def audit_hook(context, audit_path)-- AUDIT: append a one-line JSON record of every tool call to the audit log. -
timing_hook(function)skills/lazyown_hooks.py:161def timing_hook(context)-- POST_TOOL_USE: annotate result with wall-clock execution time. -
start_timer_hook(function)skills/lazyown_hooks.py:176def start_timer_hook(context)-- PRE_TOOL_USE: record start time for timing_hook. -
build_default_registry(function)skills/lazyown_hooks.py:187def build_default_registry(sessions_dir)-- Create a HookRegistry with the built-in safety hooks wired up. -
get_registry(function)skills/lazyown_hooks.py:224def get_registry(sessions_dir)
Depends on: core/logging.py, modules/logging_config.py, skills/lazyown_facts.py, skills/lazyown_mcp.py, skills/lazyown_objective.py
Imported by: skills/autonomous_daemon.py, skills/hive_mind.py, skills/lazyown_groq_agents.py, skills/lazyown_mcp.py
-
LLMTool.openai_schema(method)skills/lazyown_llm.py:79def openai_schema(self) -
LLMBridge.__init__(method)skills/lazyown_llm.py:104def __init__(self, backend, model, api_key) -
LLMBridge.register_tool(method)skills/lazyown_llm.py:118def register_tool(self, name, description, parameters, func) -
LLMBridge.ask(method)skills/lazyown_llm.py:127def ask(self, goal, context, max_iterations, system_prompt) -
run_command(function)skills/lazyown_llm.py:346def run_command(command)-- Execute a LazyOwn shell command and return its output. -
read_nmap(function)skills/lazyown_llm.py:352def read_nmap(target)-- Read the nmap scan file for the given target IP. -
read_plan(function)skills/lazyown_llm.py:369def read_plan()-- Read the current attack plan from sessions/plan.txt. -
read_facts(function)skills/lazyown_llm.py:376def read_facts(target)-- Return FactStore structured facts for a target (or all targets). -
read_objectives(function)skills/lazyown_llm.py:389def read_objectives(limit)-- List the next N pending attack objectives. -
build_bridge(function)skills/lazyown_llm.py:438def build_bridge(backend, model, api_key, with_default_tools)-- Create a ready-to-use LLMBridge with optional default LazyOwn tools. -
llm_ask(function)skills/lazyown_llm.py:468def llm_ask(goal, context, backend, model, api_key, max_iterations, system_prompt, extra_tools)-- Single-call entry point for lazyown_mcp.py. -
main(function)skills/lazyown_llm.py:493def main()
Depends on: cli/command_chain.py, cli/graph_advisor.py, cli/palette.py, cli/palette_command.py, cli/recommendation.py, cli/recommendation_signals.py, core/llm_budget.py, core/logging.py, core/payload_schema.py, modules/__init__.py, modules/ai_exploit_chain.py, modules/atomic_enricher.py, modules/auto_pivot.py, modules/auto_registry.py, modules/autonomous_exploit_engine.py, modules/backdoor/server.c, modules/collab_bp.py, modules/cve_matcher.py, modules/dashboard_engine.py, modules/db.py, modules/evasion_engine.py, modules/event_bus.py, modules/event_engine.py, modules/evidence.py, modules/exploit_recommender.py, modules/exploitgym_gym.py, modules/goals.py, modules/integrations/misp_export.py, modules/intelligence_engine.py, modules/intercept.py, modules/killchain.py, modules/lazy_bridge.py, modules/lazy_engine.py, modules/lazy_loop.py, modules/lazy_mentions.py, modules/lazyown_bridge.py, modules/llm_client.py, modules/llm_evaluator.py, modules/llm_pool.py, modules/mcp_agent_bridge.py, modules/memory_store.py, modules/metrics.py, modules/module_registry.py, modules/obs_parser.py, modules/pipeline_engine.py, modules/planner.py, modules/playbook_engine.py, modules/reactive_engine.py, modules/recommender.py, modules/session_rag.py, modules/session_reader.py, modules/session_state.py, modules/threat_model.py, modules/timeline_narrator.py, modules/traffic_recorder.py, modules/unified_dashboard.py, modules/world_model.py, skills/aci_planner.py, skills/autonomous_daemon.py, skills/autonomous_replay.py, skills/daemon_control.py, skills/hive_mind.py, skills/lazyown_automapper.py, skills/lazyown_campaign.py, skills/lazyown_claudemd.py, skills/lazyown_context.py, skills/lazyown_facts.py, skills/lazyown_groq_agents.py, skills/lazyown_hooks.py, skills/lazyown_llm.py, skills/lazyown_mcp_helpers.py, skills/lazyown_objective.py, skills/lazyown_parquet_db.py, skills/lazyown_permissions.py, skills/lazyown_policy.py, skills/lazyown_session.py, skills/mcp_lazy.py, skills/swan_agent.py
Imported by: skills/autonomous_daemon.py, skills/lazyown_groq_agents.py, skills/lazyown_llm.py, skills/lazyown_mcp_opencode.py, skills/tests/test_mcp_smoke.py, tests/test_boyscout_contracts.py, tests/test_mcp_improvements.py, tests/test_rea_mcp.py
-
register_handler(function)skills/lazyown_mcp.py:578def register_handler(tool_name)-- Decorator that registers an async handler for tool_name. -
coerce_value(function)skills/lazyown_mcp.py:828def coerce_value(k, v) -
list_tools(function)skills/lazyown_mcp.py:1994def list_tools() -
substitute_playbook_target(function)skills/lazyown_mcp.py:6075def substitute_playbook_target(command, target)-- Substitute the {target} token in a playbook step command. -
call_tool(function)skills/lazyown_mcp.py:6093def call_tool(name, arguments) -
text(function)skills/lazyown_mcp.py:6107def text(content) -
main(function)skills/lazyown_mcp.py:12272def main()
Imported by: skills/lazyown_mcp.py, tests/test_mcp_improvements.py
-
is_likely_credential(function)skills/lazyown_mcp_helpers.py:37def is_likely_credential(value)-- Score whether a string is plausibly a real credential. -
evidence_freshness(function)skills/lazyown_mcp_helpers.py:67def evidence_freshness(path, threshold_seconds, now)-- Return age + stale flag for an evidence file. -
parse_task_value(function)skills/lazyown_mcp_helpers.py:125def parse_task_value(title)-- Extract the embedded JSON-ish payload from a task title. -
audit_tasks(function)skills/lazyown_mcp_helpers.py:165def audit_tasks(tasks, min_confidence)-- Classify each task as keep/drop with a reason. -
find_credential_provenance(function)skills/lazyown_mcp_helpers.py:196def find_credential_provenance(value, sessions_dir, csv_name)-- Locate where a credential was first observed. -
evidence_grep(function)skills/lazyown_mcp_helpers.py:297def evidence_grep(pattern, sessions_dir, scope, max_matches, max_file_bytes, case_insensitive)-- Grep through session artefacts. -
collect_pwntomate_evidence(function)skills/lazyown_mcp_helpers.py:376def collect_pwntomate_evidence(rhost, sessions_dir)-- List pwntomate output dirs for a target with per-dir freshness. -
build_target_context(function)skills/lazyown_mcp_helpers.py:414def build_target_context(host, port, sessions_dir, payload, world_model)-- Aggregate everything known about (host, port) into one structure. -
preflight_command(function)skills/lazyown_mcp_helpers.py:575def preflight_command(command, payload, sessions_dir)-- Pre-flight a LazyOwn command without executing it. -
JobStore.__init__(method)skills/lazyown_mcp_helpers.py:689def __init__(self, max_jobs) -
JobStore.submit(method)skills/lazyown_mcp_helpers.py:694def submit(self, command, runner, timeout)-- Start a runner(command, timeout) in a background thread. -
JobStore.status(method)skills/lazyown_mcp_helpers.py:727def status(self, job_id) -
JobStore.list(method)skills/lazyown_mcp_helpers.py:732def list(self, limit) -
take_snapshot(function)skills/lazyown_mcp_helpers.py:747def take_snapshot(sessions_dir, payload, world_model, tasks)-- Capture a lightweight snapshot of the campaign state. -
diff_snapshot(function)skills/lazyown_mcp_helpers.py:792def diff_snapshot(sessions_dir, payload, world_model, tasks)-- Return what changed since the last snapshot. -
needs_confirmation(function)skills/lazyown_mcp_helpers.py:875def needs_confirmation(tool_name, arguments)-- Return True if tool should require an explicit confirm=True flag.
Depends on: modules/backdoor/server.c, skills/lazyown_mcp.py
-
list_tools(function)skills/lazyown_mcp_opencode.py:57def list_tools()-- Expose the curated subset under short names, keeping original schemas. -
call_tool(function)skills/lazyown_mcp_opencode.py:76def call_tool(name, arguments)-- Proxy the short name to the full LazyOwn MCP handler. -
main(function)skills/lazyown_mcp_opencode.py:84def main()
Imported by: skills/autonomous_daemon.py, skills/lazyown_groq_agents.py, skills/lazyown_llm.py, skills/lazyown_mcp.py, skills/sessions_watcher.py, skills/tests/test_objectives.py, tests/test_daemon_loop.py
-
Objective.sort_key(method)skills/lazyown_objective.py:116def sort_key(self) -
ObjectiveStore.__init__(method)skills/lazyown_objective.py:131def __init__(self, path) -
ObjectiveStore.cleanup(method)skills/lazyown_objective.py:163def cleanup(self)-- Expire pending objectives whose TTL has passed. -
ObjectiveStore.inject(method)skills/lazyown_objective.py:193def inject(self, text, priority, source, context, notes) -
ObjectiveStore.complete(method)skills/lazyown_objective.py:243def complete(self, obj_id, notes) -
ObjectiveStore.block(method)skills/lazyown_objective.py:246def block(self, obj_id, reason) -
ObjectiveStore.skip(method)skills/lazyown_objective.py:249def skip(self, obj_id, reason) -
ObjectiveStore.start(method)skills/lazyown_objective.py:252def start(self, obj_id) -
ObjectiveStore.next_pending(method)skills/lazyown_objective.py:255def next_pending(self) -
ObjectiveStore.list_pending(method)skills/lazyown_objective.py:261def list_pending(self, limit) -
ObjectiveStore.list_all(method)skills/lazyown_objective.py:265def list_all(self, status, limit) -
ObjectiveStore.summary(method)skills/lazyown_objective.py:271def summary(self) -
decompose_goal(function)skills/lazyown_objective.py:296def decompose_goal(goal_text, target)-- Split a compound goal into discrete verifiable objectives. -
read_soul(function)skills/lazyown_objective.py:320def read_soul() -
write_soul(function)skills/lazyown_objective.py:326def write_soul(content) -
current_plan(function)skills/lazyown_objective.py:330def current_plan() -
full_context_for_claude(function)skills/lazyown_objective.py:336def full_context_for_claude(target)-- Return a single dict with everything Claude Code needs to reason about the next objective: soul + pending... -
SoulUpdater.__init__(method)skills/lazyown_objective.py:379def __init__(self) -
SoulUpdater.update_phase(method)skills/lazyown_objective.py:417def update_phase(self, phase)-- Update thePhase:line inside ## Current Focus. -
SoulUpdater.update_target(method)skills/lazyown_objective.py:421def update_target(self, target)-- Update theTarget:line inside ## Current Focus. -
SoulUpdater.update_os(method)skills/lazyown_objective.py:425def update_os(self, os_name, target)-- Record detected operating system for a target. -
SoulUpdater.update_credentials(method)skills/lazyown_objective.py:432def update_credentials(self, creds)-- Replace the ## Known Credentials section with discovered credentials. -
SoulUpdater.update_access(method)skills/lazyown_objective.py:459def update_access(self, level, target, method)-- Update achieved access level for a target. -
SoulUpdater.update_vulnerabilities(method)skills/lazyown_objective.py:466def update_vulnerabilities(self, vulns)-- Replace ## Key Vulnerabilities with the most severe findings. -
main(function)skills/lazyown_objective.py:485def main()
Depends on: core/logging.py, modules/atomic_enricher.py, skills/lazyown_policy.py
Imported by: cli/commands/mcp_bridge.py, skills/hive_mind.py, skills/lazyown_groq_agents.py, skills/lazyown_mcp.py, skills/tests/test_parquet_db.py, skills/update_knowledge.py, tests/test_core_modules.py
-
ParquetDB.__init__(method)skills/lazyown_parquet_db.py:295def __init__(self, lazyown_dir) -
ParquetDB.sync(method)skills/lazyown_parquet_db.py:316def sync(self, csv_path)-- Ingest sessions/LazyOwn_session_report.csv into session_knowledge.parquet. -
ParquetDB.annotate(method)skills/lazyown_parquet_db.py:405def annotate(self, row_id, success, category, outcome)-- Patch a row in session_knowledge.parquet by its id. -
ParquetDB.annotate_rich(method)skills/lazyown_parquet_db.py:434def annotate_rich(self, row_id, output, finding_type, target_service, target_port, campaign_id, success, category...-- Full annotation after real execution: stores output snippet + all metadata. -
ParquetDB.query_session(method)skills/lazyown_parquet_db.py:490def query_session(self, phase, target, success_only, limit)-- Query session_knowledge.parquet. -
ParquetDB.query_knowledge(method)skills/lazyown_parquet_db.py:526def query_knowledge(self, keyword, parquet_name, columns, limit)-- Search for keyword across one or all parquets in parquets/. -
ParquetDB.query_atomic(method)skills/lazyown_parquet_db.py:576def query_atomic(self, keyword, mitre_id, platform, scope, has_prereqs, complexity, limit, include_command)-- Structured query over the enriched Atomic Red Team catalogue (parquets/techniques_enriched.parquet). -
ParquetDB.context_for_phase(method)skills/lazyown_parquet_db.py:630def context_for_phase(self, phase, target, limit)-- Return a rich context dict for MCP reasoning: -
ParquetDB.stats(method)skills/lazyown_parquet_db.py:729def stats(self) -
ParquetDB.list_parquets(method)skills/lazyown_parquet_db.py:743def list_parquets(self) -
ParquetDB.train_classifier(method)skills/lazyown_parquet_db.py:748def train_classifier(self, min_rows)-- Train a lightweight RandomForest classifier on session_knowledge.parquet. -
ParquetDB.predict_success(method)skills/lazyown_parquet_db.py:843def predict_success(self, command, category)-- Use the trained classifier to estimate probability of success. -
verify_model_integrity(function)skills/lazyown_parquet_db.py:892def verify_model_integrity(model_path, encoder_path, hash_path)-- Verify SHA256 integrity of classifier model and encoder files. -
get_pdb(function)skills/lazyown_parquet_db.py:948def get_pdb(lazyown_dir) -
main(function)skills/lazyown_parquet_db.py:961def main()
Depends on: cli/commands/enum.py
Imported by: skills/lazyown_mcp.py, skills/tests/test_harness_e2e.py
-
PermissionRule.to_dict(method)skills/lazyown_permissions.py:36def to_dict(self) -
PermissionSystem.__init__(method)skills/lazyown_permissions.py:103def __init__(self, sessions_dir) -
PermissionSystem.add_rule(method)skills/lazyown_permissions.py:145def add_rule(self, tool_pattern, action, condition, description) -
PermissionSystem.remove_rule(method)skills/lazyown_permissions.py:151def remove_rule(self, tool_pattern, action) -
PermissionSystem.set_mode(method)skills/lazyown_permissions.py:157def set_mode(self, mode) -
PermissionSystem.list_rules(method)skills/lazyown_permissions.py:162def list_rules(self) -
PermissionSystem.evaluate(method)skills/lazyown_permissions.py:167def evaluate(self, tool_name, arguments)-- Returns (decision, reason). decision: "allow" | "deny" | "ask" -
PermissionSystem.metrics(method)skills/lazyown_permissions.py:237def metrics(self)-- Aggregate audit log into per-decision and per-tool counts. -
PermissionSystem.status_text(method)skills/lazyown_permissions.py:279def status_text(self)
Depends on: cli/commands/enum.py, core/logging.py, modules/detection_oracle.py, modules/logging_config.py
Imported by: cli/recommendation_signals.py, modules/unified_dashboard.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, skills/lazyown_parquet_db.py, skills/swan_agent.py, tests/test_engage_orchestrator.py, tests/test_moe_rl_swan.py, tests/test_scope_bound_auto_gate.py
-
Config.default(method)skills/lazyown_policy.py:82def default(cls)-- Construct configuration anchored to this file's repository root. -
Config.ollama_url(method)skills/lazyown_policy.py:123def ollama_url(self)-- Full URL for the Ollama generate endpoint. -
infer_category(function)skills/lazyown_policy.py:267def infer_category(command, args)-- Return the ActionCategory best matching the command and its arguments. -
ClassificationResult.unknown(method)skills/lazyown_policy.py:317def unknown(cls, tier)-- Produce a result indicating the tier could not classify. -
EpisodeRecord.to_dict(method)skills/lazyown_policy.py:357def to_dict(self)-- Serialise to a plain dict suitable for JSON encoding. -
EpisodeRecord.from_dict(method)skills/lazyown_policy.py:362def from_dict(cls, d)-- Deserialise from a dict produced by to_dict. -
IOutputClassifier.classify(method)skills/lazyown_policy.py:376def classify(self, command, args, output, exit_code)-- Classify the outcome of one command execution. -
ExitCodeClassifier.classify(method)skills/lazyown_policy.py:401def classify(self, command, args, output, exit_code)-- Return a low-confidence result based solely on the exit code. -
HeuristicClassifier.classify(method)skills/lazyown_policy.py:444def classify(self, command, args, output, exit_code)-- Scan output for known success or failure signatures. -
_OllamaClassifierBase.__init__(method)skills/lazyown_policy.py:496def __init__(self, cfg, model, tier_name) -
_OllamaClassifierBase.classify(method)skills/lazyown_policy.py:570def classify(self, command, args, output, exit_code)-- Send the command context to Ollama and parse the JSON reply. -
OllamaSmallClassifier.__init__(method)skills/lazyown_policy.py:591def __init__(self, cfg) -
OllamaLargeClassifier.__init__(method)skills/lazyown_policy.py:601def __init__(self, cfg) -
UserInteractiveClassifier.classify(method)skills/lazyown_policy.py:616def classify(self, command, args, output, exit_code)-- Prompt the operator and return their authoritative verdict. -
CascadeClassifier.__init__(method)skills/lazyown_policy.py:666def __init__(self, cfg, interactive) -
CascadeClassifier.classify(method)skills/lazyown_policy.py:677def classify(self, command, args, output, exit_code)-- Return the first sufficiently confident result, or the best available. -
DetectionRiskAssessor.__init__(method)skills/lazyown_policy.py:715def __init__(self) -
DetectionRiskAssessor.assess_probability(method)skills/lazyown_policy.py:733def assess_probability(self, command, args, category)-- Return detection probability in [0.0, 1.0]. -
DetectionRiskAssessor.is_high_risk(method)skills/lazyown_policy.py:746def is_high_risk(self, command, args, category)-- Return True when detection probability meets or exceeds the threshold. -
RewardCalculator.__init__(method)skills/lazyown_policy.py:773def __init__(self, cfg, risk_assessor) -
RewardCalculator.calculate(method)skills/lazyown_policy.py:783def calculate(self, category, outcome)-- Return the reward integer for the given (category, outcome) pair. -
RewardCalculator.calculate_with_detection(method)skills/lazyown_policy.py:798def calculate_with_detection(self, category, outcome, command, args)-- Return (reward, detection_probability) for the given execution. -
CSVSessionReader.__init__(method)skills/lazyown_policy.py:850def __init__(self, cfg) -
CSVSessionReader.read(method)skills/lazyown_policy.py:855def read(self)-- Parse the CSV and return all classifiable rows as StepRecord instances. -
IEpisodeStore.append_step(method)skills/lazyown_policy.py:903def append_step(self, step)-- Add a step to the episode for its target, creating the episode if needed. -
IEpisodeStore.load_all(method)skills/lazyown_policy.py:907def load_all(self)-- Load every stored episode. -
IEpisodeStore.get_episode(method)skills/lazyown_policy.py:911def get_episode(self, target)-- Return the episode for the given target, or None. -
JSONLEpisodeStore.__init__(method)skills/lazyown_policy.py:923def __init__(self, cfg) -
JSONLEpisodeStore.append_step(method)skills/lazyown_policy.py:927def append_step(self, step)-- Upsert the step into its target's episode and persist. -
JSONLEpisodeStore.load_all(method)skills/lazyown_policy.py:947def load_all(self)-- Deserialise all episodes from the .jsonl file. -
JSONLEpisodeStore.get_episode(method)skills/lazyown_policy.py:963def get_episode(self, target)-- Return the episode for target, or None if not found. -
TransitionTable.__init__(method)skills/lazyown_policy.py:987def __init__(self, cfg) -
TransitionTable.record(method)skills/lazyown_policy.py:993def record(self, from_state, to_category, outcome)-- Increment the counter for the given transition and persist. -
TransitionTable.query(method)skills/lazyown_policy.py:1003def query(self, from_state)-- Return (next_category, success_rate, total_count) tuples for the given from_state, filtered by min_transition_count... -
PolicyEngine.__init__(method)skills/lazyown_policy.py:1107def __init__(self, cfg, transitions) -
PolicyEngine.recommend(method)skills/lazyown_policy.py:1111def recommend(self, recent_steps)-- Return up to top_k dicts with keys: category, reason, confidence, source. -
SessionClassificationPipeline.__init__(method)skills/lazyown_policy.py:1202def __init__(self, cfg, interactive) -
SessionClassificationPipeline.process(method)skills/lazyown_policy.py:1210def process(self, target, command, args, output, exit_code, timestamp)-- Classify, reward, store, and return a StepRecord for the given execution. -
PolicyAdvisor.__init__(method)skills/lazyown_policy.py:1267def __init__(self, cfg) -
PolicyAdvisor.advise(method)skills/lazyown_policy.py:1272def advise(self, target)-- Return the policy engine's recommendations for the given target. -
PolicyAdvisor.episode_summary(method)skills/lazyown_policy.py:1277def episode_summary(self, target)-- Return a high-level summary dict for the target's episode. -
LazyOwnPolicyIntegration.__init__(method)skills/lazyown_policy.py:1302def __init__(self, cfg) -
LazyOwnPolicyIntegration.on_command_complete(method)skills/lazyown_policy.py:1307def on_command_complete(self, target, command, args, output, exit_code)-- Classify a completed command and record it in the episode store. -
LazyOwnPolicyIntegration.get_recommendations(method)skills/lazyown_policy.py:1318def get_recommendations(self, target)-- Return ranked next-action recommendations for the target. -
ApprovalOutcome.is_approved(method)skills/lazyown_policy.py:1365def is_approved(self)-- True when the gate authorised execution. -
ApprovalOutcome.is_denied(method)skills/lazyown_policy.py:1370def is_denied(self)-- True when the gate denied execution. -
IApprovalSink.announce(method)skills/lazyown_policy.py:1384def announce(self, request)-- Publish the request so operators can see and resolve it. -
IApprovalSink.resolution_for(method)skills/lazyown_policy.py:1388def resolution_for(self, approval_id)-- Return the latest resolution for the request or None if pending. -
FileApprovalSink.__init__(method)skills/lazyown_policy.py:1400def __init__(self, sessions_dir) -
FileApprovalSink.path(method)skills/lazyown_policy.py:1405def path(self)-- Absolute path of the underlying JSONL file. -
FileApprovalSink.announce(method)skills/lazyown_policy.py:1409def announce(self, request) -
FileApprovalSink.resolution_for(method)skills/lazyown_policy.py:1426def resolution_for(self, approval_id) -
BroadcastApprovalSink.__init__(method)skills/lazyown_policy.py:1463def __init__(self, narrator, file_sink) -
BroadcastApprovalSink.announce(method)skills/lazyown_policy.py:1471def announce(self, request) -
BroadcastApprovalSink.resolution_for(method)skills/lazyown_policy.py:1499def resolution_for(self, approval_id) -
StdinApprovalSink.__init__(method)skills/lazyown_policy.py:1513def __init__(self, stream) -
StdinApprovalSink.announce(method)skills/lazyown_policy.py:1523def announce(self, request) -
StdinApprovalSink.resolution_for(method)skills/lazyown_policy.py:1552def resolution_for(self, approval_id) -
CompositeApprovalSink.__init__(method)skills/lazyown_policy.py:1564def __init__(self, sinks) -
CompositeApprovalSink.announce(method)skills/lazyown_policy.py:1569def announce(self, request) -
CompositeApprovalSink.resolution_for(method)skills/lazyown_policy.py:1576def resolution_for(self, approval_id) -
ApprovalGate.__init__(method)skills/lazyown_policy.py:1634def __init__(self, sink, payload_path, poll_interval_s, poll_timeout_s, sleep_fn) -
ApprovalGate.request(method)skills/lazyown_policy.py:1667def request(self, target, phase, command, reason)-- Return an ApprovalOutcome for the proposed execution. -
ScopeBoundAutoGate.__init__(method)skills/lazyown_policy.py:1850def __init__(self, payload_path, in_scope_fn) -
ScopeBoundAutoGate.request(method)skills/lazyown_policy.py:1866def request(self, target, phase, command, reason)-- Return an ApprovalOutcome without ever prompting a human. -
HistoryBootstrapper.__init__(method)skills/lazyown_policy.py:1928def __init__(self, cfg) -
HistoryBootstrapper.run(method)skills/lazyown_policy.py:1934def run(self)-- Process all CSV rows and return the total number of steps indexed. -
main(function)skills/lazyown_policy.py:2036def main()-- Parse CLI arguments and dispatch to the appropriate command handler.
Depends on: skills/lazyown_context.py
Imported by: skills/lazyown_mcp.py, skills/tests/test_harness_e2e.py
-
SessionTranscript.__init__(method)skills/lazyown_session.py:82def __init__(self, sessions_dir, session_id) -
SessionTranscript.append(method)skills/lazyown_session.py:106def append(self, event_type, data)-- Append a single event. -
SessionTranscript.get_recent(method)skills/lazyown_session.py:143def get_recent(self, n)-- Return the last n events. -
SessionTranscript.get_all(method)skills/lazyown_session.py:161def get_all(self) -
SessionTranscript.count(method)skills/lazyown_session.py:164def count(self) -
SessionTranscript.maybe_auto_compact(method)skills/lazyown_session.py:174def maybe_auto_compact(self, threshold)-- If event count since the last compact_boundary exceeds threshold, generate a template summary of those events and... -
SessionTranscript.add_compact_boundary(method)skills/lazyown_session.py:209def add_compact_boundary(self, summary, preserved_uuids)-- Mark a compaction point. -
SessionTranscript.fork(method)skills/lazyown_session.py:227def fork(self, new_id)-- Create a new transcript forked from this one. -
SessionTranscript.status_text(method)skills/lazyown_session.py:257def status_text(self) -
get_transcript(function)skills/lazyown_session.py:281def get_transcript(sessions_dir, session_id)-- Return the active transcript singleton. -
reset_transcript(function)skills/lazyown_session.py:294def reset_transcript(sessions_dir, session_id)-- Force a new transcript (e.g., after fork or session reset).
-
get_generated_tool_definitions(function)skills/mcp_generated_tools.py:659def get_generated_tool_definitions()-- Return list[types.Tool] entries for all generated tools. -
register_all_generated_handlers(function)skills/mcp_generated_tools.py:684def register_all_generated_handlers(register_handler_fn, make_text_fn, run_lazyown_cmd_fn)-- Register every generated handler via register_handler_fn.
Imported by: skills/lazyown_mcp.py, tests/test_mcp_lazy.py
-
ensure_optional(function)skills/mcp_lazy.py:18def ensure_optional(namespace, flag, loader)-- Return the cached flag or runloaderonce to compute it.
-
load_command_index(function)skills/mcp_tool_generator.py:29def load_command_index() -
extract_commands(function)skills/mcp_tool_generator.py:34def extract_commands(index)-- Return {command_name: summary} for all unique non-duplicate commands. -
extract_existing_handlers(function)skills/mcp_tool_generator.py:55def extract_existing_handlers()-- Parse lazyown_mcp.py for all defined MCP tool names. -
sanitize_description(function)skills/mcp_tool_generator.py:72def sanitize_description(summary, max_len)-- Truncate and clean a command summary for use as a tool description. -
sanitize_docstring(function)skills/mcp_tool_generator.py:85def sanitize_docstring(text)-- Escape backslashes and quotes for triple-quoted docstrings. -
generate_module(function)skills/mcp_tool_generator.py:106def generate_module(commands, existing_handlers, limit)-- Build the complete Python source for mcp_generated_tools.py. -
verify_coverage(function)skills/mcp_tool_generator.py:203def verify_coverage(commands, existing_handlers)-- Compare indexed commands against existing MCP tool coverage. -
main(function)skills/mcp_tool_generator.py:220def main()
Depends on: core/logging.py, modules/event_engine.py, modules/logging_config.py, skills/lazyown_facts.py, skills/lazyown_objective.py
Imported by: skills/lazyown_daemon.py
-
_Handler.on_created(method)skills/sessions_watcher.py:376def on_created(self, event) -
_Handler.on_modified(method)skills/sessions_watcher.py:380def on_modified(self, event) -
main(function)skills/sessions_watcher.py:430def main()
-
info(function)skills/setup.sh:15 -
warn(function)skills/setup.sh:16 -
die(function)skills/setup.sh:17 -
paths_for_sudo(function)skills/setup.sh:61-- Collect paths that exist on this system -
add_nopasswd(function)skills/setup.sh:92
Depends on: core/logging.py, modules/detection_oracle.py, modules/logging_config.py, modules/moe_router.py, modules/rl_trainer.py, skills/hive_mind.py, skills/lazyown_groq_agents.py, skills/lazyown_policy.py
Imported by: modules/loop_ai_bridge.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, skills/unified_orchestrator.py, tests/test_moe_rl_swan.py
-
SwanResult.is_success(method)skills/swan_agent.py:167def is_success(self) -
IResultAggregator.aggregate(method)skills/swan_agent.py:209def aggregate(self, task_type, goal, votes)-- Return (synthesis_text, consensus_confidence). -
ISwanOrchestrator.run(method)skills/swan_agent.py:226def run(self, task_type, goal, engagement_phase, timeout)-- Execute with the best single expert and return result. -
ISwanOrchestrator.ensemble_run(method)skills/swan_agent.py:236def ensemble_run(self, task_type, goal, n_experts, engagement_phase, timeout)-- Execute with top-N experts in parallel and synthesize results. -
WeightedTextAggregator.aggregate(method)skills/swan_agent.py:264def aggregate(self, task_type, goal, votes) -
ExpertExecutor.execute(method)skills/swan_agent.py:351def execute(self, expert_id, backend, model, goal, task_type, timeout, api_key)-- Run the expert and return a SwanResult. -
OutcomeEvaluator.evaluate(method)skills/swan_agent.py:479def evaluate(self, result, task_type)-- Return (reward, detection_prob). -
SwanOrchestrator.__init__(method)skills/swan_agent.py:572def __init__(self, executor, evaluator, aggregator, api_key) -
SwanOrchestrator.run(method)skills/swan_agent.py:592def run(self, task_type, goal, engagement_phase, timeout)-- Execute the task with the best single expert selected by the MoE+RL router. -
SwanOrchestrator.ensemble_run(method)skills/swan_agent.py:680def ensemble_run(self, task_type, goal, n_experts, engagement_phase, timeout)-- Execute with top-N experts in parallel and synthesize results. -
SwanOrchestrator.status(method)skills/swan_agent.py:763def status(self)-- Return a diagnostic snapshot of the SWAN system. -
mcp_swan_run(function)skills/swan_agent.py:945def mcp_swan_run(task_type, goal, phase)-- Route and execute a task with the best MoE+RL-selected expert. -
mcp_swan_ensemble(function)skills/swan_agent.py:968def mcp_swan_ensemble(task_type, goal, n_experts, phase)-- Run top-N experts in parallel and return a synthesized result. -
mcp_swan_status(function)skills/swan_agent.py:996def mcp_swan_status()-- Return SWAN system status: expert weights, RL epsilon, performance. -
mcp_swan_route(function)skills/swan_agent.py:1003def mcp_swan_route(task_type, goal)-- Show which expert would be selected for a task without executing. -
get_swan(function)skills/swan_agent.py:1039def get_swan(api_key)-- Return (or create) the module-level singleton SwanOrchestrator.
Depends on: core/logging.py, modules/logging_config.py, modules/reactive_engine.py, modules/toposwarm_bridge.py
-
PentestState.add_finding(method)skills/toposwarm_autonomous.py:145def add_finding(self, phase_name, text) -
PentestState.summary(method)skills/toposwarm_autonomous.py:149def summary(self) -
PentestState.to_dict(method)skills/toposwarm_autonomous.py:160def to_dict(self) -
AutonomousAgent.__init__(method)skills/toposwarm_autonomous.py:310def __init__(self, state, no_model, verbose, effort, max_phases, json_out) -
AutonomousAgent.run(method)skills/toposwarm_autonomous.py:432def run(self, start_phase) -
main(function)skills/toposwarm_autonomous.py:489def main(argv)
Depends on: modules/engage_summary.py, skills/autonomous_daemon.py, skills/hive_mind.py, skills/swan_agent.py
Imported by: lazyown.py, tests/test_improvements_spec.py
-
OrchestratorConfig.from_payload(method)skills/unified_orchestrator.py:111def from_payload(cls, payload)-- Return a config with[payload.json](https://github.com/grisuno/LazyOwn/blob/85c67d28f10d19b5b7b17ba47ad2ea6c44835507/payload.json)overrides applied. -
OrchestratorGoal.with_defaults(method)skills/unified_orchestrator.py:156def with_defaults(self, config)-- Return a copy with empty fields populated fromconfig. -
OrchestratorResult.to_dict(method)skills/unified_orchestrator.py:197def to_dict(self)-- Return a JSON-serialisable dictionary of the result. -
IOrchestratorBackend.available(method)skills/unified_orchestrator.py:215def available(self)-- ReturnTruewhen this backend can satisfy a request. -
IOrchestratorBackend.run(method)skills/unified_orchestrator.py:219def run(self, goal)-- Executegoaland return a normalised :class:OrchestratorResult. -
EventBus.__init__(method)skills/unified_orchestrator.py:233def __init__(self, config, root)-- Bind the bus to the active config. -
EventBus.path(method)skills/unified_orchestrator.py:252def path(self)-- Return the resolved event file path. -
EventBus.emit(method)skills/unified_orchestrator.py:256def emit(self, event)-- Append a single sanitised event to the bus. -
BackendRegistry.__init__(method)skills/unified_orchestrator.py:303def __init__(self, backends)-- Bind the registry to a fixed-order tuple of backends. -
BackendRegistry.names(method)skills/unified_orchestrator.py:327def names(self)-- Return the registered backend names in declaration order. -
BackendRegistry.get(method)skills/unified_orchestrator.py:331def get(self, name)-- Return the backend registered asnameorNone. -
BackendRegistry.available(method)skills/unified_orchestrator.py:335def available(self)-- Return every backend that currently reports availability. -
RouterPolicy.__init__(method)skills/unified_orchestrator.py:347def __init__(self, config, registry)-- Bind the policy to config and backend registry. -
RouterPolicy.choose(method)skills/unified_orchestrator.py:352def choose(self, goal)-- Return the backend that should executegoal. -
DaemonBackend.__init__(method)skills/unified_orchestrator.py:413def __init__(self, config, factory, payload)-- Bind to config, optional engine factory and payload mapping. -
DaemonBackend.available(method)skills/unified_orchestrator.py:435def available(self)-- ReturnTruewhen the underlying engine can be imported. -
DaemonBackend.run(method)skills/unified_orchestrator.py:445def run(self, goal)-- Execute a single-target kill-chain engagement. -
DaemonBackend.effective_target(method)skills/unified_orchestrator.py:489def effective_target(self, goal)-- Return the daemon target this backend would use forgoal. -
HiveBackend.__init__(method)skills/unified_orchestrator.py:610def __init__(self, config, factory)-- Bind to config and an optional queen factory. -
HiveBackend.available(method)skills/unified_orchestrator.py:619def available(self)-- ReturnTruewhen the hive engine is importable. -
HiveBackend.run(method)skills/unified_orchestrator.py:629def run(self, goal)-- Plan, dispatch, collect and synthesise via the hive. -
SwanBackend.__init__(method)skills/unified_orchestrator.py:711def __init__(self, config, factory)-- Bind to config and an optional orchestrator factory. -
SwanBackend.available(method)skills/unified_orchestrator.py:720def available(self)-- ReturnTruewhen the SWAN engine is importable. -
SwanBackend.run(method)skills/unified_orchestrator.py:730def run(self, goal)-- Execute a single SWAN task and normalise the result. -
GoalValidator.__init__(method)skills/unified_orchestrator.py:814def __init__(self, config)-- Bind the validator to the active configuration. -
GoalValidator.validate(method)skills/unified_orchestrator.py:818def validate(self, goal, mode, phase, task_type, target, drones, timeout, api_key, metadata)-- Return a normalised goal or raise :class:ValueError. -
UnifiedOrchestrator.__init__(method)skills/unified_orchestrator.py:874def __init__(self, config, registry, router, validator, bus)-- Bind the orchestrator to its collaborators. -
UnifiedOrchestrator.backends(method)skills/unified_orchestrator.py:890def backends(self)-- Return the registered backend names in declaration order. -
UnifiedOrchestrator.execute(method)skills/unified_orchestrator.py:894def execute(self, goal, mode, phase, task_type, target, drones, timeout, api_key, metadata)-- Validate, route, execute and emit one goal end-to-end. -
build_default_orchestrator(function)skills/unified_orchestrator.py:995def build_default_orchestrator(payload, sessions_dir)-- Wire the canonical three-backend orchestrator.
Depends on: core/logging.py, modules/logging_config.py, skills/lazyown_parquet_db.py
-
main(function)skills/update_knowledge.py:40def main(argv)
Depends on: core/parsers.py, lazyown.py, modules/llm_adapter.py, utils.py
-
SecureSessionManager.__init__(method)slack_c2_bot.py:29def __init__(self) -
SecureSessionManager.register_failed_attempt(method)slack_c2_bot.py:34def register_failed_attempt(self, user_id) -
SecureSessionManager.check_lockout(method)slack_c2_bot.py:42def check_lockout(self, user_id) -
SecureSessionManager.check_rate_limit(method)slack_c2_bot.py:52def check_rate_limit(self, user_id) -
SecureSessionManager.create_session(method)slack_c2_bot.py:63def create_session(self, user_id) -
SecureSessionManager.validate_session(method)slack_c2_bot.py:71def validate_session(self, user_id) -
SecureSessionManager.set_client(method)slack_c2_bot.py:81def set_client(self, user_id, client_id) -
SecureSessionManager.get_client(method)slack_c2_bot.py:85def get_client(self, user_id) -
capture_shell_output(function)slack_c2_bot.py:95def capture_shell_output(cmd) -
handle_message(function)slack_c2_bot.py:113def handle_message(event, say, logger) -
cmd_addcli(function)slack_c2_bot.py:177def cmd_addcli(ack, respond, command) -
cmd_clients(function)slack_c2_bot.py:195def cmd_clients(ack, respond, command) -
cmd_download(function)slack_c2_bot.py:209def cmd_download(ack, respond, command) -
handle_file(function)slack_c2_bot.py:240def handle_file(event, say, logger) -
mentioned(function)slack_c2_bot.py:252def mentioned(ack, say, event)
Next: API_p19.md
Generated offline by readmenator from commit 5f10e2fad6ea. 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