Repository navigation
Agent KB_hermes lazyown
grisun0 edited this page Oct 17, 2026
·
20 revisions
- Doc: Hermes-LazyOwn integration package.
- Layer: utility
- Language: py
- Doc: Dynamic Claude.md rule generator for the Hermes-LazyOwn integration.
- Layer: business_logic
- Language: py
- Symbols:
-
RuleSetBuilder(class, line 14)class RuleSetBuilder -
generate_rules(function, line 185)def generate_rules(phase, rhost, services, creds_found, is_hermes) -
__init__(method, line 24)def __init__(self) -
with_phase(method, line 31)def with_phase(self, phase) -
with_target(method, line 36)def with_target(self, rhost) -
with_services(method, line 41)def with_services(self, services) -
with_creds(method, line 46)def with_creds(self, found) -
with_hermes(method, line 51)def with_hermes(self, is_hermes) -
build(method, line 56)def build(self) -
_base_rules(method, line 70)def _base_rules(self) -
_phase_rules(method, line 82)def _phase_rules(self) -
_service_rules(method, line 138)def _service_rules(self) -
_credential_rules(method, line 157)def _credential_rules(self) -
_hermes_rules(method, line 170)def _hermes_rules(self)
-
- Depends on:
skills/hermes-lazyown/constants.py - Imported by:
skills/hermes-lazyown/mcp_server.py
- Doc: Configuration bridge: unifies LazyOwn payload.json, environment variables, and fallback defaults...
- Layer: infrastructure
- Language: py
- Symbols:
-
ConfigBridgeError(class, line 17)class ConfigBridgeError(Exception) -
ConfigBridge(class, line 23)class ConfigBridge -
__init__(method, line 35)def __init__(self, payload_path) -
get(method, line 42)def get(self, key, default) -
get_required(method, line 46)def get_required(self, key) -
get_str(method, line 53)def get_str(self, key, default) -
get_int(method, line 58)def get_int(self, key, default) -
get_bool(method, line 66)def get_bool(self, key, default) -
refresh(method, line 75)def refresh(self) -
active_target(method, line 80)def active_target(self) -
attacker_context(method, line 90)def attacker_context(self) -
is_hermes_session(method, line 99)def is_hermes_session(self) -
_resolve(method, line 105)def _resolve(self, key, default) -
_from_env(method, line 117)def _from_env(self, key) -
_from_payload(method, line 134)def _from_payload(self, key) -
_load_payload(method, line 139)def _load_payload(self)
-
- Depends on:
skills/hermes-lazyown/constants.py - Imported by:
skills/hermes-lazyown/mcp_server.py
- Doc: Central constants for the Hermes-LazyOwn integration layer.
- Layer: utility
- Language: py
- Symbols:
-
ConfigKeys(class, line 12)class ConfigKeys -
EnvKeys(class, line 35)class EnvKeys -
Defaults(class, line 45)class Defaults -
PhaseNames(class, line 59)class PhaseNames -
Paths(class, line 102)class Paths -
lazyown_dir(method, line 106)def lazyown_dir() -
payload_file(method, line 115)def payload_file() -
sessions_dir(method, line 120)def sessions_dir() -
scan_file(method, line 125)def scan_file(rhost) -
vulns_file(method, line 130)def vulns_file(rhost) -
world_model_file(method, line 135)def world_model_file() -
objectives_file(method, line 140)def objectives_file() -
tasks_file(method, line 145)def tasks_file() -
soul_file(method, line 150)def soul_file() -
claude_md_file(method, line 155)def claude_md_file()
-
- Depends on:
modules/killchain.py - Imported by:
skills/hermes-lazyown/claudemd_rules.py,skills/hermes-lazyown/config_bridge.py,skills/hermes-lazyown/executor.py,skills/hermes-lazyown/hermes_sync.py,skills/hermes-lazyown/mcp_server.py,skills/hermes-lazyown/output_compactor.py
- Doc: LazyOwn command executor for the Hermes-LazyOwn integration.
- Layer: utility
- Language: py
- Symbols:
-
ExecutionResult(class, line 21)class ExecutionResult -
LazyOwnExecutor(class, line 58)class LazyOwnExecutor -
__init__(method, line 24)def __init__(self, stdout, stderr, returncode, timed_out, duration_ms) -
combined(method, line 39)def combined(self) -
success(method, line 47)def success(self) -
__str__(method, line 51)def __str__(self) -
__init__(method, line 66)def __init__(self, lazyown_dir, timeout) -
execute(method, line 77)def execute(self, command, timeout) -
execute_batch(method, line 98)def execute_batch(self, commands, timeout) -
_run_via_subprocess(method, line 114)def _run_via_subprocess(self, command, timeout) -
_run_without_pty(method, line 149)def _run_without_pty(self, argv, command, timeout, env) -
_run_with_pty(method, line 177)def _run_with_pty(self, argv, command, timeout, env) -
_has_pty(method, line 229)def _has_pty(self)
-
- Depends on:
skills/hermes-lazyown/constants.py - Imported by:
skills/hermes-lazyown/mcp_server.py
- Doc: Hermes-native synchronization layer.
- Layer: utility
- Language: py
- Symbols:
-
HermesSyncError(class, line 21)class HermesSyncError(Exception) -
CheckpointSerializer(class, line 27)class CheckpointSerializer -
ObjectiveTodoSync(class, line 73)class ObjectiveTodoSync -
DelegationPlanner(class, line 145)class DelegationPlanner -
__init__(method, line 33)def __init__(self, sessions_dir) -
write(method, line 37)def write(self, state) -
read(method, line 49)def read(self) -
clear(method, line 64)def clear(self) -
__init__(method, line 82)def __init__(self, objectives_path) -
pending_objectives(method, line 85)def pending_objectives(self) -
mark_done(method, line 106)def mark_done(self, objective_text) -
inject_objective(method, line 127)def inject_objective(self, text, priority, notes) -
plan_for_service(method, line 154)def plan_for_service(self, service, port, rhost) -
plan_for_credential(method, line 233)def plan_for_credential(self, cred_type, value, rhost)
-
- Depends on:
skills/hermes-lazyown/constants.py - Imported by:
skills/hermes-lazyown/mcp_server.py
- Doc: Hermes-native MCP server for LazyOwn.
- Layer: utility
- Language: py
- Symbols:
-
_get_config(function, line 45)def _get_config() -
_get_compactor(function, line 52)def _get_compactor() -
_get_executor(function, line 60)def _get_executor() -
_get_checkpoint_serializer(function, line 68)def _get_checkpoint_serializer() -
_get_objective_sync(function, line 75)def _get_objective_sync() -
_get_delegation_planner(function, line 82)def _get_delegation_planner() -
_compact(function, line 92)def _compact(result, phase, tool_name) -
_try_import_lazyown_module(function, line 101)def _try_import_lazyown_module(module_name) -
_desc(function, line 120)def _desc(base) -
list_tools(function, line 329)def list_tools() -
call_tool(function, line 334)def call_tool(name, arguments) -
_handle_tool(function, line 346)def _handle_tool(name, arguments) -
_core_session_init(function, line 395)def _core_session_init(arguments) -
_core_set_config(function, line 441)def _core_set_config(arguments) -
_core_run_command(function, line 464)def _core_run_command(arguments) -
_core_command_help(function, line 480)def _core_command_help(arguments) -
_intel_facts_show(function, line 512)def _intel_facts_show(arguments) -
_intel_recommend_next(function, line 546)def _intel_recommend_next() -
_intel_searchsploit(function, line 562)def _intel_searchsploit(arguments) -
_auto_loop(function, line 591)def _auto_loop(arguments) -
_auto_inject_objective(function, line 611)def _auto_inject_objective(arguments) -
_hermes_checkpoint_write(function, line 638)def _hermes_checkpoint_write(arguments) -
_hermes_checkpoint_read(function, line 648)def _hermes_checkpoint_read() -
_hermes_rules_generate(function, line 659)def _hermes_rules_generate(arguments) -
_hermes_delegate_plan(function, line 677)def _hermes_delegate_plan(arguments) -
_c2_status(function, line 706)def _c2_status() -
_c2_get_beacons(function, line 727)def _c2_get_beacons() -
main(function, line 751)def main()
-
- Depends on:
modules/backdoor/server.c,skills/hermes-lazyown/claudemd_rules.py,skills/hermes-lazyown/config_bridge.py,skills/hermes-lazyown/constants.py,skills/hermes-lazyown/executor.py,skills/hermes-lazyown/hermes_sync.py,skills/hermes-lazyown/output_compactor.py
- Doc: Phase-aware output compaction for the Hermes-LazyOwn integration.
- Layer: utility
- Language: py
- Symbols:
-
CompactionResult(class, line 17)class CompactionResult -
CompactionStrategy(class, line 36)class CompactionStrategy(ABC) -
ReconCompaction(class, line 45)class ReconCompaction(CompactionStrategy) -
EnumCompaction(class, line 80)class EnumCompaction(CompactionStrategy) -
ExploitCompaction(class, line 111)class ExploitCompaction(CompactionStrategy) -
PrivescCompaction(class, line 140)class PrivescCompaction(CompactionStrategy) -
DefaultCompaction(class, line 162)class DefaultCompaction(CompactionStrategy) -
OutputCompactor(class, line 179)class OutputCompactor -
__init__(method, line 20)def __init__(self, compacted, original_lines, compacted_lines) -
reduction_ratio(method, line 26)def reduction_ratio(self) -
__str__(method, line 32)def __str__(self) -
compact(method, line 40)def compact(self, raw_output, tool_name) -
compact(method, line 55)def compact(self, raw_output, tool_name) -
compact(method, line 93)def compact(self, raw_output, tool_name) -
compact(method, line 124)def compact(self, raw_output, tool_name) -
compact(method, line 151)def compact(self, raw_output, tool_name) -
__init__(method, line 165)def __init__(self, max_lines) -
compact(method, line 168)def compact(self, raw_output, tool_name) -
__init__(method, line 196)def __init__(self, default_max_lines) -
compact(method, line 200)def compact(self, raw_output, phase, tool_name)
-
- Depends on:
skills/hermes-lazyown/constants.py - Imported by:
skills/hermes-lazyown/mcp_server.py
Generated offline by readmenator from commit 2f44e17e04bd. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_surface_graph
- 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_scripts_journal
- community_17_modules_backdoor
- community_18_poc_tui
- community_19_scripts_check_contract_manifest
- community_1_modules_lazyc2
- community_20_scripts_migrate_lazyown
- community_21_tools
- community_22_orphans
- community_2_modules_lazy_loop
- community_3_cli
- community_4_modules_autonomous_daemon
- community_5_lazygui_panels
- community_6_modules_llm_budget
- community_7_static_js
- community_8_skills_claude_md_orchestrator
- community_9_skills_hermes_lazyown
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p15
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_sinks
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p2
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p42
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes