Repository navigation
community_1_modules_lazyc2
grisun0 edited this page Oct 17, 2026
·
7 revisions
Community 1 | 135 files | cohesion 0.52
This community groups 135 file(s) rooted at modules with dominant language py (cohesion 0.52). Central symbols: ACIEngine, ACIGoal, ACIPlan, ACIPlanner, ACIReflector, AESKeyManager, AIResult, AccessFact. Core file: lazyc2.py (288 symbols). Documented purpose: Automation command set — credential reuse, conditional hooks, operator profiles. Provides CLI commands for managing the credential reuse engine, conditional ho.
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/ai_fallback.py |
py | utility | 8 | yes |
modules/beacon_history.py |
py | utility | 7 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
tests/test_aci_planner.py |
py | testing | 95 | yes |
tests/test_addon_creator.py |
py | testing | 86 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazyc2/security/__init__.py |
py | utility | 0 | no |
lazyc2/security/command_allowlist.py |
py | utility | 8 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazyc2/blueprints/__init__.py |
py | utility | 0 | yes |
lazyc2/blueprints/addons.py |
py | presentation | 14 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
skills/aci_planner.py |
py | utility | 42 | yes |
skills/daemon_health.py |
py | utility | 16 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
contrib/legacy/lazydeepseekcli.py |
py | presentation | 16 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
core/api_authz.py |
py | presentation | 31 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazyc2/extensions/__init__.py |
py | infrastructure | 0 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/integrations/__init__.py |
py | utility | 0 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
cli/commands/automation.py |
py | utility | 13 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazyc2/__init__.py |
py | utility | 0 | no |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
lazy_sentinel4.py |
py | utility | 47 | no |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
modules/sinks/campaign_db.py |
py | utility | 1 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
static/js/socket.io-4.0.0.min.js |
js | utility | 32 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
skills/tests/test_facts.py |
py | testing | 37 | yes |
... and 115 more files in this community.
-
AutomationCommandSet(class,cli/commands/automation.py:17)class AutomationCommandSet(LazyOwnCommandSet)- Automation & operator workflow commands. -
do_cred_reuse(method,cli/commands/automation.py:24)def do_cred_reuse(self, line)- Analyze captured credentials and suggest spray targets. -
do_cred_mark_failed(method,cli/commands/automation.py:57)def do_cred_mark_failed(self, line)- Mark a credential as failed against a host. -
do_hooks_list(method,cli/commands/automation.py:78)def do_hooks_list(self, line)- List all conditional hook rules. -
do_hooks_enable(method,cli/commands/automation.py:101)def do_hooks_enable(self, line)- Enable or disable a hook rule. -
do_hooks_add(method,cli/commands/automation.py:129)def do_hooks_add(self, line)- Add a new conditional hook rule (JSON string). -
do_hooks_remove(method,cli/commands/automation.py:150)def do_hooks_remove(self, line)- Remove a hook rule by name. -
do_hooks_fire(method,cli/commands/automation.py:172)def do_hooks_fire(self, line)- Manually fire a hook event for testing. -
do_operators(method,cli/commands/automation.py:202)def do_operators(self, line)- List all operator profiles. -
do_operator_create(method,cli/commands/automation.py:229)def do_operator_create(self, line)- Create a new operator profile. -
do_operator_load(method,cli/commands/automation.py:264)def do_operator_load(self, line)- Load effective config for an operator (team baseline + overrides). -
do_operator_delete(method,cli/commands/automation.py:292)def do_operator_delete(self, line)- Delete an operator profile. -
do_hooks(method,cli/commands/automation.py:314)def do_hooks(self, line)- Conditional hooks management — list, enable, disable, add, remove rules. -
_lab_auth(function,cli/commands/c2_session.py:24)def _lab_auth()- Return (user, password, https_port, http_port) for the lab C2. -
_fresh_lab_creds(function,cli/commands/c2_session.py:54)def _fresh_lab_creds()- Generate fully random lab operator credentials (no fixed affixes). -
_server(function,cli/commands/c2_session.py:65)def _server(user, password, port)- Build a C2Server bound to lab auth (generates lab creds when needed). -
_issue(function,cli/commands/c2_session.py:83)def _issue(client_id, command, auth, https_port)- POST one command to the C2 issue endpoint (no prompts, ever). -
C2SessionCommandSet(class,cli/commands/c2_session.py:108)class C2SessionCommandSet(LazyOwnCommandSet)- Headless C2 lifecycle + session ops: server, deploy, exec, loot. -
do_c2_server(method,cli/commands/c2_session.py:115)def do_c2_server(self, line)- Manage the headless C2 server (lab use). -
do_c2_reboot(method,cli/commands/c2_session.py:168)def do_c2_reboot(self, line)- Restart the headless C2 server with ROTATED operator credentials. -
do_c2_deploy(method,cli/commands/c2_session.py:251)def do_c2_deploy(self, line)- Deploy the malleable agent to a lab target (needs root shell primitive). -
do_c2_exec(method,cli/commands/c2_session.py:292)def do_c2_exec(self, line)- Run one command on a live C2 session and print its answer. -
do_c2_loot(method,cli/commands/c2_session.py:339)def do_c2_loot(self, line)- Exfiltrate a remote file through a live C2 session into sessions/loot/. -
CollaborationCommandSet(class,cli/commands/collaboration.py:20)class CollaborationCommandSet(LazyOwnCommandSet)- Multi-operator collaboration commands for the CLI. -
_get_collab(method,cli/commands/collaboration.py:26)def _get_collab(self)- Lazy-load collaboration singletons from modules.collab_bp. -
_resolve_target(method,cli/commands/collaboration.py:38)def _resolve_target(self, target)- Resolve a target argument: explicit IP or rhost from payload. -
do_lock_target(method,cli/commands/collaboration.py:48)def do_lock_target(self, line)- Acquire an advisory lock on a target to prevent tool collisions. -
do_unlock_target(method,cli/commands/collaboration.py:89)def do_unlock_target(self, line)- Release an advisory lock on a target. -
do_team_status(method,cli/commands/collaboration.py:114)def do_team_status(self, line)- Show active operators and target locks. -
do_team_chat(method,cli/commands/collaboration.py:169)def do_team_chat(self, line)- Send a message to all connected operators.
- Internal resolved imports (EXTRACTED): 454
- Cross-boundary resolved imports (EXTRACTED): 296
- [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 1 <-> 0 (strength 0.9): Extracted import edge crosses communities: cli/commands/automation.py imports cli/commands/_base.py.
- [EXTRACTED] depends_on community 10 <-> 1 (strength 0.9): Extracted import edge crosses communities: cli/commands/database.py imports modules/db.py.
- [taint high]
cli/banner_config.py->modules/lazy_rbac.pyviasubprocess(2 hops) - [taint high]
cli/banner_config.py->core/logging.pyviasubprocess(2 hops) - [taint high]
cli/banner_config.py->modules/toposwarm_bridge.pyviasubprocess(5 hops) - [cycle]
skills/autonomous_daemon.py->modules/pipeline_engine.py->skills/autonomous_daemon.py - [layer strict]
lazyc2/blueprints/operations.py(presentation) ->lazyc2/extensions/storage.py(data_access) - [layer strict]
tests/test_addon_creator.py(testing) ->lazyc2/blueprints/addons.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation) - [layer strict]
tests/test_api_authz.py(testing) ->core/api_authz.py(presentation)
- Why do 7 file(s) lack file-level docs (e.g.
contrib/legacy/lazyssh.py)? What purpose do they serve? - Can the cycle
skills/autonomous_daemon.py->modules/pipeline_engine.pybe broken with an interface? - What would break if the most connected file in modules: lazyc2 changed?
- Should modules: lazyc2 be split, given cohesion 0.52?
cli/commands/automation.pycli/commands/c2_session.pycli/commands/collaboration.pycli/commands/estorides.pycontrib/legacy/lazydeepseekcli.pycontrib/legacy/lazyhoneypot.pycontrib/legacy/lazyopenssh77enum2.pycontrib/legacy/lazysearch_bot.pycontrib/legacy/lazyssh.pycore/api_authz.pycore/executor.pycore/logging.pycore/scheduler.pycore/security.pylazy_sentinel4.pylazyc2.pylazyc2/__init__.pylazyc2/addon_creator.pylazyc2/app_factory.pylazyc2/blueprints/__init__.py- ... and 115 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