Repository navigation
community_3_cli
Community 3 | 112 files | cohesion 0.54
This community groups 112 file(s) rooted at tests with dominant language py (cohesion 0.54). Central symbols: AddonCatalog, AddonEntry, AuditConfig, AutoCryptoConfig, AutoCryptoEngine, AutoSuggestEngine, BinarySpec, BinaryStatus. Core file: tests/test_command_palette.py (238 symbols). Documented purpose: LazyOwn CLI infrastructure. Tier 2 introduces a declarative, modular layer above [lazyown.py](https://github.com/grisuno/LazyOwn/blob/2f44e17e04bdafed2bc1a36ee7fe88300d346017/lazyown.py): - [cli/aliases.yaml](https://github.com/grisuno/LazyOwn/blob/2f44e17e04bdafed2bc1a36ee7fe88300d346017/cli/aliases.yaml) and :func:cli.aliases.load_aliases p.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
tests/test_auto_crypto.py |
py | testing | 22 | yes |
tests/test_autosuggest.py |
py | testing | 41 | yes |
tests/test_c2_agent.py |
py | testing | 20 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/__init__.py |
py | utility | 0 | yes |
cli/auto_crypto.py |
py | utility | 13 | yes |
cli/autosuggest.py |
py | utility | 27 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
core/command_bridge.py |
py | utility | 9 | yes |
core/console.py |
py | utility | 11 | yes |
core/error_advice.py |
py | utility | 5 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
poc_tui/__main__.py |
py | utility | 0 | yes |
poc_tui/app.py |
py | utility | 47 | yes |
poc_tui/run.py |
py | utility | 1 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/commands/cli_auth.py |
py | utility | 5 | yes |
cli/commands/help_ui.py |
py | presentation | 16 | yes |
cli/commands/recon.py |
py | utility | 14 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/cli_auth.py |
py | utility | 18 | yes |
modules/kill_chain_viz.py |
py | utility | 5 | yes |
modules/killchain.py |
py | utility | 21 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazyown.py |
py | utility | 129 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
scripts/devtools/command_audit.py |
py | utility | 4 | yes |
... and 92 more files in this community.
-
AutoCryptoConfig(class,cli/auto_crypto.py:48)class AutoCryptoConfig- Centralised configuration for automatic session encryption. -
AutoCryptoEngine(class,cli/auto_crypto.py:77)class AutoCryptoEngine- Encrypt and decrypt sensitive session files with a derived key. -
__init__(method,cli/auto_crypto.py:85)def __init__(self, config) -
enabled(method,cli/auto_crypto.py:90)def enabled(self)- Whether the engine performs any I/O. -
is_encrypted(method,cli/auto_crypto.py:95)def is_encrypted(self)- Check whether session data appears encrypted. -
encrypt_session(method,cli/auto_crypto.py:124)def encrypt_session(self)- Encrypt all protected session files. -
decrypt_session(method,cli/auto_crypto.py:174)def decrypt_session(self)- Decrypt all protected session files. -
has_password(method,cli/auto_crypto.py:239)def has_password(self)- Return True when the configured provider yields a password now. -
_get_password(method,cli/auto_crypto.py:251)def _get_password(self) -
_load_or_create_salt(method,cli/auto_crypto.py:260)def _load_or_create_salt(self) -
_derive_key(method,cli/auto_crypto.py:291)def _derive_key(password, salt) -
build_password_provider_from_cli_login(function,cli/auto_crypto.py:297)def build_password_provider_from_cli_login()- Return a password provider that reads the CLI login session. -
_provider(function,cli/auto_crypto.py:310)def _provider() -
SuggestionContext(class,cli/autosuggest.py:50)class SuggestionContext- Inputs available to every suggestion provider. -
Suggestion(class,cli/autosuggest.py:71)class Suggestion- One next-command suggestion with its rationale. -
SuggestionProvider(class,cli/autosuggest.py:92)class SuggestionProvider(Protocol)- Provider contract: examine context, return one suggestion orNone. -
suggest(method,cli/autosuggest.py:95)def suggest(self, context) -
CompositeProvider(class,cli/autosuggest.py:98)class CompositeProvider- Aggregator that returns the highest-scoring suggestion across providers. -
__init__(method,cli/autosuggest.py:105)def __init__(self, providers)- Store the provider chain. -
suggest(method,cli/autosuggest.py:115)def suggest(self, context)- Return the best suggestion across the chain, orNone. -
KillChainProvider(class,cli/autosuggest.py:134)class KillChainProvider- Provider backed by the static kill-chain adjacency map. -
__init__(method,cli/autosuggest.py:143)def __init__(self, chain, phase_priority)- Configure the provider. -
suggest(method,cli/autosuggest.py:162)def suggest(self, context)- Return the first unseen adjacency, or phase fallback, orNone. -
GraphProvider(class,cli/autosuggest.py:189)class GraphProvider- Provider backed by the graphify knowledge-graph advisor. -
__init__(method,cli/autosuggest.py:197)def __init__(self, advisor)- Configure the provider. -
suggest(method,cli/autosuggest.py:221)def suggest(self, context)- Query the advisor and adapt the top result to a :class:Suggestion. -
AutoSuggestEngine(class,cli/autosuggest.py:245)class AutoSuggestEngine- Stateful holder for the active ghost-text suggestion. -
__init__(method,cli/autosuggest.py:254)def __init__(self, provider)- Store the provider and enabled flag. -
enabled(method,cli/autosuggest.py:270)def enabled(self)- Whether the engine refreshes suggestions on each command. -
set_enabled(method,cli/autosuggest.py:274)def set_enabled(self, value)- Toggle the engine without losing the provider chain.
- Internal resolved imports (EXTRACTED): 470
- Cross-boundary resolved imports (EXTRACTED): 302
- [EXTRACTED] depends_on community 3 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/init.py imports cli/aliases.py.
- [EXTRACTED] depends_on community 3 <-> 1 (strength 0.9): Extracted import edge crosses communities: cli/auto_crypto.py imports core/logging.py.
- [EXTRACTED] depends_on community 3 <-> 2 (strength 0.9): Extracted import edge crosses communities: cli/command_form.py imports cli/commands/containers.py.
- [EXTRACTED] depends_on community 6 <-> 3 (strength 0.9): Extracted import edge crosses communities: cli/commands/ai.py imports modules/killchain.py.
- [EXTRACTED] depends_on community 3 <-> 7 (strength 0.9): Extracted import edge crosses communities: cli/commands/help_ui.py imports cli/assign.py.
- [taint high]
cli/banner_config.py->modules/cli_auth.pyviasubprocess(1 hops) - [taint high]
cli/banner_config.py->cli/engagement_hooks.pyviasubprocess(1 hops) - [taint high]
cli/banner_config.py->cli/palette.pyviasubprocess(2 hops) - [taint high]
cli/banner_config.py->core/console.pyviasubprocess(5 hops) - [cycle]
cli/engagement_hooks.py->modules/cli_auth.py->cli/engagement_hooks.py - [layer strict]
tests/test_exploration_and_addons.py(testing) ->cli/exploration_view.py(presentation) - [layer strict]
tests/test_help_ui_command_set.py(testing) ->cli/commands/help_ui.py(presentation) - [layer strict]
tests/test_help_ui_command_set.py(testing) ->cli/commands/help_ui.py(presentation) - [layer strict]
tests/test_help_ui_command_set.py(testing) ->cli/commands/help_ui.py(presentation) - [layer strict]
tests/test_help_ui_command_set.py(testing) ->cli/commands/help_ui.py(presentation) - [dataflow UNCHECKED_ALLOC]
cli/auto_crypto.py:272_load_or_create_saltfd: Result of allocator stored infdis never checked against NULL. - [dataflow UNCHECKED_ALLOC]
cli/commands/recon.py:609_run_single_search_s: Result of allocator stored in_sis never checked against NULL. - [dataflow UNCHECKED_ALLOC]
cli/lazynmap_post.py:244_emit_eventfd: Result of allocator stored infdis never checked against NULL.
- Can the cycle
cli/engagement_hooks.py->modules/cli_auth.pybe broken with an interface? - What would break if the most connected file in cli changed?
- Should cli be split, given cohesion 0.54?
cli/__init__.pycli/auto_crypto.pycli/autosuggest.pycli/chain_mode.pycli/command_chain.pycli/command_explorer.pycli/command_form.pycli/commands/cli_auth.pycli/commands/help_ui.pycli/commands/recon.pycli/config_status.pycli/contextual_help.pycli/dashboard_layout.pycli/dashboard_tui.pycli/doctor.pycli/engagement_hooks.pycli/exploit_advisor.pycli/exploration.pycli/exploration_view.pycli/graph_overlay.py- ... and 92 more
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