Agent API - grisuno/LazyOwn GitHub Wiki
Pages: API.md, API_p2.md, API_p3.md, API_p4.md, API_p5.md, API_p6.md, API_p7.md, API_p8.md, API_p9.md, API_p10.md, API_p11.md, API_p12.md, API_p13.md, API_p14.md, API_p15.md, API_p16.md, API_p17.md, API_p18.md, API_p19.md, API_p20.md, API_p21.md, API_p22.md, API_p23.md
-
increment_version(function)DEPLOY.sh:19 -
update_section_html(function)DEPLOY.sh:99-- Función para actualizar una sección específica -
get_commit_type(function)DEPLOY.sh:203-- Función para obtener el tipo de cambio basado en el mensaje del commit
Depends on: utils.py
-
image_to_bash(function)banner.py:26def image_to_bash(image_path, image_res) -
list_png_files(function)banner.py:50def list_png_files() -
main(function)banner.py:60def main()
-
usage(function)bootstrap.sh:70 -
log(function)bootstrap.sh:74 -
fail(function)bootstrap.sh:92 -
spin_run(function)bootstrap.sh:97 -
can_prompt(function)bootstrap.sh:239 -
ask(function)bootstrap.sh:250 -
update_checkout(function)bootstrap.sh:259 -
backup_payload(function)bootstrap.sh:268 -
clone_fresh(function)bootstrap.sh:280 -
clean_checkout(function)bootstrap.sh:286 -
confirm_clean(function)bootstrap.sh:293 -
ask_new_dir(function)bootstrap.sh:303 -
ask_existing_checkout_action(function)bootstrap.sh:315 -
ask_existing_path_action(function)bootstrap.sh:336 -
resolve_target_dir(function)bootstrap.sh:355 -
ask_launch_mode(function)bootstrap.sh:432
Depends on: core/config.py
Imported by: cli/__init__.py, cli/commands/command_and_control_migrated.py, cli/commands/help_ui.py, cli/commands/mcp_bridge.py, cli/commands/misc_migrated.py, cli/commands/recon_migrated.py, cli/commands/session_ops.py, lazyown.py, tests/test_cli_command_sets.py, tests/test_cli_enhancements.py
-
template_placeholders(function)cli/aliases.py:56def template_placeholders(template)-- Return the{name}placeholders referenced bytemplate. -
empty_placeholders(function)cli/aliases.py:72def empty_placeholders(template, context)-- Return placeholders whose rendered value againstcontextis empty. -
load_aliases(function)cli/aliases.py:77def load_aliases(payload, path, lazy)-- Return the cmd2 alias map.
Depends on: core/payload_schema.py
Imported by: cli/commands/command_and_control_migrated.py, cli/commands/defaults.py, cli/commands/help_ui.py, cli/commands/misc_migrated.py, cli/commands/persist_migrated.py, cli/commands/recon_migrated.py, cli/commands/session_ops.py, static/js/3d-force-graph-1.73.4.min.js, static/js/bootstrap-5.3.0.bundle.min.js, static/js/chart.min.js, static/js/force-graph-1.43.5.min.js, static/js/html2pdf.bundle.min.js, static/js/popper-2.5.4.min.js, static/js/tippy-6.js, tests/test_cli_assign.py, tests/test_payload_schema.py
-
apply_assign(function)cli/assign.py:36def apply_assign(params, key, value)-- Validate, mutate and persist a single payload assignment.
Depends on: core/crypto.py, core/logging.py, modules/cli_auth.py
Imported by: lazyc2.py, lazyown.py, tests/test_auto_crypto.py
-
AutoCryptoEngine.__init__(method)cli/auto_crypto.py:85def __init__(self, config) -
AutoCryptoEngine.enabled(method)cli/auto_crypto.py:90def enabled(self)-- Whether the engine performs any I/O. -
AutoCryptoEngine.is_encrypted(method)cli/auto_crypto.py:95def is_encrypted(self)-- Check whether session data appears encrypted. -
AutoCryptoEngine.encrypt_session(method)cli/auto_crypto.py:124def encrypt_session(self)-- Encrypt all protected session files. -
AutoCryptoEngine.decrypt_session(method)cli/auto_crypto.py:174def decrypt_session(self)-- Decrypt all protected session files. -
AutoCryptoEngine.has_password(method)cli/auto_crypto.py:239def has_password(self)-- Return True when the configured provider yields a password now. -
build_password_provider_from_cli_login(function)cli/auto_crypto.py:297def build_password_provider_from_cli_login()-- Return a password provider that reads the CLI login session.
Depends on: core/safe_console.py, core/text_utils.py
Imported by: cli/commands/misc_migrated.py, cli/commands/session_ops.py, cli/tips_engine.py, lazyown.py, tests/test_autosuggest.py
-
SuggestionProvider.suggest(method)cli/autosuggest.py:95def suggest(self, context) -
CompositeProvider.__init__(method)cli/autosuggest.py:105def __init__(self, providers)-- Store the provider chain. -
CompositeProvider.suggest(method)cli/autosuggest.py:115def suggest(self, context)-- Return the best suggestion across the chain, orNone. -
KillChainProvider.__init__(method)cli/autosuggest.py:143def __init__(self, chain, phase_priority)-- Configure the provider. -
KillChainProvider.suggest(method)cli/autosuggest.py:162def suggest(self, context)-- Return the first unseen adjacency, or phase fallback, orNone. -
GraphProvider.__init__(method)cli/autosuggest.py:197def __init__(self, advisor)-- Configure the provider. -
GraphProvider.suggest(method)cli/autosuggest.py:221def suggest(self, context)-- Query the advisor and adapt the top result to a :class:Suggestion. -
AutoSuggestEngine.__init__(method)cli/autosuggest.py:254def __init__(self, provider)-- Store the provider and enabled flag. -
AutoSuggestEngine.enabled(method)cli/autosuggest.py:270def enabled(self)-- Whether the engine refreshes suggestions on each command. -
AutoSuggestEngine.set_enabled(method)cli/autosuggest.py:274def set_enabled(self, value)-- Toggle the engine without losing the provider chain. -
AutoSuggestEngine.current(method)cli/autosuggest.py:284def current(self)-- Return the suggestion last computed, orNonewhen cleared. -
AutoSuggestEngine.clear(method)cli/autosuggest.py:288def clear(self)-- Drop the active suggestion (called after accept or abort). -
AutoSuggestEngine.refresh(method)cli/autosuggest.py:292def refresh(self, context)-- Recompute the suggestion from the provider chain. -
AutoSuggestEngine.accept(method)cli/autosuggest.py:309def accept(self)-- Return the active command string and clear the suggestion. -
AutoSuggestEngine.display_text(method)cli/autosuggest.py:317def display_text(self)-- Return the ANSI-coloured ghost-text fragment for legacy callers. -
format_hint_line(function)cli/autosuggest.py:342def format_hint_line(suggestion)-- Build the dim hint string surfaced after each command. -
render_hint_line(function)cli/autosuggest.py:375def render_hint_line(engine)-- Print one dim hint line for the engine's active suggestion. -
build_default_engine(function)cli/autosuggest.py:427def build_default_engine(advisor, chain, phase_priority)-- Wire the canonical provider chain used by the cmd2 shell.
Depends on: cli/engagement_hooks.py, core/parsers.py, core/safe_exec.py, modules/cli_auth.py
Imported by: cli/commands/misc_migrated.py, tests/test_banner_config.py, tests/test_fuzzy_picker.py, tests/test_prompt_readline_markers.py, tests/test_prompt_refresh.py, utils.py
-
ColorRegistry.names(method)cli/banner_config.py:170def names(self) -
ColorRegistry.has(method)cli/banner_config.py:173def has(self, name) -
ColorRegistry.resolve(method)cli/banner_config.py:176def resolve(self, name) -
ColorRegistry.cycle(method)cli/banner_config.py:179def cycle(self, current, direction) -
ColorRegistry.default_name(method)cli/banner_config.py:187def default_name(self) -
GlyphRegistry.slots(method)cli/banner_config.py:212def slots(self) -
GlyphRegistry.choices(method)cli/banner_config.py:215def choices(self, slot) -
GlyphRegistry.has(method)cli/banner_config.py:218def has(self, slot) -
GlyphRegistry.default(method)cli/banner_config.py:221def default(self, slot) -
GlyphRegistry.cycle(method)cli/banner_config.py:225def cycle(self, slot, current, direction) -
SegmentRenderer.spec(method)cli/banner_config.py:319def spec(self) -
SegmentRenderer.render(method)cli/banner_config.py:322def render(self, ctx, cfg, color, glyphs) -
UserHostSegment.render(method)cli/banner_config.py:336def render(self, ctx, cfg, color, glyphs) -
IfaceSegment.render(method)cli/banner_config.py:351def render(self, ctx, cfg, color, glyphs) -
LhostSegment.render(method)cli/banner_config.py:370def render(self, ctx, cfg, color, glyphs) -
RhostSegment.render(method)cli/banner_config.py:387def render(self, ctx, cfg, color, glyphs) -
DomainSegment.render(method)cli/banner_config.py:404def render(self, ctx, cfg, color, glyphs) -
PublicIpSegment.render(method)cli/banner_config.py:421def render(self, ctx, cfg, color, glyphs) -
CwdSegment.render(method)cli/banner_config.py:438def render(self, ctx, cfg, color, glyphs) -
GitSegment.render(method)cli/banner_config.py:454def render(self, ctx, cfg, color, glyphs) -
VenvSegment.render(method)cli/banner_config.py:476def render(self, ctx, cfg, color, glyphs) -
TimeSegment.render(method)cli/banner_config.py:493def render(self, ctx, cfg, color, glyphs) -
KernelSegment.render(method)cli/banner_config.py:508def render(self, ctx, cfg, color, glyphs) -
VersionSegment.render(method)cli/banner_config.py:525def render(self, ctx, cfg, color, glyphs) -
KarmaSegment.render(method)cli/banner_config.py:542def render(self, ctx, cfg, color, glyphs) -
BatteryLoadSegment.render(method)cli/banner_config.py:572def render(self, ctx, cfg, color, glyphs) -
SegmentRegistry.__init__(method)cli/banner_config.py:581def __init__(self) -
SegmentRegistry.register(method)cli/banner_config.py:584def register(self, segment) -
SegmentRegistry.get(method)cli/banner_config.py:587def get(self, segment_id) -
SegmentRegistry.all(method)cli/banner_config.py:590def all(self) -
SegmentRegistry.by_group(method)cli/banner_config.py:600def by_group(self, group) -
build_default_registry(function)cli/banner_config.py:604def build_default_registry()-- Return the registry populated with the canonical segment set. -
BannerSettings.defaults(method)cli/banner_config.py:636def defaults(cls, registry, color_registry, glyph_registry) -
BannerSettings.from_payload(method)cli/banner_config.py:651def from_payload(cls, registry, payload, key, color_registry, glyph_registry) -
BannerSettings.is_enabled(method)cli/banner_config.py:685def is_enabled(self, segment_id) -
BannerSettings.toggle(method)cli/banner_config.py:688def toggle(self, segment_id) -
BannerSettings.enable_all(method)cli/banner_config.py:694def enable_all(self, registry) -
BannerSettings.disable_all(method)cli/banner_config.py:697def disable_all(self) -
BannerSettings.reset_segments(method)cli/banner_config.py:700def reset_segments(self, registry) -
BannerSettings.reset_colors(method)cli/banner_config.py:703def reset_colors(self, registry) -
BannerSettings.reset_color_for(method)cli/banner_config.py:706def reset_color_for(self, segment_id, registry) -
BannerSettings.reset_glyphs(method)cli/banner_config.py:711def reset_glyphs(self, glyph_registry) -
BannerSettings.reset_glyph_for(method)cli/banner_config.py:714def reset_glyph_for(self, slot, glyph_registry) -
BannerSettings.cycle_color(method)cli/banner_config.py:718def cycle_color(self, segment_id, color_registry, direction) -
BannerSettings.cycle_glyph(method)cli/banner_config.py:722def cycle_glyph(self, slot, glyph_registry, direction) -
BannerSettings.to_payload_block(method)cli/banner_config.py:726def to_payload_block(self) -
ContextResolver.__init__(method)cli/banner_config.py:741def __init__(self, cfg, palette) -
ContextResolver.resolve(method)cli/banner_config.py:745def resolve(self, payload, network) -
default_palette(function)cli/banner_config.py:948def default_palette()-- Box-chrome palette used around segment values. -
BannerRenderer.__init__(method)cli/banner_config.py:964def __init__(self, config, registry, color_registry, glyph_registry) -
BannerRenderer.render(method)cli/banner_config.py:976def render(self, settings, ctx) -
BannerConfigurator.__init__(method)cli/banner_config.py:1047def __init__(self, config, registry, color_registry, glyph_registry, renderer, ctx, initial) -
BannerConfigurator.run(method)cli/banner_config.py:1071def run(self) -
strip_readline_markers(function)cli/banner_config.py:1382def strip_readline_markers(text, config)-- Remove readline zero-width markers from prompt text. -
render_prompt(function)cli/banner_config.py:1396def render_prompt(payload, config, readline_safe)-- Render the Neon Box prompt from a payload dictionary. -
configure_banner_interactive(function)cli/banner_config.py:1436def configure_banner_interactive(payload, config)-- Open the multi-tab curses wizard and return updated settings on save. -
banner_summary(function)cli/banner_config.py:1456def banner_summary(settings, registry)-- Return a single-line summary listing enabled segment ids.
Depends on: cli/noise_verbs.py, core/logging.py
Imported by: cli/commands/session_ops.py, lazyown.py, tests/test_chain_mode.py
-
ChainSuggestion.from_step(method)cli/chain_mode.py:191def from_step(cls, step)-- Build a suggestion from a duck-typed resolver step object. -
ChainModeStore.__init__(method)cli/chain_mode.py:250def __init__(self, sessions_dir)-- Store the sessions directory that owns the state file. -
ChainModeStore.load(method)cli/chain_mode.py:258def load(self)-- Return the persisted enabled flag, orNonewhen unset. -
ChainModeStore.save(method)cli/chain_mode.py:275def save(self, enabled)-- Persist the enabled flag atomically. -
ChainPromptEngine.__init__(method)cli/chain_mode.py:301def __init__(self, config, resolver)-- Wire the engine with its config, resolver and I/O functions. -
ChainPromptEngine.enabled(method)cli/chain_mode.py:335def enabled(self)-- Whether the chain prompt loop is currently active. -
ChainPromptEngine.steps_run(method)cli/chain_mode.py:340def steps_run(self)-- Number of commands executed through the chain this activation. -
ChainPromptEngine.set_enabled(method)cli/chain_mode.py:344def set_enabled(self, value, persist)-- Toggle chain mode and optionally persist the choice. -
ChainPromptEngine.step(method)cli/chain_mode.py:358def step(self, last_cmd, phase)-- Run one chain prompt round for the command that just executed.
Imported by: cli/commands/audit.py, lazyown.py, tests/test_cli_enhancements.py
-
PayloadProvider.get(method)cli/cli_enhancements.py:43def get(self, key, default) -
PayloadProvider.keys(method)cli/cli_enhancements.py:44def keys(self) -
CommandLister.commands(method)cli/cli_enhancements.py:50def commands(self) -
TerminalIO.prompt(method)cli/cli_enhancements.py:56def prompt(self, message, default) -
TerminalIO.emit(method)cli/cli_enhancements.py:57def emit(self, line) -
FuzzyCommandIndex.__init__(method)cli/cli_enhancements.py:91def __init__(self, source) -
FuzzyCommandIndex.search(method)cli/cli_enhancements.py:94def search(self, query, limit)-- Return the toplimitmatches ordered by descending score. -
PayloadAwareCompleter.__init__(method)cli/cli_enhancements.py:164def __init__(self, payload, addon_lister, plugin_lister, credential_lister) -
PayloadAwareCompleter.complete(method)cli/cli_enhancements.py:176def complete(self, command, partial)-- Return suggestions forpartialgiven the leadingcommand. -
AliasResolver.expand(method)cli/cli_enhancements.py:238def expand(self, alias_name, raw_template, payload)-- Return the alias rendered against the current payload. -
DynamicAliasResolver.expand(method)cli/cli_enhancements.py:255def expand(self, alias_name, raw_template, payload) -
HotReloader.start(method)cli/cli_enhancements.py:274def start(self) -
HotReloader.stop(method)cli/cli_enhancements.py:277def stop(self) -
AddonHotReloader.__init__(method)cli/cli_enhancements.py:288def __init__(self, directories, on_change, tick_seconds) -
AddonHotReloader.start(method)cli/cli_enhancements.py:301def start(self) -
AddonHotReloader.stop(method)cli/cli_enhancements.py:313def stop(self) -
AddonHotReloader.poll_once(method)cli/cli_enhancements.py:319def poll_once(self)-- Run a single scan, fire callbacks for changed paths, return them. -
LiveStatusTail.parse(method)cli/cli_enhancements.py:382def parse(self, content) -
TranscriptStore.__init__(method)cli/cli_enhancements.py:437def __init__(self, sessions_dir, capacity, max_output_chars) -
TranscriptStore.append(method)cli/cli_enhancements.py:451def append(self, command, output, artefacts) -
TranscriptStore.grep(method)cli/cli_enhancements.py:465def grep(self, pattern, command_filter, limit, case_insensitive)-- Return matching lines across all stored outputs. -
TranscriptStore.list(method)cli/cli_enhancements.py:497def list(self, limit) -
_DefaultTerminalIO.prompt(method)cli/cli_enhancements.py:577def prompt(self, message, default) -
_DefaultTerminalIO.emit(method)cli/cli_enhancements.py:584def emit(self, line) -
InteractiveForm.__init__(method)cli/cli_enhancements.py:595def __init__(self, io) -
InteractiveForm.render(method)cli/cli_enhancements.py:598def render(self, spec, defaults) -
DictPayloadProvider.__init__(method)cli/cli_enhancements.py:638def __init__(self, data) -
DictPayloadProvider.get(method)cli/cli_enhancements.py:641def get(self, key, default) -
DictPayloadProvider.keys(method)cli/cli_enhancements.py:644def keys(self) -
DictPayloadProvider.update(method)cli/cli_enhancements.py:647def update(self, data) -
StaticCommandLister.__init__(method)cli/cli_enhancements.py:654def __init__(self, commands) -
StaticCommandLister.commands(method)cli/cli_enhancements.py:657def commands(self) -
commands_from_cmd2_shell(function)cli/cli_enhancements.py:661def commands_from_cmd2_shell(shell)-- Best-effort extraction of CommandInfo entries from a live cmd2 shell.
Depends on: cli/exploration.py, cli/reactive_hints.py
Imported by: cli/commands/misc_migrated.py, lazyown.py, skills/lazyown_mcp.py, tests/test_command_chain.py
-
NextStep.to_dict(method)cli/command_chain.py:139def to_dict(self)-- Return a JSON-friendly representation of the step. -
PrerequisiteRegistry.__init__(method)cli/command_chain.py:159def __init__(self, config)-- Store the configuration that owns the prerequisite table. -
PrerequisiteRegistry.prerequisites(method)cli/command_chain.py:164def prerequisites(self, cmd)-- Return the ordered list of prerequisite commands forcmd. -
PrerequisiteRegistry.missing(method)cli/command_chain.py:170def missing(self, cmd, history)-- Return prerequisites that have not yet appeared inhistory. -
StaticNextRegistry.next_for(method)cli/command_chain.py:180def next_for(self, cmd)-- Return the deterministic kill-chain successors ofcmd. -
StaticNextRegistry.phase_priority(method)cli/command_chain.py:186def phase_priority(self, phase)-- Return the phase-priority verbs used as a fallback. -
ServiceNextResolver.__init__(method)cli/command_chain.py:196def __init__(self, config)-- Store the configuration providing the service follow-up table. -
ServiceNextResolver.followups(method)cli/command_chain.py:201def followups(self, services)-- Return(verb, reason)pairs for every triggered follow-up. -
DynamicNextResolver.__init__(method)cli/command_chain.py:222def __init__(self, config, static_registry, service_resolver, exploration_engine)-- Wire collaborators together. -
DynamicNextResolver.resolve(method)cli/command_chain.py:236def resolve(self, cmd, params, target, phase, limit)-- Return the ordered, de-duplicated next-step recommendations. -
CommandChain.__init__(method)cli/command_chain.py:338def __init__(self, config, prerequisites, next_resolver)-- Wire collaborators together using the supplied configuration. -
CommandChain.prev(method)cli/command_chain.py:350def prev(self, cmd)-- Return the ordered prerequisite commands forcmd. -
CommandChain.missing_prerequisites(method)cli/command_chain.py:355def missing_prerequisites(self, cmd, history)-- Return prerequisites ofcmdnot present inhistory. -
CommandChain.next(method)cli/command_chain.py:360def next(self, cmd, params, target, phase, limit)-- Return ordered next-step recommendations. -
CommandChain.chain(method)cli/command_chain.py:372def chain(self, cmd, params, target, phase, limit)-- Return a serialisable{prev, next}view for the given command.
Depends on: cli/palette.py, core/console.py
Imported by: cli/commands/help_ui.py
-
CommandExplorer.__init__(method)cli/command_explorer.py:216def __init__(self, aliases, params, config) -
CommandExplorer.render_goals_overview(method)cli/command_explorer.py:227def render_goals_overview(self)-- Print the goals table showing all available categories. -
CommandExplorer.render_goal_commands(method)cli/command_explorer.py:240def render_goal_commands(self, goal_key)-- Print commands for a specific goal. -
CommandExplorer.render_search(method)cli/command_explorer.py:260def render_search(self, query)-- Search commands by keyword across all goals.
Depends on: cli/commands/containers.py, cli/palette.py, cli/themes.py
Imported by: tests/test_command_form.py
-
CommandFormState.fields(method)cli/command_form.py:131def fields(self)-- Return the fields associated with :attr:command_name. -
CommandFormState.summary(method)cli/command_form.py:139def summary(self)-- Return the command summary from the index, or an empty string. -
CommandFormState.set_value(method)cli/command_form.py:150def set_value(self, identifier, value)-- Update the value of one field. -
CommandFormState.set_extra_args(method)cli/command_form.py:154def set_extra_args(self, value)-- Replace the extra-args buffer. -
CommandFormState.build_command(method)cli/command_form.py:158def build_command(self)-- Return the cmd-line preview string the operator sees. -
CommandFormState.overrides(method)cli/command_form.py:173def overrides(self)-- Return[(payload_key, value), ...]for fields the operator changed. -
CommandFormState.verb_line(method)cli/command_form.py:188def verb_line(self)-- Return"<verb> <extra_args>"ready for the shell. -
CommandFormState.is_valid(method)cli/command_form.py:195def is_valid(self)-- ReturnTruewhen the command name is known in the index. -
build_state(function)cli/command_form.py:247def build_state(command_name, payload, index, config)-- Wire the canonical state used by :func:launch_form. -
launch_form(function)cli/command_form.py:262def launch_form(command_name, payload, state, runner)-- Open the form and return the populated state on submit. -
_CommandFormApp.__init__(method)cli/command_form.py:325def __init__(self) -
_CommandFormApp.compose(method)cli/command_form.py:330def compose(self) -
_CommandFormApp.on_mount(method)cli/command_form.py:348def on_mount(self) -
_CommandFormApp.on_input_changed(method)cli/command_form.py:351def on_input_changed(self, event) -
_CommandFormApp.on_input_submitted(method)cli/command_form.py:360def on_input_submitted(self, event) -
_CommandFormApp.action_submit(method)cli/command_form.py:363def action_submit(self) -
_CommandFormApp.action_cancel(method)cli/command_form.py:366def action_cancel(self)
Depends on: core/validators.py, utils.py
Imported by: cli/commands/_dormancy.py, cli/commands/active_directory.py, cli/commands/ai.py, cli/commands/anti_forensics.py, cli/commands/applocker_bypass.py, cli/commands/audit.py, cli/commands/automation.py, cli/commands/bitm.py, cli/commands/bof_registry.py, cli/commands/c2_profile.py, cli/commands/c2_session.py, cli/commands/caldera.py, cli/commands/campaign.py, cli/commands/catalog.py, cli/commands/cicd.py, cli/commands/cli_auth.py, cli/commands/cloud.py, cli/commands/cloud_attacks.py, cli/commands/collaboration.py, cli/commands/command_and_control.py, cli/commands/command_and_control_migrated.py, cli/commands/containers.py, cli/commands/cred.py, cli/commands/cred_migrated.py, cli/commands/crystal_ball.py, cli/commands/daemon_ctl.py, cli/commands/database.py, cli/commands/defaults.py, cli/commands/demo.py, cli/commands/diagnostics.py, cli/commands/dns_exfil.py, cli/commands/dpapi.py, cli/commands/edr_detect.py, cli/commands/encoding.py, cli/commands/enum.py, cli/commands/estorides.py, cli/commands/evasive_payload.py, cli/commands/exfiltration.py, cli/commands/exploit.py, cli/commands/exploit_migrated.py, cli/commands/exploitgym.py, cli/commands/help_ui.py, cli/commands/infra.py, cli/commands/lab.py, cli/commands/lateral.py, cli/commands/lateral_migrated.py, cli/commands/lazyloop.py, cli/commands/lazyops.py, cli/commands/marketplace.py, cli/commands/mcp_bridge.py, cli/commands/misc_migrated.py, cli/commands/mobile_macos.py, cli/commands/module_manager.py, cli/commands/nethelpers.py, cli/commands/opsec_cleanup.py, cli/commands/orchestration.py, cli/commands/payload_arsenal.py, cli/commands/payload_generation.py, cli/commands/persist.py, cli/commands/persist_migrated.py, cli/commands/phishing_wizard.py, cli/commands/pivoting.py, cli/commands/postexp.py, cli/commands/postexp_migrated.py, cli/commands/privilege_escalation.py, cli/commands/purple_team.py, cli/commands/pwn.py, cli/commands/recon.py, cli/commands/recon_migrated.py, cli/commands/redteam_gym.py, cli/commands/resource_scripting.py, cli/commands/scan.py, cli/commands/scan_migrated.py, cli/commands/security.py, cli/commands/session_ops.py, cli/commands/shellsys.py, cli/commands/sleep_obfuscation.py, cli/commands/socks_proxy.py, cli/commands/supply_chain.py, cli/commands/surface.py, cli/commands/ux.py, tests/test_cli_command_sets.py, tests/test_command_set_migration.py, tests/test_daemon_ctl_command_set.py, tests/test_encoding_command_set.py, tests/test_help_ui_command_set.py, tests/test_nethelpers_command_set.py, tests/test_prompt_refresh.py, tests/test_session_ops_command_set.py, tests/test_shellsys_command_set.py
-
extract_flag(function)cli/commands/_base.py:36def extract_flag(args, flag)-- Extract--flag <value>pair shared by CommandSets. -
LazyOwnCommandSet.params(method)cli/commands/_base.py:88def params(self)-- Return the liveparamsdict owned by the parent shell. -
LazyOwnCommandSet.payload(method)cli/commands/_base.py:99def payload(self)-- Return the parent shell'sConfigwrapper when available.
Depends on: cli/commands/_base.py
Imported by: cli/registry.py, tests/test_command_set_migration.py, tests/test_daemon_ctl_command_set.py, tests/test_encoding_command_set.py, tests/test_help_ui_command_set.py, tests/test_improvements_spec.py, tests/test_nethelpers_command_set.py, tests/test_session_ops_command_set.py, tests/test_shellsys_command_set.py
-
is_pending(function)cli/commands/_dormancy.py:52def is_pending(cs_class)-- ReturnTruewhencs_classis flagged as a pending migration.
Depends on: cli/commands/_base.py, modules/dacl_abuse.py, modules/delegation_attacks.py, modules/gpo_abuse.py, modules/kerberoasting.py, modules/kerberos_tickets.py
-
ActiveDirectoryCommandSet.do_kerberos_ticket(method)cli/commands/active_directory.py:24def do_kerberos_ticket(self, line)-- Forge Kerberos tickets for persistence and lateral movement. -
ActiveDirectoryCommandSet.do_delegation_enum(method)cli/commands/active_directory.py:139def do_delegation_enum(self, line)-- Enumerate Kerberos delegation configurations. -
ActiveDirectoryCommandSet.do_delegation_attack(method)cli/commands/active_directory.py:175def do_delegation_attack(self, line)-- Display computed delegation attack paths with exploitation commands. -
ActiveDirectoryCommandSet.do_dacl_abuse(method)cli/commands/active_directory.py:199def do_dacl_abuse(self, line)-- Enumerate and exploit dangerous AD DACL/SACL entries. -
ActiveDirectoryCommandSet.do_gpo_abuse(method)cli/commands/active_directory.py:233def do_gpo_abuse(self, line)-- Enumerate and exploit Group Policy Objects. -
ActiveDirectoryCommandSet.do_kerberoast(method)cli/commands/active_directory.py:277def do_kerberoast(self, line)-- Advanced Kerberoasting — AES-only mode, targeted SPN enumeration. -
ActiveDirectoryCommandSet.do_adcs_esc(method)cli/commands/active_directory.py:324def do_adcs_esc(self, line)-- Check Active Directory Certificate Services for ESC1-ESC13 vulnerabilities.
Depends on: cli/commands/_base.py, cli/confirm.py, core/llm_budget.py, modules/killchain.py, modules/llm_adapter.py, modules/llm_factory.py, modules/llm_pool.py, modules/llm_prompts.py, modules/sidequestion.py, utils.py
Imported by: tests/test_ai_commands_llm.py
-
AiCommandSet.do_ask(method)cli/commands/ai.py:78def do_ask(self, line)-- Ask the AI a question with current session context pre-loaded. -
AiCommandSet.do_groq(method)cli/commands/ai.py:166def do_groq(self, line)-- Generate a single-line command through the Groq backend. -
AiCommandSet.do_poolcheck(method)cli/commands/ai.py:197def do_poolcheck(self, line)-- Prove the LLM failover pool order with one live prompt. -
AiCommandSet.do_ai_playbook(method)cli/commands/ai.py:254def do_ai_playbook(self, line)-- Generate an offensive playbook from Nmap CSV + KB + Ollama. -
AiCommandSet.do_ai_toggle(method)cli/commands/ai.py:361def do_ai_toggle(self, _arg)-- Toggle the in-process AI assistant on or off. -
AiCommandSet.do_llm_budget(method)cli/commands/ai.py:378def do_llm_budget(self, line)-- Show the LLM daily cost budget, per call token cap, and current spend.
Depends on: cli/commands/_base.py, cli/confirm.py, cli/output_mode.py, core/hardening.py, utils.py
-
AntiForensicsCommandSet.do_wipe_logs(method)cli/commands/anti_forensics.py:39def do_wipe_logs(self, line)-- Clear system log files on the remote target. -
AntiForensicsCommandSet.do_wipe_timeline(method)cli/commands/anti_forensics.py:104def do_wipe_timeline(self, line)-- Scrub file timestamps and shell history on the target. -
AntiForensicsCommandSet.do_shred(method)cli/commands/anti_forensics.py:151def do_shred(self, line)-- Securely delete files by overwriting before removal. -
AntiForensicsCommandSet.do_wipe_free(method)cli/commands/anti_forensics.py:206def do_wipe_free(self, line)-- Wipe free disk space to prevent forensic file recovery. -
AntiForensicsCommandSet.do_clean_ad(method)cli/commands/anti_forensics.py:243def do_clean_ad(self, line)-- Clear Active Directory event logs and cached Kerberos tickets. -
AntiForensicsCommandSet.do_cover_tracks(method)cli/commands/anti_forensics.py:304def do_cover_tracks(self, line)-- Run all anti-forensics operations in sequence.
Depends on: cli/commands/_base.py, utils.py
-
AppLockerBypassCommandSet.do_applocker_installutil(method)cli/commands/applocker_bypass.py:109def do_applocker_installutil(self, line)-- Generate an InstallUtil.exe AppLocker bypass payload. -
AppLockerBypassCommandSet.do_applocker_msbuild(method)cli/commands/applocker_bypass.py:146def do_applocker_msbuild(self, line)-- Generate an MSBuild.exe AppLocker bypass payload. -
AppLockerBypassCommandSet.do_applocker_regsvcs(method)cli/commands/applocker_bypass.py:173def do_applocker_regsvcs(self, line)-- Generate a Regsvcs.exe/Regasm.exe AppLocker bypass payload. -
AppLockerBypassCommandSet.do_applocker_csc(method)cli/commands/applocker_bypass.py:209def do_applocker_csc(self, line)-- Generate a csc.exe compile-and-execute AppLocker bypass. -
AppLockerBypassCommandSet.do_applocker_mshta(method)cli/commands/applocker_bypass.py:240def do_applocker_mshta(self, line)-- Generate an mshta.exe AppLocker bypass payload. -
AppLockerBypassCommandSet.do_applocker_rundll32(method)cli/commands/applocker_bypass.py:269def do_applocker_rundll32(self, line)-- Generate a rundll32.exe AppLocker bypass via SCT scriptlet. -
AppLockerBypassCommandSet.do_applocker_presentation(method)cli/commands/applocker_bypass.py:298def do_applocker_presentation(self, line)-- Generate a PresentationHost.exe AppLocker bypass reference.
Depends on: cli/cli_enhancements.py, cli/commands/_base.py
Imported by: tests/test_cli_enhancements.py
-
AuditCommandSet.__init__(method)cli/commands/audit.py:101def __init__(self) -
AuditCommandSet.do_fz(method)cli/commands/audit.py:160def do_fz(self, statement)-- Fuzzy command finder. -
AuditCommandSet.do_form(method)cli/commands/audit.py:178def do_form(self, statement)-- Open an interactive form for a known command. -
AuditCommandSet.do_status_tail(method)cli/commands/audit.py:196def do_status_tail(self, statement)-- Print live progress from the latest sessions/scan_*.partial file. -
AuditCommandSet.do_grep_log(method)cli/commands/audit.py:234def do_grep_log(self, statement)-- Grep recent command outputs. -
AuditCommandSet.do_reload_addons(method)cli/commands/audit.py:263def do_reload_addons(self, _statement)-- Re-scan lazyaddons/ and plugins/ for changes; reloads what's new. -
AuditCommandSet.do_audit_complete_keys(method)cli/commands/audit.py:288def do_audit_complete_keys(self, statement)-- Print payload-aware completion suggestions for a partial command.
Depends on: cli/commands/_base.py, modules/categories.py, modules/conditional_hooks.py, modules/credential_reuse.py, modules/operator_profiles.py, modules/state_manager.py
-
AutomationCommandSet.do_cred_reuse(method)cli/commands/automation.py:24def do_cred_reuse(self, line)-- Analyze captured credentials and suggest spray targets. -
AutomationCommandSet.do_cred_mark_failed(method)cli/commands/automation.py:57def do_cred_mark_failed(self, line)-- Mark a credential as failed against a host. -
AutomationCommandSet.do_hooks_list(method)cli/commands/automation.py:78def do_hooks_list(self, line)-- List all conditional hook rules. -
AutomationCommandSet.do_hooks_enable(method)cli/commands/automation.py:101def do_hooks_enable(self, line)-- Enable or disable a hook rule. -
AutomationCommandSet.do_hooks_add(method)cli/commands/automation.py:129def do_hooks_add(self, line)-- Add a new conditional hook rule (JSON string). -
AutomationCommandSet.do_hooks_remove(method)cli/commands/automation.py:150def do_hooks_remove(self, line)-- Remove a hook rule by name. -
AutomationCommandSet.do_hooks_fire(method)cli/commands/automation.py:172def do_hooks_fire(self, line)-- Manually fire a hook event for testing. -
AutomationCommandSet.do_operators(method)cli/commands/automation.py:202def do_operators(self, line)-- List all operator profiles. -
AutomationCommandSet.do_operator_create(method)cli/commands/automation.py:229def do_operator_create(self, line)-- Create a new operator profile. -
AutomationCommandSet.do_operator_load(method)cli/commands/automation.py:264def do_operator_load(self, line)-- Load effective config for an operator (team baseline + overrides). -
AutomationCommandSet.do_operator_delete(method)cli/commands/automation.py:292def do_operator_delete(self, line)-- Delete an operator profile. -
AutomationCommandSet.do_hooks(method)cli/commands/automation.py:314def do_hooks(self, line)-- Conditional hooks management — list, enable, disable, add, remove rules.
Depends on: cli/commands/_base.py, modules/bitm_engine.py, utils.py
-
BitMCommandSet.do_bitm(method)cli/commands/bitm.py:31def do_bitm(self, line)-- Browser-in-the-Middle attack manager.
Depends on: cli/commands/_base.py, core/config.py, modules/beacon_config_builder.py, modules/bof_registry.py, utils.py
-
BofMarketplaceCommandSet.do_bof_search(method)cli/commands/bof_registry.py:142def do_bof_search(self, line)-- Search the BOF catalog by keyword. -
BofMarketplaceCommandSet.do_bof_info(method)cli/commands/bof_registry.py:163def do_bof_info(self, line)-- Show detailed information about a BOF. -
BofMarketplaceCommandSet.do_bof_install(method)cli/commands/bof_registry.py:196def do_bof_install(self, line)-- Install and compile a BOF, staging it for beacon delivery. -
BofMarketplaceCommandSet.do_bof_run(method)cli/commands/bof_registry.py:226def do_bof_run(self, line)-- Execute a BOF on a connected beacon. -
BofMarketplaceCommandSet.do_bof_uninstall(method)cli/commands/bof_registry.py:267def do_bof_uninstall(self, line)-- Uninstall a BOF and remove its staged file. -
BofMarketplaceCommandSet.do_bof_list(method)cli/commands/bof_registry.py:289def do_bof_list(self, line)-- List all installed and staged BOFs. -
BofMarketplaceCommandSet.do_bof_catalog(method)cli/commands/bof_registry.py:321def do_bof_catalog(self, line)-- List all BOFs available in the curated catalog.
Depends on: cli/commands/_base.py, modules/c2_profile_engine.py, utils.py
-
C2ProfileCommandSet.do_c2_profiles(method)cli/commands/c2_profile.py:25def do_c2_profiles(self, line)-- List all available C2 transport profiles. -
C2ProfileCommandSet.do_c2_tls(method)cli/commands/c2_profile.py:50def do_c2_tls(self, line)-- Display the current TLS C2 profile. -
C2ProfileCommandSet.do_c2_dns(method)cli/commands/c2_profile.py:69def do_c2_dns(self, line)-- Configure or display the DNS beacon profile. -
C2ProfileCommandSet.do_c2_rotate(method)cli/commands/c2_profile.py:90def do_c2_rotate(self, line)-- Rotate to the next C2 transport profile in the rotation queue.
Depends on: cli/commands/_base.py, modules/c2_agent.py, modules/c2_surfaces.py, utils.py
-
C2SessionCommandSet.do_c2_server(method)cli/commands/c2_session.py:115def do_c2_server(self, line)-- Manage the headless C2 server (lab use). -
C2SessionCommandSet.do_c2_reboot(method)cli/commands/c2_session.py:168def do_c2_reboot(self, line)-- Restart the headless C2 server with ROTATED operator credentials. -
C2SessionCommandSet.do_c2_deploy(method)cli/commands/c2_session.py:251def do_c2_deploy(self, line)-- Deploy the malleable agent to a lab target (needs root shell primitive). -
C2SessionCommandSet.do_c2_exec(method)cli/commands/c2_session.py:292def do_c2_exec(self, line)-- Run one command on a live C2 session and print its answer. -
C2SessionCommandSet.do_c2_loot(method)cli/commands/c2_session.py:339def do_c2_loot(self, line)-- Exfiltrate a remote file through a live C2 session into sessions/loot/.
Depends on: cli/commands/_base.py, modules/operation.py, modules/planner.py, modules/playbook_engine.py, modules/ttp_coverage.py, utils.py
-
CalderaCommandSet.do_op_list(method)cli/commands/caldera.py:80def do_op_list(self, line)-- List all operations. -
CalderaCommandSet.do_op_create(method)cli/commands/caldera.py:96def do_op_create(self, line)-- Create a new planned operation. -
CalderaCommandSet.do_op_plan(method)cli/commands/caldera.py:114def do_op_plan(self, line)-- Populate operation steps from a playbook YAML or via MITRE derive. -
CalderaCommandSet.do_op_start(method)cli/commands/caldera.py:141def do_op_start(self, line)-- Start (or resume) an operation. -
CalderaCommandSet.do_op_pause(method)cli/commands/caldera.py:166def do_op_pause(self, line)-- Pause a running operation. -
CalderaCommandSet.do_op_resume(method)cli/commands/caldera.py:183def do_op_resume(self, line)-- Resume a paused operation. -
CalderaCommandSet.do_op_stop(method)cli/commands/caldera.py:200def do_op_stop(self, line)-- Stop a running operation. -
CalderaCommandSet.do_op_status(method)cli/commands/caldera.py:217def do_op_status(self, line)-- Show the status of an operation. -
CalderaCommandSet.do_op_timeline(method)cli/commands/caldera.py:249def do_op_timeline(self, line)-- Show the event timeline of an operation. -
CalderaCommandSet.do_op_report(method)cli/commands/caldera.py:272def do_op_report(self, line)-- Generate a full report for an operation. -
CalderaCommandSet.do_ttp_matrix(method)cli/commands/caldera.py:290def do_ttp_matrix(self, line)-- Render the MITRE ATT&CK coverage matrix across all operations. -
CalderaCommandSet.do_ttp_rebuild(method)cli/commands/caldera.py:299def do_ttp_rebuild(self, line)-- Re-walk the operations directory to refresh the coverage matrix. -
CalderaCommandSet.do_ttp_show(method)cli/commands/caldera.py:309def do_ttp_show(self, line)-- Show details for a single MITRE technique. -
CalderaCommandSet.do_plan(method)cli/commands/caldera.py:336def do_plan(self, line)-- Pick the next best technique to run for a target. -
CalderaCommandSet.do_plan_detail(method)cli/commands/caldera.py:364def do_plan_detail(self, line)-- Show the full ranked plan (all candidates) for a target. -
CalderaCommandSet.do_plan_apply(method)cli/commands/caldera.py:391def do_plan_apply(self, line)-- Run the planner, then auto-create and start an operation.
Depends on: cli/commands/_base.py, core/safe_import.py, modules/db.py, utils.py
-
CampaignCommandSet.do_campaign(method)cli/commands/campaign.py:44def do_campaign(self, line)-- Export or import an entire campaign as a portable package.
Depends on: cli/commands/_base.py, utils.py
-
CatalogCommandSet.do_catalog(method)cli/commands/catalog.py:33def do_catalog(self, line)-- Browse the command catalog. -
shlex_split(function)cli/commands/catalog.py:111def shlex_split(text)-- Split text like shlex.split but handle empty strings gracefully.
Depends on: cli/commands/_base.py, modules/cicd_enumerator.py, modules/mfa_bypass.py, utils.py
-
CICDCommandSet.do_cicd_scan(method)cli/commands/cicd.py:34def do_cicd_scan(self, line)-- Scan CI/CD platform for security misconfigurations. -
CICDCommandSet.do_cicd_secrets(method)cli/commands/cicd.py:97def do_cicd_secrets(self, line)-- Scan build log for leaked secrets. -
CICDCommandSet.do_jenkins_enum(method)cli/commands/cicd.py:140def do_jenkins_enum(self, line)-- Enumerate a Jenkins instance. -
CICDCommandSet.do_gitlab_enum(method)cli/commands/cicd.py:185def do_gitlab_enum(self, line)-- Enumerate a GitLab instance. -
CICDCommandSet.do_mfa_bypass(method)cli/commands/cicd.py:231def do_mfa_bypass(self, line)-- Enumerate and test MFA bypass techniques.
Depends on: cli/commands/_base.py, modules/cli_auth.py, utils.py
-
CliAuthCommandSet.do_login(method)cli/commands/cli_auth.py:34def do_login(self, line)-- Authenticate against users.json (same users as lazyc2.py). -
CliAuthCommandSet.do_register(method)cli/commands/cli_auth.py:117def do_register(self, line)-- Register a new operator account in users.json. -
CliAuthCommandSet.do_logout(method)cli/commands/cli_auth.py:191def do_logout(self, line)-- Log out the current CLI operator and clear the remember-me token. -
CliAuthCommandSet.do_whoami(method)cli/commands/cli_auth.py:224def do_whoami(self, line)-- Show the currently logged-in CLI operator.
Depends on: cli/commands/_base.py, cli/confirm.py, core/hardening.py, modules/cloud_enum.py, modules/lazycloud.py, utils.py
Imported by: cli/commands/exfiltration.py
-
CloudCommandSet.do_cloud_metadata(method)cli/commands/cloud.py:49def do_cloud_metadata(self, _line)-- Harvest cloud instance metadata (AWS IMDS, Azure, GCP). -
CloudCommandSet.do_cloud_buckets(method)cli/commands/cloud.py:98def do_cloud_buckets(self, line)-- Enumerate cloud storage buckets for a given prefix. -
CloudCommandSet.do_cloud_scan(method)cli/commands/cloud.py:148def do_cloud_scan(self, line)-- Full cloud security scan: metadata + buckets + IAM enumeration. -
CloudCommandSet.do_cloud_iam(method)cli/commands/cloud.py:187def do_cloud_iam(self, _line)-- Enumerate cloud IAM roles and policies. -
CloudCommandSet.do_cloud_enum(method)cli/commands/cloud.py:239def do_cloud_enum(self, line)-- Enumerate cloud provider metadata, storage, and IAM.
Depends on: cli/commands/_base.py, modules/aws_attacks.py, modules/cross_cloud.py, modules/entra_id_attacks.py, modules/gcp_attacks.py, modules/k8s_attacks.py, modules/saas_attacks.py
-
CloudAttackCommandSet.do_entra_attack(method)cli/commands/cloud_attacks.py:23def do_entra_attack(self, line)-- Microsoft Entra ID / Azure AD attack operations. -
CloudAttackCommandSet.do_aws_privesc(method)cli/commands/cloud_attacks.py:125def do_aws_privesc(self, line)-- AWS privilege escalation and enumeration. -
CloudAttackCommandSet.do_gcp_privesc(method)cli/commands/cloud_attacks.py:215def do_gcp_privesc(self, line)-- GCP privilege escalation and enumeration. -
CloudAttackCommandSet.do_k8s_attack(method)cli/commands/cloud_attacks.py:302def do_k8s_attack(self, line)-- Kubernetes attack — RBAC enumeration, pod escape, etcd, persistence. -
CloudAttackCommandSet.do_cross_cloud(method)cli/commands/cloud_attacks.py:387def do_cross_cloud(self, line)-- Cross-cloud identity federation attacks. -
CloudAttackCommandSet.do_saas_enum(method)cli/commands/cloud_attacks.py:470def do_saas_enum(self, line)-- Enumerate SaaS platforms — M365, Google Workspace, Salesforce, Slack, ServiceNow.
Depends on: cli/commands/_base.py, modules/collab_bp.py, modules/db.py, utils.py
-
CollaborationCommandSet.do_lock_target(method)cli/commands/collaboration.py:48def do_lock_target(self, line)-- Acquire an advisory lock on a target to prevent tool collisions. -
CollaborationCommandSet.do_unlock_target(method)cli/commands/collaboration.py:89def do_unlock_target(self, line)-- Release an advisory lock on a target. -
CollaborationCommandSet.do_team_status(method)cli/commands/collaboration.py:114def do_team_status(self, line)-- Show active operators and target locks. -
CollaborationCommandSet.do_team_chat(method)cli/commands/collaboration.py:169def do_team_chat(self, line)-- Send a message to all connected operators. -
CollaborationCommandSet.do_share_finding(method)cli/commands/collaboration.py:199def do_share_finding(self, line)-- Share a finding or credential discovery with the team.
Depends on: cli/commands/_base.py, utils.py
-
CommandAndControlCommandSet.do_c2_status(method)cli/commands/command_and_control.py:41def do_c2_status(self, _line)-- Show consolidated C2 status: listeners, beacons, implants, and sessions. -
CommandAndControlCommandSet.do_c2_beacons(method)cli/commands/command_and_control.py:98def do_c2_beacons(self, _line)-- List all active beacon sessions with their last-seen timestamps. -
CommandAndControlCommandSet.do_c2_keygen(method)cli/commands/command_and_control.py:134def do_c2_keygen(self, _line)-- Generate a fresh AES-256 key for beacon encryption. -
CommandAndControlCommandSet.do_c2_quickstart(method)cli/commands/command_and_control.py:151def do_c2_quickstart(self, _line)-- Quick C2 setup: generate key, prepare implant dir, print beacon commands. -
CommandAndControlCommandSet.do_c2_beacon_cmd(method)cli/commands/command_and_control.py:198def do_c2_beacon_cmd(self, line)-- Queue a command for execution on a connected beacon. -
CommandAndControlCommandSet.do_c2_implant(method)cli/commands/command_and_control.py:233def do_c2_implant(self, line)-- Generate a compiled implant payload for the target platform.
Depends on: cli/aliases.py, cli/assign.py, cli/commands/_base.py, core/config.py, core/hardening.py, modules/apt_playbooks.py, modules/atomic_cli.py, modules/atomic_exploit_bridge.py, modules/atomic_resolver.py, modules/auto_registry.py, modules/c2_builder.py, modules/chain_registry.py, modules/listener_manager.py, utils.py
-
CommandAndControlMigratedCommandSet.do_msf(method)cli/commands/command_and_control_migrated.py:44def do_msf(self, line)-- Automates various Metasploit tasks including scanning for vulnerabilities, setting up reverse shells, and creating... -
CommandAndControlMigratedCommandSet.do_c2(method)cli/commands/command_and_control_migrated.py:394def do_c2(self, line)-- Handle C2 server setup and agent compilation. -
CommandAndControlMigratedCommandSet.do_listener(method)cli/commands/command_and_control_migrated.py:516def do_listener(self, line)-- Manage C2 listeners: list, add, start, stop, remove. -
CommandAndControlMigratedCommandSet.do_sandbox(method)cli/commands/command_and_control_migrated.py:644def do_sandbox(self, line)-- Toggle or query Docker sandbox mode. -
CommandAndControlMigratedCommandSet.do_msfrpc(method)cli/commands/command_and_control_migrated.py:686def do_msfrpc(self, line)-- Connects to the msfrpcd daemon and allows remote control of Metasploit. -
CommandAndControlMigratedCommandSet.do_sliver_server(method)cli/commands/command_and_control_migrated.py:710def do_sliver_server(self, line)-- Starts the Sliver server and generates a client configuration file for connecting clients. -
CommandAndControlMigratedCommandSet.do_empire(method)cli/commands/command_and_control_migrated.py:827def do_empire(self, line)-- Generates payloads using PowerShell Empire with various options. -
CommandAndControlMigratedCommandSet.do_automsf(method)cli/commands/command_and_control_migrated.py:877def do_automsf(self, line)-- Try to check if Vulnerable using the module passed by argument of lazyown example automsf... -
CommandAndControlMigratedCommandSet.do_iis_webdav_upload_asp(method)cli/commands/command_and_control_migrated.py:922def do_iis_webdav_upload_asp(self, line)-- (CVE-2017-7269). -
CommandAndControlMigratedCommandSet.do_duckyspark(method)cli/commands/command_and_control_migrated.py:957def do_duckyspark(self, line)-- duckyspark Compiles and uploads an .ino sketch to a Digispark device using Arduino CLI and Micronucleus. -
CommandAndControlMigratedCommandSet.do_emp3r0r(method)cli/commands/command_and_control_migrated.py:1158def do_emp3r0r(self, line)-- Command emp3r0r Downloads and sets up the Emperor server for local exploitation. -
CommandAndControlMigratedCommandSet.do_atomic_tests(method)cli/commands/command_and_control_migrated.py:1222def do_atomic_tests(self, line)-- Stage an Atomic Red Team test by MITRE technique ID or GUID. -
CommandAndControlMigratedCommandSet.do_atomic_gen(method)cli/commands/command_and_control_migrated.py:1243def do_atomic_gen(self, line)-- Generate test + cleanup scripts for a MITRE ID or GUID. -
CommandAndControlMigratedCommandSet.do_atomic_shell(method)cli/commands/command_and_control_migrated.py:1259def do_atomic_shell(self, line)-- Open an interactive root shell on the target when possible. -
CommandAndControlMigratedCommandSet.do_atomic_clean(method)cli/commands/command_and_control_migrated.py:1289def do_atomic_clean(self, line)-- Clean up engagement artefacts (soft) or tear down the gym (hard). -
CommandAndControlMigratedCommandSet.do_atomic_emulate(method)cli/commands/command_and_control_migrated.py:1326def do_atomic_emulate(self, line)-- Execute emulation tests on the target through a working shell. -
CommandAndControlMigratedCommandSet.do_atomic_agent(method)cli/commands/command_and_control_migrated.py:1379def do_atomic_agent(self, line)-- Generates and synchronizes atomic agent scripts. -
CommandAndControlMigratedCommandSet.do_attack_plan(method)cli/commands/command_and_control_migrated.py:1482def do_attack_plan(self, line)-- Execute a multi-step APT simulation plan. -
CommandAndControlMigratedCommandSet.do_apt_chain(method)cli/commands/command_and_control_migrated.py:1641def do_apt_chain(self, line)-- Run a fully YAML-administered APT chain with one command. -
CommandAndControlMigratedCommandSet.do_apt_playbook(method)cli/commands/command_and_control_migrated.py:1729def do_apt_playbook(self, line)-- List, validate, and run APT playbooks based on public threat reports. -
CommandAndControlMigratedCommandSet.do_mitre_test(method)cli/commands/command_and_control_migrated.py:1849def do_mitre_test(self, line)-- Interacts with the MITRE ATT&CK framework using the STIX 2.0 format. -
CommandAndControlMigratedCommandSet.do_generate_playbook(method)cli/commands/command_and_control_migrated.py:1952def do_generate_playbook(self, line)-- Generates a playbook that integrates Atomic Red Team tests and MITRE ATT&CK techniques. -
CommandAndControlMigratedCommandSet.do_my_playbook(method)cli/commands/command_and_control_migrated.py:2131def do_my_playbook(self, line)-- Generates a playbook from your custom technique database. -
CommandAndControlMigratedCommandSet.do_caldera(method)cli/commands/command_and_control_migrated.py:2188def do_caldera(self, line)-- Installs and starts the Caldera server. -
CommandAndControlMigratedCommandSet.do_caldera_import(method)cli/commands/command_and_control_migrated.py:2237def do_caldera_import(self, line)-- Import CALDERA abilities into LazyOwn playbooks. -
CommandAndControlMigratedCommandSet.do_caldera_export(method)cli/commands/command_and_control_migrated.py:2329def do_caldera_export(self, line)-- Export a LazyOwn playbook to CALDERA ability YAML.
Depends on: cli/commands/_base.py, modules/lazyk8s.py, utils.py
Imported by: cli/command_form.py, cli/dashboard_tui.py, cli/graph_overlay.py, cli/lazy_monitor.py, cli/lazy_orchestrator.py, cli/palette_overlay.py, cli/purple_tui.py, cli/sessions_browser.py, cli/surface_tui.py, cli/timeline_browser.py, poc_tui/app.py
-
ContainerCommandSet.do_docker_enum(method)cli/commands/containers.py:37def do_docker_enum(self, _line)-- Enumerate Docker host: containers, images, privileges, mounts. -
ContainerCommandSet.do_k8s_enum(method)cli/commands/containers.py:101def do_k8s_enum(self, _line)-- Enumerate Kubernetes cluster: pods, secrets, SAs, RBAC. -
ContainerCommandSet.do_container_escape(method)cli/commands/containers.py:169def do_container_escape(self, _line)-- Check current container for known escape vectors. -
ContainerCommandSet.do_k8s_pods(method)cli/commands/containers.py:239def do_k8s_pods(self, line)-- List Kubernetes pods with security-relevant details. -
ContainerCommandSet.do_k8s_secrets(method)cli/commands/containers.py:283def do_k8s_secrets(self, line)-- List and decode Kubernetes secrets. -
ContainerCommandSet.do_container_detect(method)cli/commands/containers.py:334def do_container_detect(self, _line)-- Auto-detect container runtime and escape primitives.
Depends on: cli/commands/_base.py, modules/categories.py, utils.py
-
CredentialAccessCommandSet.do_hashcat(method)cli/commands/cred.py:30def do_hashcat(self, line)-- Run hashcat password cracking. -
CredentialAccessCommandSet.do_john2hash(method)cli/commands/cred.py:39def do_john2hash(self, line)-- Convert a hash to John the Ripper format. -
CredentialAccessCommandSet.do_hydra(method)cli/commands/cred.py:47def do_hydra(self, line)-- Run Hydra for online password attacks. -
CredentialAccessCommandSet.do_medusa(method)cli/commands/cred.py:59def do_medusa(self, line)-- Run Medusa for online password attacks. -
CredentialAccessCommandSet.do_crunch(method)cli/commands/cred.py:67def do_crunch(self, line)-- Generate wordlists with crunch. -
CredentialAccessCommandSet.do_cewl(method)cli/commands/cred.py:75def do_cewl(self, line)-- Generate a wordlist from a website with cewl. -
CredentialAccessCommandSet.do_sshkey(method)cli/commands/cred.py:87def do_sshkey(self, line)-- Generate an SSH key pair. -
CredentialAccessCommandSet.do_creds_py(method)cli/commands/cred.py:93def do_creds_py(self, line)-- Extract credentials from a file or command output. -
CredentialAccessCommandSet.do_spraykatz(method)cli/commands/cred.py:98def do_spraykatz(self, line)-- Run SprayKatz for credential spraying.
Next: API_p2.md