Repository navigation
Agent API_p16
Previous: API_p15.md
Imported by: modules/custom_tools.py, modules/lazy_loop.py, skills/autonomous_daemon.py, static/js/chart.min.js, tests/test_autonomous_ops.py, tests/test_lazy_loop.py, tests/test_security_codeql_batch.py
-
severity_rank(function)modules/notify.py:31def severity_rank(severity, config)-- Return the comparable order for a severity label. -
mask_secrets(function)modules/notify.py:39def mask_secrets(text, config)-- Replace known secret prefixes with a redaction marker. -
url_allowed(function)modules/notify.py:57def url_allowed(url)-- SSRF dial-guard for webhook delivery (LAZY parity). -
post_url_validated(function)modules/notify.py:145def post_url_validated(url, data, timeout)-- POST data to a webhook URL after SSRF validation, guarding redirects. -
_GuardRedirect.redirect_request(method)modules/notify.py:159def redirect_request(self, req, fp, code, msg, headers, newurl) -
Notifier.__init__(method)modules/notify.py:207def __init__(self, config)-- Initialize with shared notification constants. -
Notifier.should_send(method)modules/notify.py:215def should_send(self, message, channel)-- Apply event, severity, keyword and scope gates (LAZY parity). -
Notifier.render(method)modules/notify.py:238def render(self, message)-- Render masked Markdown text for a message. -
Notifier.dispatch(method)modules/notify.py:244def dispatch(self, message, channels)-- Fan out to eligible channels and journal deliveries. -
Notifier.flush_digest(method)modules/notify.py:260def flush_digest(self, max_age_sec)-- Emit one digest per channel when due (default 30m, LAZY parity).
-
repo_root(function)modules/nuclei_templates_sync.py:39def repo_root()-- Return the LazyOwn repository root derived from this file location. -
canonical_dest(function)modules/nuclei_templates_sync.py:48def canonical_dest(subdir)-- Return the canonical marketplace destination for a source. -
run(function)modules/nuclei_templates_sync.py:60def run(argv, cwd)-- Run a subprocess capturing output as text without raising. -
ensure_git_available(function)modules/nuclei_templates_sync.py:73def ensure_git_available()-- Abort with a clear message when the git binary is missing. -
clone_templates(function)modules/nuclei_templates_sync.py:84def clone_templates(repo, staging)-- Shallow-clone the template repository into the staging directory. -
strip_git_traces(function)modules/nuclei_templates_sync.py:113def strip_git_traces(tree)-- Remove every .git file or directory under the staged tree. -
count_templates(function)modules/nuclei_templates_sync.py:132def count_templates(tree)-- Count Nuclei template files under a directory tree. -
replace_dest(function)modules/nuclei_templates_sync.py:144def replace_dest(src, dest, expected)-- Atomically replace the destination with the staged tree contents. -
same_remote(function)modules/nuclei_templates_sync.py:168def same_remote(path, repo)-- Check whether an existing clone points at the expected remote. -
normalize(function)modules/nuclei_templates_sync.py:179def normalize(url) -
refresh_existing_clone(function)modules/nuclei_templates_sync.py:188def refresh_existing_clone(path, repo)-- Fast-forward an existing clean clone of the same remote. -
validate_subset(function)modules/nuclei_templates_sync.py:209def validate_subset(dest, subset)-- Validate a template subset with the nuclei binary when available. -
build_parser(function)modules/nuclei_templates_sync.py:238def build_parser()-- Build the command line parser for the sync script. -
sync(function)modules/nuclei_templates_sync.py:263def sync(name, repo, dest, refresh_existing, skip_validate)-- Clone, clean, and install one template source. -
resolve_plan(function)modules/nuclei_templates_sync.py:308def resolve_plan(args)-- Resolve the requested sources into (name, repo, dest) work items. -
main(function)modules/nuclei_templates_sync.py:337def main(argv)-- Entry point for the template sync script.
Depends on: cli/commands/enum.py, core/logging.py
Imported by: modules/intelligence_engine.py, modules/operation.py, modules/planner.py, modules/playbook_engine.py, modules/sinks/world_model.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, tests/integration_autonomous_flow.py, tests/test_core_modules.py, tests/test_daemon_loop.py, tests/test_phase1_data_gaps.py
-
Observation.by_type(method)modules/obs_parser.py:83def by_type(self, ftype) -
Observation.has(method)modules/obs_parser.py:86def has(self, ftype) -
Extractor.extract(method)modules/obs_parser.py:99def extract(self, text, host)-- Return all findings of this type found in text. -
_ExtractorRegistry.__init__(method)modules/obs_parser.py:106def __init__(self) -
_ExtractorRegistry.register(method)modules/obs_parser.py:109def register(self, extractor) -
_ExtractorRegistry.run_all(method)modules/obs_parser.py:112def run_all(self, text, host) -
_IPExtractor.extract(method)modules/obs_parser.py:134def extract(self, text, host) -
_CredentialExtractor.extract(method)modules/obs_parser.py:175def extract(self, text, host) -
_ServiceVersionExtractor.extract(method)modules/obs_parser.py:198def extract(self, text, host) -
_PathExtractor.extract(method)modules/obs_parser.py:224def extract(self, text, host) -
_UsernameExtractor.extract(method)modules/obs_parser.py:245def extract(self, text, host) -
_HashExtractor.extract(method)modules/obs_parser.py:271def extract(self, text, host) -
_CVEExtractor.extract(method)modules/obs_parser.py:288def extract(self, text, host) -
_DomainExtractor.extract(method)modules/obs_parser.py:305def extract(self, text, host) -
_EmailExtractor.extract(method)modules/obs_parser.py:323def extract(self, text, host) -
_ErrorExtractor.extract(method)modules/obs_parser.py:345def extract(self, text, host) -
_CloudIdentityExtractor.extract(method)modules/obs_parser.py:367def extract(self, text, host) -
_SuccessDetector.is_success(method)modules/obs_parser.py:407def is_success(self, text) -
ObsParser.__init__(method)modules/obs_parser.py:431def __init__(self) -
ObsParser.register(method)modules/obs_parser.py:450def register(self, extractor)-- Register an additional Extractor (Open/Closed extension point). -
ObsParser.parse(method)modules/obs_parser.py:454def parse(self, output, host, tool)-- Parse output and return an Observation. -
get_parser(function)modules/obs_parser.py:500def get_parser()-- Return (or create) the module-level singleton ObsParser. -
parse(function)modules/obs_parser.py:508def parse(output, host, tool)-- Module-level convenience wrapper.
Depends on: cli/commands/enum.py, core/logging.py, modules/apt_playbooks.py, modules/obs_parser.py, modules/playbook_engine.py, modules/world_model.py
Imported by: cli/commands/caldera.py
-
Operation.to_dict(method)modules/operation.py:98def to_dict(self) -
Operation.from_dict(method)modules/operation.py:116def from_dict(cls, d) -
Operation.save(method)modules/operation.py:134def save(self) -
Operation.log_event(method)modules/operation.py:143def log_event(self, step_index, step_name, status, summary, findings_count, error) -
Operation.record_facts(method)modules/operation.py:164def record_facts(self, findings) -
OperationManager.__init__(method)modules/operation.py:183def __init__(self) -
OperationManager.list(method)modules/operation.py:187def list(self)-- List all persisted operations. -
OperationManager.get(method)modules/operation.py:199def get(self, op_id) -
OperationManager.create(method)modules/operation.py:206def create(self, name, target, apt_name, description)-- Create a new planned operation. -
OperationManager.plan_from_apt(method)modules/operation.py:225def plan_from_apt(self, op, playbook_yaml_path)-- Populate steps from an APT playbook YAML (or fall back to a derived MITRE playbook). -
OperationManager.start(method)modules/operation.py:287def start(self, op_id, executor)-- Start or resume a planned operation. -
OperationManager.pause(method)modules/operation.py:369def pause(self, op_id) -
OperationManager.resume(method)modules/operation.py:378def resume(self, op_id, executor) -
OperationManager.stop(method)modules/operation.py:386def stop(self, op_id) -
OperationManager.status(method)modules/operation.py:396def status(self, op_id)-- Return a structured status dict for an operation. -
OperationManager.timeline(method)modules/operation.py:425def timeline(self, op_id) -
OperationManager.report(method)modules/operation.py:431def report(self, op_id) -
get_manager(function)modules/operation.py:471def get_manager()-- Return a fresh :class:OperationManager.
Depends on: core/config.py, core/logging.py
Imported by: cli/commands/automation.py
-
OperatorProfile.to_dict(method)modules/operator_profiles.py:57def to_dict(self) -
OperatorProfileManager.__init__(method)modules/operator_profiles.py:88def __init__(self) -
OperatorProfileManager.create_profile(method)modules/operator_profiles.py:192def create_profile(self, username, display_name, role, lhost, lport, listener_port, c2_port, c2_malleable_route...-- Create a new operator profile. -
OperatorProfileManager.load_profile(method)modules/operator_profiles.py:260def load_profile(self, username)-- Load an operator profile. -
OperatorProfileManager.update_profile(method)modules/operator_profiles.py:276def update_profile(self, username)-- Update fields on an existing profile. -
OperatorProfileManager.delete_profile(method)modules/operator_profiles.py:289def delete_profile(self, username)-- Delete an operator profile and its directory. -
OperatorProfileManager.list_profiles(method)modules/operator_profiles.py:300def list_profiles(self)-- Return all operator profiles. -
OperatorProfileManager.touch_activity(method)modules/operator_profiles.py:312def touch_activity(self, username)-- Update last_active timestamp. -
OperatorProfileManager.set_attribute(method)modules/operator_profiles.py:319def set_attribute(self, username, key, value)-- Set a custom attribute on an operator profile. -
OperatorProfileManager.get_attribute(method)modules/operator_profiles.py:328def get_attribute(self, username, key, default)-- Get a custom attribute from an operator profile. -
OperatorProfileManager.log_action(method)modules/operator_profiles.py:335def log_action(self, username, action, details)-- Append an audited action to the operator's audit log. -
OperatorProfileManager.effective_config(method)modules/operator_profiles.py:360def effective_config(self, username)-- Merge team baseline (payload.json) with per-operator overrides. -
get_operator_profile_manager(function)modules/operator_profiles.py:398def get_operator_profile_manager()-- Return the singleton :class:OperatorProfileManager.
Depends on: cli/commands/enum.py, core/config.py, core/logging.py, modules/db.py, modules/killchain.py
Imported by: cli/commands/opsec_cleanup.py, cli/commands/security.py, tests/test_opsec_scorer.py, tests/test_opsec_scorer_consolidated.py
-
OpsecScore.to_dict(method)modules/opsec_scorer.py:288def to_dict(self)-- Return the score serialized as a plain dictionary. -
OpsecScorer.__init__(method)modules/opsec_scorer.py:343def __init__(self, payload, world_model) -
OpsecScorer.evasion_active(method)modules/opsec_scorer.py:352def evasion_active(self) -
OpsecScorer.traffic_morphing_active(method)modules/opsec_scorer.py:357def traffic_morphing_active(self) -
OpsecScorer.score(method)modules/opsec_scorer.py:365def score(self, command, rhost, phase_override)-- Score an OPSEC risk forcommandagainstrhost. -
OpsecScorer.score_batch(method)modules/opsec_scorer.py:413def score_batch(self, commands, rhost)-- Score multiple commands and return {command: OpsecScore}. -
OpsecScorer.suggest_mitigations(method)modules/opsec_scorer.py:417def suggest_mitigations(self, command, detectable_by)-- Return mitigation suggestions for a given command. -
OpsecScorerV2.__init__(method)modules/opsec_scorer.py:617def __init__(self, context) -
OpsecScorerV2.assess(method)modules/opsec_scorer.py:622def assess(self, command, extra_context)-- Assess OPSEC risk for a command in the current context. -
OpsecScorerV2.should_allow(method)modules/opsec_scorer.py:696def should_allow(self, command)-- Quick gating check - returns (allowed, score). -
OpsecScorerV2.get_trend(method)modules/opsec_scorer.py:709def get_trend(self)-- Analyze OPSEC risk trend over the session. -
score_command(function)modules/opsec_scorer.py:811def score_command(command, payload, rhost)-- Convenience function: score a single command without creating a scorer instance.
Depends on: core/config.py, core/logging.py, modules/auto_registry.py, modules/trigger_policy.py, modules/verb_catalog.py
Imported by: cli/commands/lazyops.py, cli/lazy_orchestrator.py, cli/orchestrator_assets_tabs.py, lazyc2/blueprints/orchestrator.py, modules/auto_registry.py, modules/defense_stages.py, modules/harness.py, modules/lazy_loop.py, modules/loop_ai_bridge.py, modules/trigger_policy.py, skills/lazyown_mcp_opencode.py, tests/test_harness_mode.py, tests/test_lazy_orchestrator.py, tests/test_orchestrator_api.py, tests/test_orchestrator_yaml.py, tests/test_outcome_bus.py
-
reload(function)modules/orchestrator_config.py:113def reload()-- Invalidate every merged view after an external configuration change. -
profiles(function)modules/orchestrator_config.py:232def profiles()-- Return every resolved profile, including inherited values. -
active_profile(function)modules/orchestrator_config.py:257def active_profile()-- Return the profile selected by the payload, falling back safely. -
profile_config(function)modules/orchestrator_config.py:269def profile_config(name)-- Return one resolved profile by name, or the active profile. -
set_profile(function)modules/orchestrator_config.py:276def set_profile(name)-- Persist the active profile name. -
set_harness(function)modules/orchestrator_config.py:300def set_harness(enabled)-- Persist the deterministic-harness toggle in the payload. -
limits(function)modules/orchestrator_config.py:332def limits()-- Return resolved numeric limits for the active profile. -
budget(function)modules/orchestrator_config.py:339def budget()-- Return resolved budgets for the active profile. -
chain_defaults(function)modules/orchestrator_config.py:346def chain_defaults()-- Return the default chain and playbook for the active profile. -
sinks(function)modules/orchestrator_config.py:355def sinks()-- Return outcome sink toggles for the active profile plus payload overrides. -
stages(function)modules/orchestrator_config.py:366def stages()-- Merged stage view: enabled flag, label, firing condition and params. -
stage_enabled(function)modules/orchestrator_config.py:396def stage_enabled(name)-- Return whether one pipeline stage is enabled (unknown = enabled). -
stage_params(function)modules/orchestrator_config.py:402def stage_params(name)-- Return the resolved parameter mapping of one stage. -
set_stage(function)modules/orchestrator_config.py:407def set_stage(name, enabled)-- Persist the enabled flag of one stage. -
effective_verbs(function)modules/orchestrator_config.py:432def effective_verbs()-- Merged auto-verb view: built-ins plus operator overrides, additions and catalog. -
verb_config(function)modules/orchestrator_config.py:524def verb_config(name)-- Return the merged configuration of one auto verb, or None. -
verb_enabled(function)modules/orchestrator_config.py:533def verb_enabled(name)-- Return whether one auto verb may be proposed or executed. -
upsert_verb(function)modules/orchestrator_config.py:539def upsert_verb(name)-- Create or update one auto-verb override in the payload. -
remove_verb(function)modules/orchestrator_config.py:596def remove_verb(name)-- Remove a custom verb, or disable a built-in one. -
reset(function)modules/orchestrator_config.py:617def reset()-- Drop every orchestrator override (back to YAML defaults). -
validate_config(function)modules/orchestrator_config.py:624def validate_config(data)-- Validate one raw orchestration mapping.
Imported by: modules/finding_lifecycle.py, tests/test_finding_lifecycle.py
-
cve_lookup(function)modules/osint_enrich.py:122def cve_lookup(cve_id, sessions_dir)-- Assemble OSV advisory + KEV flag + EPSS score for one CVE id. -
reverse_dns(function)modules/osint_enrich.py:161def reverse_dns(ip, sessions_dir)-- Best-effort PTR hostname for an IP (HackerTarget, then DoH). -
host_geo(function)modules/osint_enrich.py:183def host_geo(ip, sessions_dir)-- Country/org/ISP for an IP via the keyless ip-api endpoint. -
domain_exposure(function)modules/osint_enrich.py:198def domain_exposure(domain, sessions_dir)-- Count public urlscan.io results for a domain (no key needed). -
enrich_evidence(function)modules/osint_enrich.py:213def enrich_evidence(items, sessions_dir)-- Append keyless OSINT verdicts to CVE mentions inside evidence items.
Depends on: core/logging.py, modules/__init__.py
Imported by: cli/commands/command_and_control_migrated.py, modules/atomic_exploit_bridge.py, modules/autonomous_exploit_engine.py, modules/beacon_recon.py, modules/ctf_capture.py, modules/emulation_runner.py, modules/exploit_chain.py, modules/lazy_loop.py, modules/redteam_gym.py, modules/sinks/attack_graph.py, modules/sinks/c2_surfaces.py, modules/sinks/campaign_db.py, modules/sinks/event_bus.py, modules/sinks/intel_graph.py, modules/sinks/killchain.py, modules/sinks/objectives.py, modules/sinks/routing.py, modules/sinks/world_model.py, tests/test_beacon_recon_sink.py, tests/test_gym_cli.py, tests/test_gym_lifecycle.py, tests/test_gym_registry.py, tests/test_lazy_orchestrator.py, tests/test_outcome_bus.py
-
OutcomeEvent.host_value(method)modules/outcome_bus.py:101def host_value(self)-- Return the best host identifier available. -
OutcomeEvent.key(method)modules/outcome_bus.py:105def key(self)-- Return the idempotency key for this event. -
OutcomeEvent.to_dict(method)modules/outcome_bus.py:123def to_dict(self)-- Return a JSON-serializable view. -
OutcomeBus.__init__(method)modules/outcome_bus.py:154def __init__(self, ledger_path, sink_map)-- Bind the audit ledger and an optional sink map for tests. -
OutcomeBus.reset(method)modules/outcome_bus.py:167def reset(self)-- Clear the in-process dedupe cache. -
OutcomeBus.record(method)modules/outcome_bus.py:199def record(self, event, sinks)-- Publish one event to every enabled sink. -
get_bus(function)modules/outcome_bus.py:267def get_bus()-- Return the process-wide outcome bus. -
reset_bus(function)modules/outcome_bus.py:276def reset_bus()-- Reset the process-wide bus cache (tests and long-lived operators). -
record(function)modules/outcome_bus.py:281def record(event, sinks)-- Publish one event through the process-wide bus. -
record_event(function)modules/outcome_bus.py:286def record_event()-- Build and publish one event from keyword fields. -
severity_for_event(function)modules/outcome_bus.py:291def severity_for_event(severity)-- Map an outcome severity to the event-bus severity vocabulary. -
category_for_event(function)modules/outcome_bus.py:296def category_for_event(kind)-- Map an outcome kind to the event-bus category vocabulary.
Imported by: cli/commands/misc_migrated.py, cli/commands/payload_generation.py, cli/commands/session_ops.py, lazyown.py, scripts/devtools/core_smoke.py, tests/test_payload_factory.py
-
PayloadTemplate.__init__(method)modules/payload_factory.py:222def __init__(self, name, platform, arch, description, options) -
PayloadTemplate.generate(method)modules/payload_factory.py:237def generate(self)-- Generate the raw payload bytes. -
PayloadTemplate.to_dict(method)modules/payload_factory.py:241def to_dict(self) -
ReverseShellPayload.__init__(method)modules/payload_factory.py:254def __init__(self) -
ReverseShellPayload.generate(method)modules/payload_factory.py:272def generate(self) -
WindowsReverseShellPayload.__init__(method)modules/payload_factory.py:293def __init__(self) -
WindowsReverseShellPayload.generate(method)modules/payload_factory.py:305def generate(self) -
MsfvenomPayload.__init__(method)modules/payload_factory.py:325def __init__(self, name, platform, arch) -
MsfvenomPayload.generate(method)modules/payload_factory.py:337def generate(self) -
ShellcodePayload.__init__(method)modules/payload_factory.py:374def __init__(self, name, platform, arch, description, escaped_hex, patcher) -
ShellcodePayload.generate(method)modules/payload_factory.py:397def generate(self)-- Return the shellcode, optionally patching LHOST / LPORT. -
DynamicShellcodePayload.__init__(method)modules/payload_factory.py:416def __init__(self, name, platform, arch, description, builder) -
DynamicShellcodePayload.generate(method)modules/payload_factory.py:436def generate(self) -
PayloadFactory.__init__(method)modules/payload_factory.py:464def __init__(self) -
PayloadFactory.register(method)modules/payload_factory.py:512def register(self, template)-- Register a custom payload template. -
PayloadFactory.list(method)modules/payload_factory.py:516def list(self, platform)-- List all registered payloads, optionally filtered by platform. -
PayloadFactory.get(method)modules/payload_factory.py:525def get(self, name)-- Get a payload template by name. -
PayloadFactory.generate(method)modules/payload_factory.py:529def generate(self, name, format, output)-- Generate a payload by name. -
PayloadFactory.list_formats(method)modules/payload_factory.py:664def list_formats()-- List all available output formats. -
format_payload_table(function)modules/payload_factory.py:672def format_payload_table(payloads)-- Format a list of payload dicts as an aligned table.
Depends on: core/crypto.py, core/hardening.py
Imported by: cli/commands/phishing_wizard.py, tests/test_security_hardening_v3.py, tests/test_security_hardening_v5.py
-
PhishingOrchestrator.__init__(method)modules/phishing_orchestrator.py:316def __init__(self) -
PhishingOrchestrator.get_instance(method)modules/phishing_orchestrator.py:321def get_instance(cls) -
PhishingOrchestrator.launch(method)modules/phishing_orchestrator.py:332def launch(self, target_domain, template, mode, targets_file, sender_email, sender_password, smtp_host, smtp_port)-- Launch a phishing campaign. -
PhishingOrchestrator.profile_targets(method)modules/phishing_orchestrator.py:441def profile_targets(self, domain)-- Profile targets for a domain using OSINT techniques. -
PhishingOrchestrator.generate_template(method)modules/phishing_orchestrator.py:486def generate_template(self, name, target_domain, context)-- Generate or retrieve a phishing template. -
PhishingOrchestrator.clone_landing_page(method)modules/phishing_orchestrator.py:533def clone_landing_page(self, url)-- Clone a target login page for credential harvesting. -
PhishingOrchestrator.get_results(method)modules/phishing_orchestrator.py:560def get_results(self, campaign_id)-- Get campaign results. -
PhishingOrchestrator.record_click(method)modules/phishing_orchestrator.py:584def record_click(self, campaign_id, email)-- Record a link click. -
PhishingOrchestrator.record_credentials(method)modules/phishing_orchestrator.py:605def record_credentials(self, campaign_id, email, password)-- Record harvested credentials.
Depends on: core/logging.py, modules/engagement_hooks.py, skills/autonomous_daemon.py
Imported by: cli/commands/session_ops.py, modules/playbook_executor.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, tests/test_pipeline_engine.py
-
StepResult.to_context(method)modules/pipeline_engine.py:180def to_context(self)-- Render the step result as a dict for template lookups. -
PipelineRun.to_dict(method)modules/pipeline_engine.py:213def to_dict(self)-- Return a JSON-friendly representation of the full run. -
TemplateResolver.__init__(method)modules/pipeline_engine.py:275def __init__(self, context) -
TemplateResolver.render(method)modules/pipeline_engine.py:278def render(self, template) -
TemplateResolver.resolve(method)modules/pipeline_engine.py:289def resolve(self, dotted_path)-- Return the value at dotted_path or None when not found. -
ConditionEvaluator.is_truthy(method)modules/pipeline_engine.py:330def is_truthy(rendered) -
StepValidator.validate(method)modules/pipeline_engine.py:352def validate(predicate, output) -
StepDerivers.register(method)modules/pipeline_engine.py:389def register(cls, command, deriver)-- Bind a deriver to a top-level command name (case-insensitive). -
StepDerivers.derive(method)modules/pipeline_engine.py:396def derive(cls, command, output)-- Run the registered deriver for command on output, defensive. -
IStepRunner.run(method)modules/pipeline_engine.py:513def run(self, command, args, target, timeout_s)-- Execute one command. -
LazyOwnStepRunner.__init__(method)modules/pipeline_engine.py:537def __init__(self, runner, onecmd) -
LazyOwnStepRunner.run(method)modules/pipeline_engine.py:548def run(self, command, args, target, timeout_s) -
PipelineLoader.__init__(method)modules/pipeline_engine.py:638def __init__(self, pipelines_dir) -
PipelineLoader.pipelines_dir(method)modules/pipeline_engine.py:642def pipelines_dir(self) -
PipelineLoader.list(method)modules/pipeline_engine.py:645def list(self)-- Return every pipeline name discoverable in pipelines_dir. -
PipelineLoader.resolve_path(method)modules/pipeline_engine.py:658def resolve_path(self, name)-- Return the absolute path to the YAML file for the given name. -
PipelineLoader.load(method)modules/pipeline_engine.py:683def load(self, name)-- Parse the YAML file for name and return a validated spec. -
RunArtifactStore.__init__(method)modules/pipeline_engine.py:778def __init__(self, runs_dir) -
RunArtifactStore.runs_dir(method)modules/pipeline_engine.py:782def runs_dir(self) -
RunArtifactStore.open_run(method)modules/pipeline_engine.py:785def open_run(self, pipeline_name, run_id)-- Create and return the directory for this run. -
RunArtifactStore.write_plan(method)modules/pipeline_engine.py:797def write_plan(self, run_dir, spec) -
RunArtifactStore.write_step(method)modules/pipeline_engine.py:814def write_step(self, run_dir, result) -
RunArtifactStore.write_summary(method)modules/pipeline_engine.py:828def write_summary(self, run_dir, run) -
INarratorAdapter.narrate(method)modules/pipeline_engine.py:852def narrate(self, kind, target, message, payload, severity)-- Emit one narration event. -
_SilentNarrator.narrate(method)modules/pipeline_engine.py:864def narrate(self) -
EngagementNarratorAdapter.__init__(method)modules/pipeline_engine.py:871def __init__(self, narrator) -
EngagementNarratorAdapter.narrate(method)modules/pipeline_engine.py:881def narrate(self, kind, target, message, payload, severity) -
PipelineEngine.__init__(method)modules/pipeline_engine.py:927def __init__(self, runner, loader, artifact_store, narrator, max_nesting) -
PipelineEngine.loader(method)modules/pipeline_engine.py:942def loader(self) -
PipelineEngine.validate(method)modules/pipeline_engine.py:945def validate(self, name)-- Load and validate without executing. -
PipelineEngine.run(method)modules/pipeline_engine.py:949def run(self, name, target, nesting_stack)-- Execute the pipeline. -
get_default_engine(function)modules/pipeline_engine.py:1300def get_default_engine(onecmd)-- Process-wide default engine for production callers. -
mcp_pipeline_run(function)modules/pipeline_engine.py:1314def mcp_pipeline_run(name, target, background, onecmd)-- Public MCP / CLI entry: run a pipeline. -
mcp_pipeline_list(function)modules/pipeline_engine.py:1368def mcp_pipeline_list()-- Return the list of available pipelines under pipelines/. -
mcp_pipeline_validate(function)modules/pipeline_engine.py:1385def mcp_pipeline_validate(name)-- Validate a pipeline's YAML schema without executing it. -
mcp_pipeline_status(function)modules/pipeline_engine.py:1414def mcp_pipeline_status(last_n)-- Return the N most recent pipeline runs and their summaries. -
cmd_pipeline(function)modules/pipeline_engine.py:1436def cmd_pipeline(action, name, target, background)-- CLI helper bound to thepipelinedaemon subcommand.
Depends on: core/logging.py, modules/llm_client.py, modules/obs_parser.py, modules/playbook_engine.py, modules/world_model.py
Imported by: cli/commands/caldera.py, cli/commands/session_ops.py, skills/autonomous_daemon.py, skills/lazyown_mcp.py, tests/test_autonomous_ops.py, tests/test_daemon_loop.py, tests/test_engage_gates.py, tests/test_lazy_parity.py
-
Planner.__init__(method)modules/planner.py:269def __init__(self, world_model, obs_parser, api_key) -
Planner.plan(method)modules/planner.py:313def plan(self, target, max_candidates)-- Return a ranked list of next-step candidates for target. -
Planner.to_dict(method)modules/planner.py:413def to_dict(self, result) -
get_planner(function)modules/planner.py:446def get_planner(api_key)-- Return a fact-based planner with an optional LLM tie-break key. -
TodoList.__init__(method)modules/planner.py:468def __init__(self)-- Initialize an empty todo sequence. -
TodoList.todo_add(method)modules/planner.py:472def todo_add(self, name, requires)-- Append a step and return it. -
TodoList.todo_done(method)modules/planner.py:478def todo_done(self, name)-- Mark a step done when its requirements hold. -
TodoList.next_ready(method)modules/planner.py:489def next_ready(self)-- Return the first pending step whose requirements hold. -
TodoList.blocks(method)modules/planner.py:497def blocks(self, tactic)-- Return True when a tactic must wait for an unfinished chain. -
Frontier.__init__(method)modules/planner.py:514def __init__(self, planner, todos)-- Bind the frontier to a planner and an optional todo list. -
Frontier.todos(method)modules/planner.py:523def todos(self)-- Expose the shared todo list. -
Frontier.tried(method)modules/planner.py:528def tried(self)-- Return the tried technique identifiers. -
Frontier.refill(method)modules/planner.py:532def refill(self, target, max_intents)-- Plan fresh intents, keeping only untried and unblocked ones. -
Frontier.pop(method)modules/planner.py:551def pop(self)-- Claim the oldest queued intent and mark its technique tried.
Imported by: cli/orchestrator_assets_tabs.py, tests/test_playbook_admin.py
-
slugify(function)modules/playbook_admin.py:62def slugify(value)-- Return a safe playbook filename stem. -
playbook_path(function)modules/playbook_admin.py:75def playbook_path(filename, directory)-- Resolve one playbook file inside the playbooks root. -
load_playbook(function)modules/playbook_admin.py:102def load_playbook(path)-- Read one playbook YAML mapping. -
playbook_kind(function)modules/playbook_admin.py:123def playbook_kind(data)-- Returnapt,plan,mixedorunknownfor one mapping. -
validate_playbook(function)modules/playbook_admin.py:136def validate_playbook(data)-- Validate the minimal shape shared by both playbook formats. -
summarize(function)modules/playbook_admin.py:197def summarize(path)-- Build the admin-table row for one file without raising. -
scan_playbooks(function)modules/playbook_admin.py:231def scan_playbooks(directory)-- Return every*.yaml/*.ymlplaybook, sorted by file name. -
preview_playbook(function)modules/playbook_admin.py:251def preview_playbook(path, limit)-- Return a bounded, sanitized text preview for the detail pane. -
playbook_template(function)modules/playbook_admin.py:265def playbook_template(name, description, platforms)-- Return a minimal APT playbook mapping ready foryaml.safe_dump. -
create_playbook(function)modules/playbook_admin.py:297def create_playbook(filename)-- Create one APT playbook file. -
update_playbook(function)modules/playbook_admin.py:350def update_playbook(path, data, directory)-- Validate and atomically rewrite one playbook. -
save_playbook_yaml(function)modules/playbook_admin.py:377def save_playbook_yaml(path, text, directory)-- Parse, validate and write a raw YAML document. -
delete_playbook(function)modules/playbook_admin.py:406def delete_playbook(path, directory)-- Delete one playbook confined to the playbooks root.
Depends on: core/logging.py, core/safe_exec.py, modules/emulation_runner.py, modules/llm_client.py, modules/obs_parser.py, modules/world_model.py
Imported by: cli/commands/caldera.py, cli/commands/mcp_bridge.py, modules/operation.py, modules/planner.py, skills/lazyown_mcp.py, tests/test_core_modules.py
-
PlaybookStep.to_dict(method)modules/playbook_engine.py:113def to_dict(self) -
PlaybookStep.from_dict(method)modules/playbook_engine.py:128def from_dict(cls, d) -
Playbook.to_dict(method)modules/playbook_engine.py:141def to_dict(self) -
Playbook.from_dict(method)modules/playbook_engine.py:152def from_dict(cls, d) -
_StixLoader.__init__(method)modules/playbook_engine.py:188def __init__(self, json_path) -
_StixLoader.available(method)modules/playbook_engine.py:192def available(self) -
_StixLoader.store(method)modules/playbook_engine.py:195def store(self) -
_StixLoader.techniques_for_tactics(method)modules/playbook_engine.py:210def techniques_for_tactics(self, tactic_shortnames, platform)-- Return ATT&CK techniques matching the given tactic shortnames. -
_AtomicIndex.__init__(method)modules/playbook_engine.py:260def __init__(self, atomics_path) -
_AtomicIndex.available(method)modules/playbook_engine.py:264def available(self) -
_AtomicIndex.build(method)modules/playbook_engine.py:267def build(self) -
_AtomicIndex.tests_for_technique(method)modules/playbook_engine.py:300def tests_for_technique(self, technique_id, platform) -
_TechniqueSelector.select(method)modules/playbook_engine.py:317def select(self, candidates, world_context, target, phase, api_key, top_n) -
PlaybookEngine.__init__(method)modules/playbook_engine.py:387def __init__(self, world_model, obs_parser, api_key, top_n) -
PlaybookEngine.derive(method)modules/playbook_engine.py:427def derive(self, target, phase, platform, apt_name)-- Generate a Playbook for target at the given phase. -
PlaybookEngine.execute(method)modules/playbook_engine.py:529def execute(self, playbook, executor, dry_run)-- Execute a Playbook step by step. -
PlaybookEngine.save(method)modules/playbook_engine.py:599def save(self, playbook, path)-- Persist playbook to YAML (compatible with existing playbooks/ format). -
PlaybookEngine.load(method)modules/playbook_engine.py:611def load(self, path)-- Load a playbook from YAML. -
PlaybookEngine.result_summary(method)modules/playbook_engine.py:640def result_summary(self, result)-- Return a human-readable / LLM-readable summary of a PlaybookResult. -
get_engine(function)modules/playbook_engine.py:669def get_engine(api_key)-- Return (or create) the module-level singleton PlaybookEngine.
Depends on: modules/pipeline_engine.py
-
PlaybookRunResult.to_dict(method)modules/playbook_executor.py:74def to_dict(self) -
ITTPMapper.resolve(method)modules/playbook_executor.py:97def resolve(self, technique_id, atomic_test, platform)-- Return a LazyOwn shell command string or None if unmapped. -
DefaultTTPMapper.register(method)modules/playbook_executor.py:180def register(cls, technique_id, platform, command)-- Add a new technique-to-command mapping. -
DefaultTTPMapper.resolve(method)modules/playbook_executor.py:185def resolve(self, technique_id, atomic_test, platform) -
PlaybookLoader.__init__(method)modules/playbook_executor.py:208def __init__(self, playbooks_dir) -
PlaybookLoader.list(method)modules/playbook_executor.py:211def list(self)-- Return every discoverable playbook name. -
PlaybookLoader.load(method)modules/playbook_executor.py:224def load(self, name)-- Load and validate a playbook by name. -
PlaybookEngine.__init__(method)modules/playbook_executor.py:339def __init__(self, loader, mapper, pipelines_dir) -
PlaybookEngine.loader(method)modules/playbook_executor.py:350def loader(self) -
PlaybookEngine.analyze(method)modules/playbook_executor.py:353def analyze(self, name, platform)-- Analyze a playbook: count techniques, automated vs manual, coverage. -
PlaybookEngine.generate_pipeline(method)modules/playbook_executor.py:378def generate_pipeline(self, name, platform)-- Generate a pipeline YAML file from a playbook. -
PlaybookEngine.run(method)modules/playbook_executor.py:390def run(self, name, platform, target, onecmd)-- Generate and execute a pipeline from a playbook. -
playbook_list(function)modules/playbook_executor.py:416def playbook_list()-- Return a JSON array of available playbooks. -
playbook_analyze(function)modules/playbook_executor.py:422def playbook_analyze(name, platform)-- Return a JSON summary of one playbook. -
playbook_generate(function)modules/playbook_executor.py:429def playbook_generate(name, platform)-- Generate a runnable pipeline from a playbook. -
playbook_run(function)modules/playbook_executor.py:436def playbook_run(name, platform, target, onecmd)-- Analyze, generate, and execute a playbook.
Imported by: cli/commands/payload_arsenal.py
-
PolymorphicEngine.__init__(method)modules/polymorphic_engine.py:159def __init__(self, config) -
PolymorphicEngine.mutate(method)modules/polymorphic_engine.py:163def mutate(self, shellcode, arch)-- Apply all configured mutation passes to shellcode. -
PolymorphicEngine.decode_xor(method)modules/polymorphic_engine.py:361def decode_xor(data)-- Decode single-byte XOR encrypted shellcode. -
PolymorphicEngine.decode_multi_xor(method)modules/polymorphic_engine.py:377def decode_multi_xor(data)-- Decode multi-byte XOR encrypted shellcode. -
PolymorphicEngine.generate_decoder_stub(method)modules/polymorphic_engine.py:397def generate_decoder_stub(self, arch)-- Generate a self-decrypting stub shellcode template. -
PolymorphicEngine.get_audit_summary(method)modules/polymorphic_engine.py:422def get_audit_summary(self)-- Return a summary of all mutations applied.
Depends on: core/console.py, modules/llm_factory.py
Imported by: cli/commands/crystal_ball.py
-
parse_linpeas_output(function)modules/privesc_predictor.py:165def parse_linpeas_output(text)-- Extract a structured SystemProfile from linpeas output text. -
parse_winpeas_output(function)modules/privesc_predictor.py:218def parse_winpeas_output(text)-- Extract a structured SystemProfile from winpeas output text. -
match_known_cves(function)modules/privesc_predictor.py:249def match_known_cves(profile)-- Match kernel version against the built-in CVE database. -
suid_vectors(function)modules/privesc_predictor.py:287def suid_vectors(profile)-- Generate privilege escalation vectors from SUID binaries. -
capability_vectors(function)modules/privesc_predictor.py:361def capability_vectors(profile)-- Generate privilege escalation vectors from Linux capabilities. -
group_vectors(function)modules/privesc_predictor.py:463def group_vectors(profile)-- Generate privilege escalation vectors from group memberships. -
sudo_vectors(function)modules/privesc_predictor.py:501def sudo_vectors(profile)-- Generate privilege escalation vectors from sudo rules. -
cron_vectors(function)modules/privesc_predictor.py:578def cron_vectors(profile)-- Generate vectors from writable cron jobs and PATH manipulation. -
analyze_privesc(function)modules/privesc_predictor.py:742def analyze_privesc(filepath, text)-- Main entry point — analyse a system for privilege escalation vectors. -
format_crystal_ball_output(function)modules/privesc_predictor.py:827def format_crystal_ball_output(result)-- Format the analysis result as a human-readable terminal report. -
main(function)modules/privesc_predictor.py:908def main()-- CLI entry point for crystal ball privesc analysis.
Depends on: modules/llm_factory.py, modules/world_model.py
Imported by: tests/test_bdd_infra_range_report.py, tests/test_gym_matrix_ctf.py, tests/test_infra_disposable.py
-
RedTeamReportGenerator.__init__(method)modules/professional_report.py:173def __init__(self, include_credentials) -
RedTeamReportGenerator.collect_data(method)modules/professional_report.py:179def collect_data(self)-- Collect all available engagement data from sessions directory. -
RedTeamReportGenerator.classify_findings(method)modules/professional_report.py:219def classify_findings(self, data)-- Classify collected data into structured findings. -
RedTeamReportGenerator.generate(method)modules/professional_report.py:247def generate(self, output_dir, output_format, client_name, engagement_type, with_ai, ai_backend)-- Generate the report in the specified format. -
RedTeamReportGenerator.collect_command_history(method)modules/professional_report.py:912def collect_command_history(self, max_entries)-- Collect operator command history for the engagement timeline. -
RedTeamReportGenerator.collect_loot_summary(method)modules/professional_report.py:936def collect_loot_summary(self)-- Summarize exfiltrated loot without embedding sensitive content. -
RedTeamReportGenerator.generate_executive_summary(method)modules/professional_report.py:982def generate_executive_summary(self, data, with_ai, ai_backend)-- Build the executive summary in business language.
Imported by: static/js/quill-2.0.3.js::c, static/js/quill-2.0.3.js::h, static/js/quill-2.0.3.js::i, static/js/quill-2.0.3.js::o, static/js/quill-2.0.3.js::s, static/js/quill-2.0.3.js::u, static/js/xterm.js::a, static/js/xterm.js::n, static/js/xterm.js::o
-
download_kernel_sources(function)modules/r.sh:10-- Función para descargar y extraer las fuentes del kernel
Depends on: modules/lazy_loop.py
Imported by: modules/lazy_loop.py, tests/test_reaction_bridge.py
-
ReactionPick.__init__(method)modules/reaction_bridge.py:69def __init__(self, command, reason, priority, mitre) -
save_decisions(function)modules/reaction_bridge.py:80def save_decisions(task_id, decisions)-- Park picks into the per-task buffer; returns the saved count. -
load_reaction_triggers(function)modules/reaction_bridge.py:108def load_reaction_triggers(task_id, consumer)-- Drain the buffer into planner trigger dicts (one-shot, one per round). -
find_credentials(function)modules/reaction_bridge.py:159def find_credentials(output)-- Extract user:pass pairs and hashes; placeholder values are dropped.
Depends on: core/config.py, core/logging.py, modules/session_rag.py
Imported by: cli/apt_chain_support.py, modules/lazy_loop.py, skills/autonomous_daemon.py, skills/lazyown_groq_agents.py, skills/lazyown_mcp.py, skills/toposwarm_autonomous.py, tests/test_core_modules.py, tests/test_reactive_engine_semantic.py, tests/test_reactive_lateral_data.py
-
AbstractSignalMatcher.match(method)modules/reactive_engine.py:99def match(self, output, context) -
AVBlockedMatcher.match(method)modules/reactive_engine.py:128def match(self, output, context) -
CredentialFoundMatcher.match(method)modules/reactive_engine.py:159def match(self, output, context) -
PrivescHintMatcher.match(method)modules/reactive_engine.py:192def match(self, output, context) -
NewHostMatcher.match(method)modules/reactive_engine.py:214def match(self, output, context) -
ServiceVersionMatcher.match(method)modules/reactive_engine.py:247def match(self, output, context) -
ShellErrorMatcher.match(method)modules/reactive_engine.py:276def match(self, output, context) -
LateralOpportunityMatcher.match(method)modules/reactive_engine.py:307def match(self, output, context) -
DataOfInterestMatcher.match(method)modules/reactive_engine.py:349def match(self, output, context) -
ParquetAdvisor.__init__(method)modules/reactive_engine.py:395def __init__(self, root) -
ParquetAdvisor.gtfobins_for(method)modules/reactive_engine.py:421def gtfobins_for(self, binary) -
ParquetAdvisor.lolbas_for(method)modules/reactive_engine.py:434def lolbas_for(self, binary)-- Returns [(function_name, att&ck_technique), ...]. -
ParquetAdvisor.technique_commands_for(method)modules/reactive_engine.py:448def technique_commands_for(self, platform, keyword)-- Return atomic test commands for platform matching keyword. -
EvasionAdvisor.suggest(method)modules/reactive_engine.py:504def suggest(self, signals, platform) -
PrivescAdvisor.suggest(method)modules/reactive_engine.py:565def suggest(self, signals, platform, parquet) -
SemanticContextAdvisor.__init__(method)modules/reactive_engine.py:644def __init__(self, rag, config_loader, min_score, query_limit)-- Initialise the advisor. -
SemanticContextAdvisor.suggest(method)modules/reactive_engine.py:734def suggest(self, output, command, platform, context)-- Return semantic next-step hints derived from past sessions. -
ReactiveEngine.__init__(method)modules/reactive_engine.py:810def __init__(self, matchers, evasion, privesc, parquet, semantic) -
ReactiveEngine.analyse(method)modules/reactive_engine.py:835def analyse(self, output, command, platform, context)-- Parse output and return prioritised ReactiveDecisions. -
ReactiveEngine.top_decision(method)modules/reactive_engine.py:958def top_decision(self, output, command, platform, context)-- Return only the single highest-priority decision, or None. -
get_engine(function)modules/reactive_engine.py:977def get_engine()
Depends on: modules/ai_fallback.py, modules/session_state.py
Imported by: skills/lazyown_mcp.py
-
recommend(function)modules/recommender.py:143def recommend(state, api_key)-- Return ranked recommendations without writing to disk. -
recommend_and_save(function)modules/recommender.py:163def recommend_and_save(api_key)-- Build state → call Groq → write JSON → return recommendations.
Depends on: cli/engagement_hooks.py, core/config.py, modules/__init__.py, modules/atomic_exploit_bridge.py, modules/cli_auth.py, modules/gym_registry.py, modules/outcome_bus.py, modules/world_model.py
Imported by: cli/commands/redteam_gym.py, cli/lazy_orchestrator.py, cli/orchestrator_assets_tabs.py, modules/exploitgym_gym.py, tests/test_gym_cli.py, tests/test_gym_registry.py, tests/test_infra_disposable.py, tests/test_lazy_orchestrator.py
-
reload_challenge_definitions(function)modules/redteam_gym.py:299def reload_challenge_definitions(directory)-- Reload YAML definitions, falling back to the embedded catalogue. -
definition_rows(function)modules/redteam_gym.py:393def definition_rows()-- Return one row per gym YAML file, including invalid files. -
create_gym(function)modules/redteam_gym.py:398def create_gym(gym_id)-- Create a gym definition YAML and reload the catalogue. -
save_gym_yaml(function)modules/redteam_gym.py:435def save_gym_yaml(gym_id, text)-- Validate and persist raw YAML for one gym definition. -
delete_gym(function)modules/redteam_gym.py:445def delete_gym(gym_id)-- Delete one gym definition unless it has active runs. -
list_challenges(function)modules/redteam_gym.py:453def list_challenges()-- Return all defined gym challenges with metadata. -
start_challenge(function)modules/redteam_gym.py:494def start_challenge(challenge_id, target, spin_lab)-- Begin a gym challenge and persist the run in the world model. -
submit_challenge(function)modules/redteam_gym.py:610def submit_challenge(techniques_used, success, run_id)-- Submit a completed challenge for scoring. -
stop_challenges(function)modules/redteam_gym.py:718def stop_challenges(selector)-- Stop one gym by id/name/run id, or every gym when selector is empty. -
engagement_context(function)modules/redteam_gym.py:804def engagement_context(target)-- Return in-scope phase, compromised hosts and live shells. -
get_active_challenges(function)modules/redteam_gym.py:864def get_active_challenges()-- Return every active gym run across operators. -
show_leaderboard(function)modules/redteam_gym.py:1023def show_leaderboard(top_n)-- Return the top N players from the leaderboard. -
get_active_challenge(function)modules/redteam_gym.py:1050def get_active_challenge(run_id)-- Return one active challenge, preferring the current operator. -
record_external_attempt(function)modules/redteam_gym.py:1081def record_external_attempt(challenge_id, success, elo_bonus, techniques)-- Record a scored attempt for a challenge not defined in the catalog. -
main(function)modules/redteam_gym.py:1135def main()-- CLI entry point — show gym leaderboard from command line.
-
PEParser.__init__(method)modules/reflective_dll.py:151def __init__(self, pe_data) -
PEParser.parse_file_header(method)modules/reflective_dll.py:166def parse_file_header(self)-- Extract the COFF file header. -
PEParser.parse_sections(method)modules/reflective_dll.py:208def parse_sections(self, num_sections)-- Parse all section headers from the PE. -
PEParser.parse_data_directories(method)modules/reflective_dll.py:243def parse_data_directories(self, num_entries)-- Parse the PE data directory entries. -
PEParser.rva_to_offset(method)modules/reflective_dll.py:265def rva_to_offset(self, rva, sections)-- Convert a relative virtual address to a file offset. -
PEParser.parse_imports(method)modules/reflective_dll.py:280def parse_imports(self, import_dir, sections)-- Parse the import directory to enumerate imported DLLs and functions. -
PEParser.parse_relocations(method)modules/reflective_dll.py:326def parse_relocations(self, reloc_dir, sections)-- Parse base relocation entries. -
PEParser.parse_exports(method)modules/reflective_dll.py:374def parse_exports(self, export_dir, sections)-- Parse the export directory. -
PEParser.is_64bit(method)modules/reflective_dll.py:456def is_64bit(self) -
PEParser.raw_data(method)modules/reflective_dll.py:460def raw_data(self) -
ReflectiveLoader.__init__(method)modules/reflective_dll.py:492def __init__(self, pe_data, config) -
ReflectiveLoader.sha256(method)modules/reflective_dll.py:505def sha256(self)-- SHA-256 hash of the raw PE bytes. -
ReflectiveLoader.architecture(method)modules/reflective_dll.py:510def architecture(self)-- CPU architecture string ('x64' or 'x86'). -
ReflectiveLoader.required_imports(method)modules/reflective_dll.py:515def required_imports(self)-- DLL names needed for import resolution. -
ReflectiveLoader.plan_injection(method)modules/reflective_dll.py:526def plan_injection(self)-- Generate an injection plan based on the configured technique. -
ReflectiveLoader.generate_c_stub(method)modules/reflective_dll.py:588def generate_c_stub(self)-- Generate a C stub that implements reflective loading. -
ReflectiveLoader.generate_powershell_stub(method)modules/reflective_dll.py:666def generate_powershell_stub(self)-- Generate PowerShell reflective loader script. -
ReflectiveLoader.summarize(method)modules/reflective_dll.py:685def summarize(self)-- Human-readable summary of the parsed PE for operator review.
Depends on: core/safe_exec.py
Imported by: cli/commands/resource_scripting.py, tests/test_resource_script.py, tests/test_security_hardening_v3.py
-
ScriptContext.__init__(method)modules/resource_script.py:89def __init__(self, shell_params, on_command, on_print) -
ScriptContext.print(method)modules/resource_script.py:138def print(self, msg) -
ScriptContext.run_command(method)modules/resource_script.py:147def run_command(self, cmd) -
ScriptContext.eval_condition(method)modules/resource_script.py:191def eval_condition(self, raw_condition)-- Evaluate anif/whilecondition expression. -
ResourceScriptEngine.__init__(method)modules/resource_script.py:276def __init__(self, context) -
ResourceScriptEngine.execute(method)modules/resource_script.py:279def execute(self, script_path)-- Load and run a script file. -
ResourceScriptEngine.execute_lines(method)modules/resource_script.py:293def execute_lines(self, lines, source)-- Execute a list of script lines. -
ResourceScriptEngine.execute_string(method)modules/resource_script.py:327def execute_string(self, script)-- Execute a script string (split on newlines).
Depends on: modules/chain_state.py
Imported by: cli/retry_support.py, tests/test_codeql_alert_fixes.py, tests/test_retry_session.py
-
is_active(function)modules/retry_session.py:56def is_active()-- Return True when an elevated retry session is currently armed. -
secret_enabled_path(function)modules/retry_session.py:61def secret_enabled_path()-- Return the askpass helper path advertised viaSUDO_ASKPASS. -
sudo_gate_open(function)modules/retry_session.py:79def sudo_gate_open()-- Return True when armed and the on-disk askpass pair is sound. -
set_sudo_secret(function)modules/retry_session.py:94def set_sudo_secret(secret)-- Arm the elevated retry session with one secret. -
clear_sudo_secret(function)modules/retry_session.py:125def clear_sudo_secret()-- Disarm the elevated retry session and wipe the secret from disk. -
apply_sudo_askpass(function)modules/retry_session.py:137def apply_sudo_askpass(command)-- Rewrite baresudotokens tosudo -Afor one command. -
newest_failed_checkpoint(function)modules/retry_session.py:180def newest_failed_checkpoint(chain, run_id)-- Return the freshest unfinished checkpoint of one chain. -
resolve_sudo_consent(function)modules/retry_session.py:204def resolve_sudo_consent(confirmer, want_sudo)-- Gate the elevated mode behind an explicit, warned confirmation.
-
reverse_shell_init(function)modules/reverse-shell.c:12static int __init reverse_shell_init(void)-- call_usermodehelper function is used to create user mode processes from kernel space -
reverse_shell_exit(function)modules/reverse-shell.c:16static void __exit reverse_shell_exit(void)
-
xlAutoOpen(function)modules/revshell.c:5void __cdecl xlAutoOpen() -
DllMain(function)modules/revshell.c:10BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
Depends on: core/console.py, modules/dashboard_engine.py
Imported by: cli/commands/pwn.py
-
RichDashboard.__init__(method)modules/rich_tui.py:74def __init__(self, dashboard_engine, refresh_interval, live)-- Initialize the Rich dashboard. -
RichDashboard.run(method)modules/rich_tui.py:96def run(self)-- Run the dashboard. -
RichDashboard.stop(method)modules/rich_tui.py:132def stop(self)-- Gracefully shut down the dashboard and restore terminal state.
Next: API_p17.md
Generated offline by readmenator from commit a2fa9e276b96. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_core
- community_11_modules_opsec_scorer
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_tests
- community_17_scripts_journal
- community_18_modules_backdoor
- community_19_poc_tui
- community_1_cli_commands
- community_20_scripts_check_contract_manifest
- community_21_scripts_migrate_lazyown
- community_22_tools
- community_23_orphans
- community_2_cli
- community_3_modules_lazy_loop
- community_4_modules_lazyc2
- community_5_modules_world_model
- community_6_lazygui_panels
- community_7_modules_lazyown_facts
- community_8_static_js
- community_9_skills_claude_md_orchestrator
- 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_guardrails
- 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_mediation
- 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_p20
- 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_p45
- SYMBOLS_p46
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes