Repository navigation
Agent KB_modules_p14
grisun0 edited this page Oct 16, 2026
·
7 revisions
Previous: KB_modules_p13.md
- Layer: utility
- Language: py
- Symbols:
-
getUUID(function, line 38)def getUUID() -
getSystemInfo(function, line 66)def getSystemInfo(output_file) -
getVTResult(function, line 83)def getVTResult(fileHash) -
getHash(function, line 112)def getHash(file, ignoreVFlag) -
checkSignature(function, line 132)def checkSignature(file, bundle) -
datetime_handler(function, line 210)def datetime_handler(x) -
parseAgentsDaemons(function, line 215)def parseAgentsDaemons(item, path) -
getLaunchAgents(function, line 287)def getLaunchAgents(path, output_file, ignoreVFlag) -
getLaunchDaemons(function, line 302)def getLaunchDaemons(path, output_file, ignoreVFlag) -
getUsers(function, line 317)def getUsers(output_file) -
getSafariExtensions(function, line 338)def getSafariExtensions(path, output_file) -
getChromeExtensions(function, line 357)def getChromeExtensions(path, output_file) -
getChromeDownloads(function, line 388)def getChromeDownloads(chromeHistoryDbPath, output_file) -
getFirefoxExtensions(function, line 442)def getFirefoxExtensions(path, output_file) -
getInstallHistory(function, line 477)def getInstallHistory(output_file) -
getCronJobs(function, line 494)def getCronJobs(users, output_file) -
getEmond(function, line 513)def getEmond(output_file) -
getKext(function, line 530)def getKext(sipStatus, kextPath, output_file, ignoreVFlag) -
getEnv(function, line 577)def getEnv(output_file) -
getPeriodicScripts(function, line 592)def getPeriodicScripts(output_file) -
getConnections(function, line 609)def getConnections(output_file) -
SIPStatus(function, line 637)def SIPStatus(output_file) -
GatekeeperStatus(function, line 651)def GatekeeperStatus(output_file) -
parseApp(function, line 663)def parseApp(app, ignoreVFlag) -
getLoginItems(function, line 706)def getLoginItems(path, output_file, ignoreVFlag) -
getApps(function, line 741)def getApps(path, output_file, ignoreVFlag) -
getEventTaps(function, line 763)def getEventTaps(output_file) -
getBashHistory(function, line 786)def getBashHistory(output_file, users) -
getShellStartupScripts(function, line 804)def getShellStartupScripts(users, output_file) -
hmac_sha256(function, line 842)def hmac_sha256(key, data) -
amzn_sig(function, line 846)def amzn_sig(secret_access_key, data, aws_region, aws_service) -
amzn_canonical_req(function, line 856)def amzn_canonical_req(filename_path, headers_list) -
s3_upload(function, line 866)def s3_upload(data, content_type, filename_path, access_key_id, secret_access_key, s3_bucket, aws_region) -
io_key(function, line 49)def io_key(keyname)
-
- Layer: utility
- Language: py
- Symbols:
-
parse_args(function, line 10)def parse_args() -
main(function, line 22)def main()
-
- Depends on:
modules/vulnbot.py
- Doc: list_files: Lista archivos en un directorio
- Layer: presentation
- Language: py
- Symbols:
-
VulnBotCLI(class, line 29)class VulnBotCLI -
__init__(method, line 30)def __init__(self, provider, mode, debug, script_path) -
_load_model(method, line 46)def _load_model(self) -
_setup_agent(method, line 61)def _setup_agent(self, script_path) -
_register_file_tools(method, line 83)def _register_file_tools(self) -
_load_external_tools(method, line 109)def _load_external_tools(self, script_path) -
_stream_agent_response(method, line 136)def _stream_agent_response(self, prompt) -
load_knowledge_base(method, line 145)def load_knowledge_base(self) -
save_knowledge_base(method, line 151)def save_knowledge_base(self, kb) -
get_relevant_knowledge(method, line 155)def get_relevant_knowledge(self, prompt) -
create_complex_prompt(method, line 160)def create_complex_prompt(self, base_prompt, history, knowledge) -
read_file_content(method, line 176)def read_file_content(self, file_path) -
load_event_config(method, line 182)def load_event_config(self) -
process_with_context(method, line 190)def process_with_context(self, file_path, event) -
stream_response(method, line 206)def stream_response(self, prompt) -
add_to_knowledge_base(method, line 212)def add_to_knowledge_base(self, prompt, response) -
list_files(function, line 86)def list_files(directory) -
read_file(function, line 90)def read_file(path) -
edit_file(function, line 95)def edit_file(path, content, old_text) -
generate(function, line 139)def generate() -
generate(function, line 207)def generate()
-
- Depends on:
core/logging.py,modules/agent_runner.py,modules/ai_model.py,modules/llm_factory.py,modules/logging_config.py - Imported by:
modules/vuln_bot_cli.py
- Doc: WebSocket beacon transport for modern C2 channels.
- Layer: utility
- Language: py
- Symbols:
-
WebSocketBeacon(class, line 46)class WebSocketBeacon -
WebSocketC2Handler(class, line 274)class WebSocketC2Handler -
__init__(method, line 62)def __init__(self, server_url, beacon_id, encryption_key, sleep_seconds, jitter_percent, ssl_verify, proxy) -
_encrypt(method, line 91)def _encrypt(self, data) -
_decrypt(method, line 97)def _decrypt(self, data) -
_build_message(method, line 103)def _build_message(self, msg_type, payload) -
_jittered_sleep(method, line 114)def _jittered_sleep(self) -
connect(method, line 122)def connect(self) -
check_in(method, line 157)def check_in(self) -
send_result(method, line 191)def send_result(self, task_id, output, exit_code) -
run(method, line 214)def run(self, command_handler) -
shutdown(method, line 263)def shutdown(self) -
__init__(method, line 288)def __init__(self, host, port, ssl_context, beacon_callback, task_callback, result_callback) -
_handle_connection(method, line 310)def _handle_connection(self, websocket, path) -
start(method, line 382)def start(self) -
stop(method, line 392)def stop(self) -
start_in_thread(method, line 399)def start_in_thread(self) -
_run_loop(method, line 410)def _run_loop(self, loop) -
send_task(method, line 416)def send_task(self, beacon_id, command) -
list_beacons(method, line 447)def list_beacons(self) -
remove_stale_beacons(method, line 464)def remove_stale_beacons(self, timeout)
-
- Depends on:
core/hardening.py
- Layer: utility
- Language: sh
- Doc: Confined workspace file browser for operators and loop agents.
- Layer: utility
- Language: py
- Symbols:
-
root(function, line 21)def root() -
resolve(function, line 27)def resolve(rel) -
list_entries(function, line 46)def list_entries(rel) -
read_text(function, line 63)def read_text(rel, limit) -
write_text(function, line 72)def write_text(rel, content) -
make_dir(function, line 83)def make_dir(rel) -
remove(function, line 90)def remove(rel)
-
- Imported by:
tests/test_lazy_loop.py
- Doc: modules/world_model.py
- Layer: business_logic
- Language: py
- Symbols:
-
_derive_crypto_key(function, line 58)def _derive_crypto_key(password, salt) -
_master_password(function, line 67)def _master_password() -
read_state_dict(function, line 72)def read_state_dict(path) -
write_state_dict(function, line 118)def write_state_dict(path, data) -
HostState(class, line 151)class HostState(StrEnum) -
EngagementPhase(class, line 167)class EngagementPhase(StrEnum) -
ServiceInfo(class, line 179)class ServiceInfo -
CredentialEntry(class, line 188)class CredentialEntry -
VulnerabilityEntry(class, line 197)class VulnerabilityEntry -
EmailEntry(class, line 206)class EmailEntry -
DomainEntry(class, line 214)class DomainEntry -
NetworkRelation(class, line 222)class NetworkRelation -
NetworkGraph(class, line 244)class NetworkGraph -
HostEntry(class, line 364)class HostEntry -
_PhaseDeriver(class, line 416)class _PhaseDeriver -
WorldModel(class, line 541)class WorldModel -
get_world_model(function, line 1126)def get_world_model(path) -
rank(method, line 160)def rank(self) -
can_advance_to(method, line 163)def can_advance_to(self, next_state) -
__init__(method, line 267)def __init__(self) -
add_relation(method, line 274)def add_relation(self, relation) -
neighbors(method, line 282)def neighbors(self, node) -
in_degree(method, line 286)def in_degree(self, node) -
out_degree(method, line 290)def out_degree(self, node) -
degree_centrality(method, line 294)def degree_centrality(self) -
pivot_candidates(method, line 309)def pivot_candidates(self, top_k) -
to_dict(method, line 331)def to_dict(self) -
from_dict(method, line 348)def from_dict(cls, data) -
add_service(method, line 373)def add_service(self, svc) -
advance(method, line 377)def advance(self, new_state) -
to_dict(method, line 385)def to_dict(self) -
from_dict(method, line 397)def from_dict(cls, d) -
derive(method, line 430)def derive(self, hosts) -
__init__(method, line 549)def __init__(self, path) -
add_host(method, line 565)def add_host(self, ip) -
reset_host(method, line 573)def reset_host(self, ip) -
advance_host(method, line 583)def advance_host(self, ip, new_state) -
add_service(method, line 592)def add_service(self, ip, port, name, version, protocol) -
add_note(method, line 609)def add_note(self, ip, note) -
set_os_hint(method, line 616)def set_os_hint(self, ip, os_hint) -
get_host(method, line 630)def get_host(self, ip) -
get_hosts_summary(method, line 642)def get_hosts_summary(self) -
add_credential(method, line 653)def add_credential(self, value, host, service) -
link_credential_to_success(method, line 685)def link_credential_to_success(self, value, host) -
link_credential_to_failure(method, line 706)def link_credential_to_failure(self, value, host) -
add_vulnerability(method, line 736)def add_vulnerability(self, description, host, cve, severity) -
add_email(method, line 742)def add_email(self, address, host, context) -
add_domain(method, line 748)def add_domain(self, domain, host, context) -
update_from_findings(method, line 762)def update_from_findings(self, findings) -
consume_policy_facts(method, line 835)def consume_policy_facts(self, facts_path) -
add_relation(method, line 927)def add_relation(self, source, target, relation, weight) -
pivot_candidates(method, line 948)def pivot_candidates(self, top_k) -
graph_snapshot(method, line 956)def graph_snapshot(self) -
get_phase(method, line 963)def get_phase(self) -
get_suggested_tools(method, line 967)def get_suggested_tools(self) -
to_context_string(method, line 970)def to_context_string(self) -
_save(method, line 1029)def _save(self) -
_load(method, line 1048)def _load(self) -
reload(method, line 1078)def reload(self) -
reset(method, line 1094)def reset(self) -
snapshot(method, line 1105)def snapshot(self)
-
- Depends on:
cli/commands/enum.py,core/logging.py - Imported by:
cli/commands/exploit_migrated.py,cli/commands/help_ui.py,cli/commands/mcp_bridge.py,cli/commands/pwn.py,cli/ops_commands.py,lazyc2.py,modules/atomic_exploit_bridge.py,modules/exploit_recommender.py,modules/integrations/nuclei_parser.py,modules/intelligence_engine.py,modules/killchain.py,modules/lazy_bridge.py,modules/lazy_intel.py,modules/live_surface.py,modules/operation.py,modules/planner.py,modules/playbook_engine.py,modules/state_manager.py,modules/unified_dashboard.py,skills/autonomous_daemon.py,skills/lazyown_mcp.py,tests/conftest.py,tests/integration_autonomous_flow.py,tests/test_autonomous_ops.py,tests/test_core_modules.py,tests/test_killchain_snapshot.py,tests/test_killchain_unified.py,tests/test_killchain_unified_v2.py,tests/test_moe_rl_swan.py,tests/test_ops_loot_phase.py,tests/test_phase1_data_gaps.py,tests/test_world_model_extended.py
- Doc: load_payload: Carga las variables desde payload.json
- Layer: utility
- Language: py
- Symbols:
-
YAMLPromptGenerator(class, line 17)class YAMLPromptGenerator -
main(function, line 141)def main() -
__init__(method, line 18)def __init__(self, provider, api_key) -
load_payload(method, line 25)def load_payload(self) -
_load_model(method, line 32)def _load_model(self) -
generate_prompt(method, line 54)def generate_prompt(self, user_request) -
extract_yaml_from_markdown(method, line 100)def extract_yaml_from_markdown(self, text) -
create_yaml_addon(method, line 109)def create_yaml_addon(self, user_request, output_dir)
-
- Depends on:
modules/ai_model.py,modules/llm_factory.py
- Doc: YARA integration for malware classification and IOC scanning.
- Layer: utility
- Language: py
- Symbols:
-
YaraScanner(class, line 23)class YaraScanner -
create_default_rules(function, line 371)def create_default_rules() -
__init__(method, line 31)def __init__(self, rules_dir, auto_compile) -
ensure_directory(method, line 41)def ensure_directory(self) -
_load_external_vars(method, line 45)def _load_external_vars(self) -
compile_all(method, line 54)def compile_all(self) -
scan_file(method, line 98)def scan_file(self, filepath, timeout) -
_scan_with_timeout(method, line 129)def _scan_with_timeout(self, filepath, externals, timeout) -
_format_match(method, line 162)def _format_match(self, match) -
scan_directory(method, line 187)def scan_directory(self, directory, recursive, extensions, max_files) -
_sha256(method, line 250)def _sha256(filepath) -
add_rule(method, line 258)def add_rule(self, name, content) -
list_rules(method, line 277)def list_rules(self) -
download_community_rules(method, line 300)def download_community_rules(self) -
ioc_scan(method, line 328)def ioc_scan(self, target_path, iocs) -
target(function, line 137)def target()
-
- Imported by:
cli/commands/postexp_migrated.py,modules/intelligence_engine.py
Generated offline by readmenator from commit bb49626e7e46. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_opsec_scorer
- community_11_modules_finding_lifecycle
- 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_cli
- community_3_modules_autonomous_daemon
- community_4_modules_lazy_loop
- community_5_lazygui_panels
- community_6_skills_claude_md_orchestrator
- community_7_static_js
- community_8_modules_llm_budget
- community_9_modules_atomic_exploit_bridge
- 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_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_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_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes