Repository navigation
Agent API_p8
Previous: API_p7.md
Depends on: core/api_authz.py, core/config.py, core/defaults.py, core/logging.py
Imported by: lazyc2/blueprints/__init__.py, lazyc2/blueprints/api_v1.py, lazyc2/blueprints/orchestrator.py, tests/test_core_defaults.py, tests/test_security_hardening_v5.py
-
health(function)lazyc2/blueprints/api.py:108def health()-- Health-check endpoint returning subsystem status. -
ping(function)lazyc2/blueprints/api.py:120def ping()-- Lightweight liveness probe. -
require_api_auth_with_store(function)lazyc2/blueprints/api.py:129def require_api_auth_with_store(view)-- Protect a view with the app-scoped API key store. -
guarded(function)lazyc2/blueprints/api.py:146def guarded() -
health_tenant(function)lazyc2/blueprints/api.py:157def health_tenant()-- Health-check scoped to the current authenticated tenant. -
get_defaults(function)lazyc2/blueprints/api.py:182def get_defaults()-- Return build-time defaults alongside live payload values. -
set_default(function)lazyc2/blueprints/api.py:211def set_default()-- Persist a per-engagement override for a build default.
Depends on: core/logging.py, core/safe_exec.py, lazyc2/blueprints/api.py, modules/beacon_history.py, modules/db.py
Imported by: lazyc2/blueprints/__init__.py, tests/test_api_v1.py
-
health(function)lazyc2/blueprints/api_v1.py:65def health()-- Public service status (same payload as/api/health). -
targets(function)lazyc2/blueprints/api_v1.py:76def targets()-- List in-scope hosts from the campaign database. -
results(function)lazyc2/blueprints/api_v1.py:108def results()-- Return beacon task results. -
campaigns(function)lazyc2/blueprints/api_v1.py:141def campaigns()-- Report autonomous campaign status from operational state files. -
webhooks_list(function)lazyc2/blueprints/api_v1.py:180def webhooks_list()-- List registered result webhooks. -
webhooks_register(function)lazyc2/blueprints/api_v1.py:191def webhooks_register()-- Register a result webhook URL. -
webhooks_delete(function)lazyc2/blueprints/api_v1.py:228def webhooks_delete(index)-- Remove a registered webhook by index.
Depends on: cli/commands/enum.py, core/logging.py, lazyc2/__init__.py, lazyc2/extensions/decoy.py, lazyc2/extensions/users.py, modules/lazy_rbac.py
Imported by: lazyc2/blueprints/__init__.py, lazygui/services/teamserver_backend.py, static/js/socket.io-4.0.0.min.js, static/js/socket.io-4.3.2.min.js
-
Role.valid_roles(method)lazyc2/blueprints/auth.py:51def valid_roles(cls)-- Return valid role values. -
require_role(function)lazyc2/blueprints/auth.py:59def require_role(role)-- Return a deny-by-default decorator when RBAC is unavailable. -
decorator(function)lazyc2/blueprints/auth.py:69def decorator(view) -
wrapper(function)lazyc2/blueprints/auth.py:71def wrapper() -
register(function)lazyc2/blueprints/auth.py:128def register() -
login(function)lazyc2/blueprints/auth.py:187def login() -
mfa_setup(function)lazyc2/blueprints/auth.py:232def mfa_setup() -
mfa_qr(function)lazyc2/blueprints/auth.py:305def mfa_qr(username) -
mfa_verify(function)lazyc2/blueprints/auth.py:327def mfa_verify() -
profile(function)lazyc2/blueprints/auth.py:371def profile() -
logout(function)lazyc2/blueprints/auth.py:396def logout() -
admin_users(function)lazyc2/blueprints/auth.py:415def admin_users() -
admin_set_role(function)lazyc2/blueprints/auth.py:432def admin_set_role(user_id) -
admin_reset_mfa(function)lazyc2/blueprints/auth.py:454def admin_reset_mfa(user_id) -
admin_delete_user(function)lazyc2/blueprints/auth.py:466def admin_delete_user(user_id) -
admin_tenants(function)lazyc2/blueprints/auth.py:484def admin_tenants() -
admin_create_tenant(function)lazyc2/blueprints/auth.py:504def admin_create_tenant() -
admin_switch_tenant(function)lazyc2/blueprints/auth.py:523def admin_switch_tenant(tenant_id)
Depends on: core/logging.py, modules/conditional_hooks.py, modules/credential_reuse.py, modules/state_manager.py
Imported by: lazyc2/blueprints/__init__.py
-
init_beacon_bp(function)lazyc2/blueprints/beacon.py:35def init_beacon_bp(commands, results, commands_history, connected_clients, encrypt_fn, decrypt_fn, config...-- Wire the blueprint to the C2 monolith's shared state. -
send_command(function)lazyc2/blueprints/beacon.py:111def send_command(client_id)-- Implant polls for the next encrypted command. -
receive_result(function)lazyc2/blueprints/beacon.py:131def receive_result(client_id)-- Implant reports command output. -
issue_command(function)lazyc2/blueprints/beacon.py:245def issue_command()-- Operator queues a command for a connected implant.
Depends on: lazyc2/blueprints/session_auth.py, lazyc2/extensions/decoy.py, lazyc2/extensions/storage.py
Imported by: lazyc2/blueprints/__init__.py
-
task_detail(function)lazyc2/blueprints/operations.py:33def task_detail(task_id)-- View a single task by ID. -
get_tasks(function)lazyc2/blueprints/operations.py:48def get_tasks()-- Return all tasks as JSON. -
tasks(function)lazyc2/blueprints/operations.py:57def tasks()-- Render the tasks list page. -
edit_task(function)lazyc2/blueprints/operations.py:66def edit_task(task_id)-- Edit an existing task. -
cves(function)lazyc2/blueprints/operations.py:92def cves()-- List all CVEs or create a new one. -
cve_detail(function)lazyc2/blueprints/operations.py:117def cve_detail(cve_id)-- View a single CVE by ID. -
edit_cve(function)lazyc2/blueprints/operations.py:132def edit_cve(cve_id)-- Edit an existing CVE entry. -
edit_notes(function)lazyc2/blueprints/operations.py:158def edit_notes()-- View or edit the operator notes. -
get_notes(function)lazyc2/blueprints/operations.py:173def get_notes()-- Return notes as JSON. -
view_note(function)lazyc2/blueprints/operations.py:182def view_note()-- Render the notes view page. -
event_config(function)lazyc2/blueprints/operations.py:192def event_config()-- Return event configuration as JSON. -
event_config_view(function)lazyc2/blueprints/operations.py:198def event_config_view()-- View or update event configuration. -
events(function)lazyc2/blueprints/operations.py:218def events()-- Render the events page.
Depends on: core/logging.py, lazyc2/blueprints/api.py, modules/__init__.py, modules/killchain.py, modules/loop_triggers.py, modules/orchestrator_config.py, modules/trigger_policy.py, modules/verb_catalog.py, modules/world_model.py
Imported by: lazyc2/app_factory.py, tests/test_orchestrator_api.py
-
status(function)lazyc2/blueprints/orchestrator.py:104def status()-- One-call awareness: world model, verbs, triggers and stages. -
world(function)lazyc2/blueprints/orchestrator.py:111def world()-- Return the raw world-model + kill chain snapshot. -
verbs(function)lazyc2/blueprints/orchestrator.py:125def verbs()-- Verb catalog view with optional search filtering. -
verbs_toggle(function)lazyc2/blueprints/orchestrator.py:149def verbs_toggle()-- Flip one loop verb between enabled and disabled. -
stages_toggle(function)lazyc2/blueprints/orchestrator.py:166def stages_toggle()-- Flip one autonomous-loop stage between enabled and disabled. -
stage_names(function)lazyc2/blueprints/orchestrator.py:180def stage_names()-- Return the known stage names (fallback builtins included). -
triggers(function)lazyc2/blueprints/orchestrator.py:193def triggers()-- List the scheduler triggers pinned in the store. -
triggers_add(function)lazyc2/blueprints/orchestrator.py:202def triggers_add()-- Register one scheduler trigger from the JSON body. -
triggers_seed(function)lazyc2/blueprints/orchestrator.py:222def triggers_seed()-- Re-merge the declarative YAML seeds into the store once. -
triggers_delete(function)lazyc2/blueprints/orchestrator.py:231def triggers_delete(trigger_id)-- Remove one scheduler trigger by id. -
panel(function)lazyc2/blueprints/orchestrator.py:242def panel()-- Dashboard panel mirroring the orchestrator console state. -
panel_json(function)lazyc2/blueprints/orchestrator.py:262def panel_json()-- JSON mirror of the panel payload for automation.
Depends on: core/logging.py, lazyc2/extensions/short_urls.py, lazyc2/security/validators.py, modules/security_sanitizers.py, utils.py
Imported by: lazyc2/blueprints/__init__.py
-
create_short_url(function)lazyc2/blueprints/phishing.py:49def create_short_url()-- Create one or more short URLs for a single original URL. -
track_interaction(function)lazyc2/blueprints/phishing.py:89def track_interaction(short_url)-- Serve a tracking page and log behavioural data. -
update_short_url(function)lazyc2/blueprints/phishing.py:125def update_short_url(short_url)-- Update an existing short URL's target or active status. -
redirect_to_file(function)lazyc2/blueprints/phishing.py:151def redirect_to_file(short_url)-- Resolve a short URL and redirect (or serve a local file). -
webserver_report(function)lazyc2/blueprints/phishing.py:174def webserver_report(filename)-- Serve nmap HTML report assets from the sessions directory. -
download_files(function)lazyc2/blueprints/phishing.py:192def download_files(filename)-- Serve a session file by name with path-traversal protection.
Imported by: lazyc2/blueprints/addons.py, lazyc2/blueprints/operations.py
-
require_operator_session(function)lazyc2/blueprints/session_auth.py:20def require_operator_session(blueprint, login_endpoint)-- Register abefore_requestguard on a blueprint.
Imported by: lazyc2/blueprints/addons.py, lazyc2/blueprints/auth.py, lazyc2/blueprints/operations.py
-
decoy_response(function)lazyc2/extensions/decoy.py:12def decoy_response()-- Return a decoy page when the client IP is not the operator host.
Depends on: core/logging.py
Imported by: lazyc2/blueprints/phishing.py
-
configure(function)lazyc2/extensions/short_urls.py:21def configure(sessions_phishing_dir)-- Set the phishing directory where short_urls.json lives. -
load_short_urls(function)lazyc2/extensions/short_urls.py:33def load_short_urls()-- Load short URLs from JSON file, creating it if it doesn't exist. -
save_short_urls(function)lazyc2/extensions/short_urls.py:59def save_short_urls(data)-- Save short URLs to JSON file. -
is_valid_url(function)lazyc2/extensions/short_urls.py:104def is_valid_url(url)-- Validate if the input is a valid URL or existing local file path.
Depends on: core/logging.py
Imported by: lazyc2/blueprints/operations.py
-
configure(function)lazyc2/extensions/storage.py:18def configure(sessions_dir)-- Set the session directory path. -
load_tasks(function)lazyc2/extensions/storage.py:31def load_tasks()-- Load tasks from[sessions/tasks.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/tasks.json). -
save_tasks(function)lazyc2/extensions/storage.py:45def save_tasks(tasks)-- Persist tasks to[sessions/tasks.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/tasks.json). -
load_cves(function)lazyc2/extensions/storage.py:59def load_cves()-- Load CVEs from[sessions/cves.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/cves.json). -
save_cves(function)lazyc2/extensions/storage.py:73def save_cves(cves)-- Persist CVEs to[sessions/cves.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/cves.json). -
load_note(function)lazyc2/extensions/storage.py:87def load_note()-- Load the operator note from[sessions/notes.txt](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/notes.txt). -
save_note(function)lazyc2/extensions/storage.py:107def save_note(content)-- Persist the operator note to[sessions/notes.txt](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/notes.txt). -
load_event_config(function)lazyc2/extensions/storage.py:121def load_event_config()-- Load event configuration from[event_config.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/event_config.json). -
load_notifications(function)lazyc2/extensions/storage.py:137def load_notifications()-- Load notifications from[sessions/notifications.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/notifications.json). -
load_banners(function)lazyc2/extensions/storage.py:154def load_banners()-- Load banners from[sessions/banners.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/banners.json). -
load_routes(function)lazyc2/extensions/storage.py:179def load_routes()-- Load dynamic routes from[sessions/routes_to_templates.json](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/sessions/routes_to_templates.json). -
save_routes(function)lazyc2/extensions/storage.py:194def save_routes(routes)-- Persist dynamic routes with atomic write and safe permissions.
Depends on: lazyc2/__init__.py, modules/lazy_rbac.py
Imported by: lazyc2.py, lazyc2/blueprints/auth.py
-
configure(function)lazyc2/extensions/users.py:16def configure(users_path)-- Set the path for the legacy JSON user file. -
load_users(function)lazyc2/extensions/users.py:26def load_users()-- Load users from the JSON store or RBAC store. -
save_users(function)lazyc2/extensions/users.py:48def save_users(users)-- Persist users to the JSON store or RBAC store.
Depends on: modules/lazy_rbac.py
-
User.__init__(method)lazyc2/models.py:17def __init__(self, user_data)
Depends on: cli/commands/enum.py
Imported by: lazyc2.py, tests/test_command_allowlist.py, tests/test_command_allowlist_behavior.py
-
CommandDecision.to_dict(method)lazyc2/security/command_allowlist.py:61def to_dict(self)-- Return a JSON-serializable dict for the audit log. -
CommandAllowlist.__init__(method)lazyc2/security/command_allowlist.py:82def __init__(self, allowed, audit_log_path) -
CommandAllowlist.allowed(method)lazyc2/security/command_allowlist.py:94def allowed(self)-- Return the immutable set of allowed first tokens (lowercased). -
CommandAllowlist.check(method)lazyc2/security/command_allowlist.py:98def check(self, command)-- Return the :class:CommandDecisionforcommand.
Imported by: lazyc2.py, tests/test_cors_behavior.py, tests/test_cors_policy.py, tests/test_cors_socketio_regression.py
-
CorsPolicy.__init__(method)lazyc2/security/cors.py:70def __init__(self, env, lhost, allowed_origins, c2_port, extra_socketio_ports) -
CorsPolicy.env(method)lazyc2/security/cors.py:85def env(self)-- Return the normalized environment tag ("PROD"or"DEV"). -
CorsPolicy.resolve_origins(method)lazyc2/security/cors.py:89def resolve_origins(self)-- Return the validated allowlist of origins for the current env. -
CorsPolicy.origins_for_socketio(method)lazyc2/security/cors.py:110def origins_for_socketio(self)-- Return the allowlist to feedflask_socketio.SocketIO. -
CorsPolicy.is_allowed(method)lazyc2/security/cors.py:136def is_allowed(self, origin)-- ReturnTrueiforiginmatches any allowed entry.
Imported by: lazyc2.py, lazyc2/blueprints/addons.py, tests/test_csrf_behavior.py, tests/test_csrf_policy.py
-
CSRFPolicy.__init__(method)lazyc2/security/csrf.py:69def __init__(self, header, form_field, cookie_name, exempt_paths, secret) -
CSRFPolicy.header(method)lazyc2/security/csrf.py:85def header(self)-- Return the HTTP header name carrying the token. -
CSRFPolicy.cookie_name(method)lazyc2/security/csrf.py:90def cookie_name(self)-- Return the cookie name that should hold the readable token. -
CSRFPolicy.issue(method)lazyc2/security/csrf.py:94def issue(self, session_id)-- Return the token bound tosession_id. -
CSRFPolicy.rotate(method)lazyc2/security/csrf.py:111def rotate(self, session_id)-- Force a fresh token forsession_id. -
CSRFPolicy.forget(method)lazyc2/security/csrf.py:126def forget(self, session_id)-- Drop the token bound tosession_id(e.g. on logout). -
CSRFPolicy.validate(method)lazyc2/security/csrf.py:130def validate(self, session_id, candidate)-- ReturnTrueiffcandidatematches the stored token. -
CSRFPolicy.is_exempt(method)lazyc2/security/csrf.py:147def is_exempt(self, path)-- ReturnTrueifpathis in the exempt set. -
CSRFPolicy.extract_token(method)lazyc2/security/csrf.py:163def extract_token(self, request)-- Return the token from a Flask-shaped request. -
CSRFPolicy.check_request(method)lazyc2/security/csrf.py:182def check_request(self, session_id, request)-- Run the full CSRF gate against a request.
Depends on: lazyc2/security/constants.py
Imported by: lazyc2.py, tests/test_html_sanitizer.py
-
sanitize_html(function)lazyc2/security/html_sanitizer.py:78def sanitize_html(raw_html, allowed_tags, allowed_attributes)-- Return a sanitized HTML string safe forrender_template.
Imported by: lazyc2.py, tests/test_https_redirect.py
-
HTTPSRedirect.__init__(method)lazyc2/security/https_redirect.py:51def __init__(self, env, enabled) -
HTTPSRedirect.enabled(method)lazyc2/security/https_redirect.py:56def enabled(self)-- ReturnTruewhen the policy is active. -
HTTPSRedirect.evaluate(method)lazyc2/security/https_redirect.py:60def evaluate(self, request)-- Return a redirect response, orNoneif the request can pass.
Depends on: lazyc2/security/constants.py, lazyc2/security/validators.py
Imported by: lazyc2.py, lazyc2/app_factory.py, modules/c2_agent.py, tests/test_security_lazyc2.py
-
SecretKeyManager.__init__(method)lazyc2/security/services.py:30def __init__(self, sessions_dir) -
SecretKeyManager.get_or_create(method)lazyc2/security/services.py:33def get_or_create(self)-- Return an existing secret key or generate and persist a new one. -
SafeFileService.__init__(method)lazyc2/security/services.py:63def __init__(self, base_dir) -
SafeFileService.read_bytes(method)lazyc2/security/services.py:86def read_bytes(self, relative_path)-- Read a file as bytes after path validation. -
SafeFileService.read_text(method)lazyc2/security/services.py:102def read_text(self, relative_path, encoding)-- Read a file as text after path validation. -
SafeFileService.write_bytes(method)lazyc2/security/services.py:119def write_bytes(self, relative_path, data)-- Write bytes to a file after path validation. -
SafeFileService.exists(method)lazyc2/security/services.py:136def exists(self, relative_path)-- Check if a path exists after validation. -
AESKeyManager.__init__(method)lazyc2/security/services.py:158def __init__(self, key_file) -
AESKeyManager.get_or_generate(method)lazyc2/security/services.py:161def get_or_generate(self)-- Return an existing AES key or generate a new one. -
UploadSizeValidator.__init__(method)lazyc2/security/services.py:189def __init__(self, max_size_bytes) -
UploadSizeValidator.validate(method)lazyc2/security/services.py:192def validate(self, content_length)-- Validate upload size.
Imported by: lazyc2.py, tests/test_trusted_proxy.py
-
TrustedProxyResolver.__init__(method)lazyc2/security/trusted_proxy.py:42def __init__(self, trusted_count, operator_allowlist) -
TrustedProxyResolver.trusted_count(method)lazyc2/security/trusted_proxy.py:53def trusted_count(self)-- Return the configured number of trusted proxy hops. -
TrustedProxyResolver.client_ip(method)lazyc2/security/trusted_proxy.py:57def client_ip(self, remote_addr, x_forwarded_for)-- Return the resolved client IP. -
TrustedProxyResolver.is_operator(method)lazyc2/security/trusted_proxy.py:80def is_operator(self, ip)-- ReturnTruewhenipis in the operator allowlist.
Depends on: lazyc2/security/constants.py
Imported by: lazyc2.py, lazyc2/blueprints/phishing.py, lazyc2/security/services.py, tests/test_security_lazyc2.py, tests/test_short_url_file_containment.py
-
validate_route_path(function)lazyc2/security/validators.py:24def validate_route_path(route_path)-- Validate a dynamic route path segment. -
validate_template_name(function)lazyc2/security/validators.py:46def validate_template_name(template_name)-- Validate a Jinja2 template filename. -
validate_yaml_filename(function)lazyc2/security/validators.py:68def validate_yaml_filename(filename)-- Validate a YAML filename for safe loading. -
validate_request_data(function)lazyc2/security/validators.py:86def validate_request_data(data)-- Validate request data length to prevent buffer abuse. -
validate_aes_key(function)lazyc2/security/validators.py:102def validate_aes_key(key)-- Validate AES key length. -
validate_password_length(function)lazyc2/security/validators.py:118def validate_password_length(password)-- Validate password meets minimum length requirement. -
validate_upload_size(function)lazyc2/security/validators.py:134def validate_upload_size(content_length)-- Validate upload size against maximum allowed. -
validate_file_path_within_base(function)lazyc2/security/validators.py:150def validate_file_path_within_base(file_path, base_dir)-- Validate that a resolved file path is within a base directory. -
resolve_contained_file_path(function)lazyc2/security/validators.py:174def resolve_contained_file_path(raw_url, base_dir)-- Resolve a short-URL target to a file path contained inbase_dir.
Depends on: lazygui/app.py
-
main(function)lazygui/__main__.py:14def main()-- Bootstrap the GUI and run the Qt event loop.
Depends on: core/logging.py, lazygui/config/c2_credentials.py, lazygui/config/constants.py, lazygui/config/paths.py, lazygui/config/settings.py, lazygui/services/backend.py, lazygui/services/event_log.py, lazygui/services/factory.py, lazygui/services/models.py, lazygui/services/teamserver_backend.py, lazygui/theme/manager.py, lazygui/windows/connect_dialog.py, lazygui/windows/main_window.py
Imported by: lazygui/__main__.py
-
Application.__init__(method)lazygui/app.py:36def __init__(self, argv)-- Build constants/settings/theme/backend/main-window. -
Application.run(method)lazygui/app.py:65def run(self)-- Show the main window, start the backend, and run the event loop. -
Application.show_connect_dialog(method)lazygui/app.py:100def show_connect_dialog(self)-- Open the connection dialog and swap backends if accepted.
Depends on: core/logging.py
Imported by: lazygui/app.py, lazygui/windows/connect_dialog.py
-
C2Credentials.empty(method)lazygui/config/c2_credentials.py:33def empty(cls)-- Return a sentinel representing no credentials available. -
load_c2_credentials_from_file(function)lazygui/config/c2_credentials.py:38def load_c2_credentials_from_file(file_path)-- Parse[.c2_credentials.txt](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/.c2_credentials.txt)and return username + password. -
load_c2_credentials(function)lazygui/config/c2_credentials.py:71def load_c2_credentials(project_root)-- Resolve and parse the credentials file relative toproject_root.
Imported by: lazygui/app.py, lazygui/config/__init__.py, lazygui/config/paths.py, lazygui/config/settings.py, lazygui/panels/base.py, lazygui/panels/campaign_panel.py, lazygui/panels/credentials_panel.py, lazygui/panels/cve_panel.py, lazygui/panels/event_log_panel.py, lazygui/panels/graph_panel.py, lazygui/panels/history_panel.py, lazygui/panels/killchain_panel.py, lazygui/panels/listeners_panel.py, lazygui/panels/marketplace_panel.py, lazygui/panels/registry.py, lazygui/panels/sessions_panel.py, lazygui/panels/terminal_panel.py, lazygui/services/event_log.py, lazygui/services/factory.py, lazygui/services/local_backend.py, lazygui/services/teamserver_backend.py, lazygui/theme/manager.py, lazygui/theme/qss_builder.py, lazygui/widgets/command_palette_list.py, lazygui/widgets/event_log_view.py, lazygui/widgets/filter_bar.py, lazygui/widgets/graph_view.py, lazygui/widgets/terminal_view.py, lazygui/windows/command_palette_window.py, lazygui/windows/connect_dialog.py, lazygui/windows/main_window.py, tests/test_lazygui_backend.py, tests/test_lazygui_graph_widget.py
-
AppConstants.panel_labels(method)lazygui/config/constants.py:239def panel_labels(self)-- Map panel identifier to human-readable label.
Depends on: lazygui/config/constants.py
Imported by: lazygui/app.py, lazygui/config/__init__.py, lazygui/config/settings.py, lazygui/services/factory.py, lazygui/services/local_backend.py, lazygui/windows/connect_dialog.py
-
AppPaths.config_dir(method)lazygui/config/paths.py:32def config_dir(self)-- User config directory respectingXDG_CONFIG_HOMEwhen set. -
AppPaths.settings_file(method)lazygui/config/paths.py:39def settings_file(self)-- Absolute path of the persisted settings JSON file. -
AppPaths.layout_file(method)lazygui/config/paths.py:44def layout_file(self)-- Absolute path of the persisted Qt layout binary blob. -
AppPaths.project_run_script(method)lazygui/config/paths.py:49def project_run_script(self)-- Absolute path to therunshell launcher in the repository. -
AppPaths.lazyc2_script(method)lazygui/config/paths.py:54def lazyc2_script(self)-- Absolute path to the Flask backend[lazyc2.py](https://github.com/grisuno/LazyOwn/blob/991299a4aff06184af42450308896d347c93fc70/lazyc2.py). -
AppPaths.c2_credentials_path(method)lazygui/config/paths.py:59def c2_credentials_path(self)-- Absolute path to the C2 auto-generated credentials file. -
AppPaths.sessions_dir(method)lazygui/config/paths.py:69def sessions_dir(self)-- Absolute path to the sessions directory. -
AppPaths.ensure_config_dir(method)lazygui/config/paths.py:73def ensure_config_dir(self)-- Create the config directory if missing and return it.
Depends on: core/logging.py, lazygui/config/constants.py, lazygui/config/paths.py
Imported by: lazygui/app.py, lazygui/config/__init__.py, lazygui/theme/manager.py, lazygui/windows/connect_dialog.py, lazygui/windows/main_window.py
-
AppSettings.load(method)lazygui/config/settings.py:35def load(cls, constants, paths)-- Load settings from disk, returning empty defaults if absent. -
AppSettings.save(method)lazygui/config/settings.py:47def save(self)-- Persist the current document to disk atomically. -
AppSettings.get(method)lazygui/config/settings.py:55def get(self, key, default)-- Generic accessor for a slash-separated settings key. -
AppSettings.set(method)lazygui/config/settings.py:59def set(self, key, value)-- Assignvaluetokeywithout persisting; call :meth:save. -
AppSettings.theme_id(method)lazygui/config/settings.py:64def theme_id(self)-- Currently selected theme identifier. -
AppSettings.theme_id(method)lazygui/config/settings.py:69def theme_id(self, value) -
AppSettings.last_backend_id(method)lazygui/config/settings.py:73def last_backend_id(self)-- Backend identifier last used in the connect dialog. -
AppSettings.last_backend_id(method)lazygui/config/settings.py:78def last_backend_id(self, value) -
AppSettings.last_teamserver_url(method)lazygui/config/settings.py:84def last_teamserver_url(self)-- Last URL typed in the teamserver connection form. -
AppSettings.last_teamserver_url(method)lazygui/config/settings.py:94def last_teamserver_url(self, value) -
AppSettings.last_operator_name(method)lazygui/config/settings.py:98def last_operator_name(self)-- Operator handle the user typed last. -
AppSettings.last_operator_name(method)lazygui/config/settings.py:107def last_operator_name(self, value) -
AppSettings.last_teamserver_password(method)lazygui/config/settings.py:111def last_teamserver_password(self)-- Last teamserver password (stored in settings, derived from credentials file). -
AppSettings.last_teamserver_password(method)lazygui/config/settings.py:116def last_teamserver_password(self, value) -
AppSettings.c2_credentials_loaded(method)lazygui/config/settings.py:120def c2_credentials_loaded(self)-- Whether the last credentials were loaded from the C2 auto-generated file. -
AppSettings.c2_credentials_loaded(method)lazygui/config/settings.py:125def c2_credentials_loaded(self, value) -
AppSettings.snapshot(method)lazygui/config/settings.py:128def snapshot(self)-- Return a defensive read-only copy of the underlying document.
Depends on: lazygui/config/constants.py, lazygui/services/backend.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/campaign_panel.py, lazygui/panels/credentials_panel.py, lazygui/panels/cve_panel.py, lazygui/panels/event_log_panel.py, lazygui/panels/graph_panel.py, lazygui/panels/history_panel.py, lazygui/panels/killchain_panel.py, lazygui/panels/listeners_panel.py, lazygui/panels/marketplace_panel.py, lazygui/panels/registry.py, lazygui/panels/sessions_panel.py, lazygui/panels/terminal_panel.py
-
PanelBase.__init__(method)lazygui/panels/base.py:20def __init__(self, constants, backend, identifier, title, parent)-- Initialise the dock widget with stable identifier and title. -
PanelBase.identifier(method)lazygui/panels/base.py:43def identifier(self)-- Stable identifier matching :class:PanelConstants. -
PanelBase.backend(method)lazygui/panels/base.py:48def backend(self)-- The currently connected backend instance.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, lazygui/services/models.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
CampaignPanel.__init__(method)lazygui/panels/campaign_panel.py:31def __init__(self, constants, backend, parent)-- Build the campaign list UI. -
CampaignPanel.campaign_count(method)lazygui/panels/campaign_panel.py:133def campaign_count(self)-- Return the number of active campaigns.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
CredentialsPanel.__init__(method)lazygui/panels/credentials_panel.py:30def __init__(self, constants, backend, parent)
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
CVEPanel.__init__(method)lazygui/panels/cve_panel.py:31def __init__(self, constants, backend, parent)-- Build the CVE list UI with severity filter. -
CVEPanel.cve_count(method)lazygui/panels/cve_panel.py:178def cve_count(self)-- Return the number of loaded CVEs.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, lazygui/services/event_log.py, lazygui/services/models.py, lazygui/widgets/event_log_view.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
EventLogPanel.__init__(method)lazygui/panels/event_log_panel.py:27def __init__(self, constants, backend, event_log, parent)-- Compose the toolbar (level filter + clear) and the log view.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, lazygui/services/models.py, lazygui/widgets/graph_view.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
GraphPanel.__init__(method)lazygui/panels/graph_panel.py:23def __init__(self, constants, backend, parent)-- Build the graph view and connect to backend topology updates. -
GraphPanel.graph_view(method)lazygui/panels/graph_panel.py:118def graph_view(self)-- Return the underlying graph view for layout management.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
HistoryPanel.__init__(method)lazygui/panels/history_panel.py:33def __init__(self, constants, backend, parent)-- Build the history viewer UI.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, modules/killchain.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
KillChainPanel.__init__(method)lazygui/panels/killchain_panel.py:38def __init__(self, constants, backend, parent)
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, lazygui/services/models.py, lazygui/widgets/filter_bar.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
ListenersPanel.__init__(method)lazygui/panels/listeners_panel.py:24def __init__(self, constants, backend, parent)-- Build the layout and subscribe to backend listener updates.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
MarketplacePanel.__init__(method)lazygui/panels/marketplace_panel.py:32def __init__(self, constants, backend, parent)-- Build the tabbed marketplace UI.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/panels/campaign_panel.py, lazygui/panels/credentials_panel.py, lazygui/panels/cve_panel.py, lazygui/panels/event_log_panel.py, lazygui/panels/graph_panel.py, lazygui/panels/history_panel.py, lazygui/panels/killchain_panel.py, lazygui/panels/listeners_panel.py, lazygui/panels/marketplace_panel.py, lazygui/panels/sessions_panel.py, lazygui/panels/terminal_panel.py, lazygui/services/backend.py, lazygui/services/event_log.py
Imported by: lazygui/panels/__init__.py, lazygui/windows/main_window.py
-
PanelRegistry.build(method)lazygui/panels/registry.py:53def build(cls, constants, backend, event_log, parent)-- Construct every dock panel and return them as a registry. -
PanelRegistry.all_panels(method)lazygui/panels/registry.py:83def all_panels(self)-- Return panels in canonical layout order. -
PanelRegistry.by_identifier(method)lazygui/panels/registry.py:99def by_identifier(self, identifier)-- Look up a panel by its stable identifier.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, lazygui/services/models.py, lazygui/widgets/filter_bar.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
SessionsPanel.__init__(method)lazygui/panels/sessions_panel.py:45def __init__(self, constants, backend, parent)-- Build the layout and subscribe to backend session updates.
Depends on: lazygui/config/constants.py, lazygui/panels/base.py, lazygui/services/backend.py, lazygui/widgets/terminal_view.py
Imported by: lazygui/panels/__init__.py, lazygui/panels/registry.py
-
TerminalPanel.__init__(method)lazygui/panels/terminal_panel.py:25def __init__(self, constants, backend, parent)-- Compose the terminal view, session selector and command bar. -
TerminalPanel.focus_terminal(method)lazygui/panels/terminal_panel.py:78def focus_terminal(self)-- Move keyboard focus into the terminal text area. -
TerminalPanel.set_target_session(method)lazygui/panels/terminal_panel.py:82def set_target_session(self, session_id)-- Select a specific beacon in the dropdown.
Depends on: cli/commands/enum.py, lazygui/services/models.py
Imported by: lazygui/app.py, lazygui/panels/base.py, lazygui/panels/campaign_panel.py, lazygui/panels/credentials_panel.py, lazygui/panels/cve_panel.py, lazygui/panels/event_log_panel.py, lazygui/panels/graph_panel.py, lazygui/panels/history_panel.py, lazygui/panels/killchain_panel.py, lazygui/panels/listeners_panel.py, lazygui/panels/marketplace_panel.py, lazygui/panels/registry.py, lazygui/panels/sessions_panel.py, lazygui/panels/terminal_panel.py, lazygui/services/__init__.py, lazygui/services/factory.py, lazygui/services/local_backend.py, lazygui/services/teamserver_backend.py, lazygui/widgets/beacon_command_modal.py, lazygui/widgets/status_badge.py, lazygui/windows/main_window.py, tests/test_lazygui_backend.py
-
Backend.__init__(method)lazygui/services/backend.py:81def __init__(self, descriptor, parent)-- Store the descriptor that uniquely identifies this backend. -
Backend.descriptor(method)lazygui/services/backend.py:88def descriptor(self)-- Read-only identification for connection dialogs. -
Backend.status(method)lazygui/services/backend.py:93def status(self)-- Current connection lifecycle state. -
Backend.start(method)lazygui/services/backend.py:104def start(self)-- Establish whatever underlying transport this backend uses. -
Backend.stop(method)lazygui/services/backend.py:108def stop(self)-- Tear the underlying transport down cleanly. -
Backend.send_command(method)lazygui/services/backend.py:112def send_command(self, command, target_session)-- Submitcommand, optionally scoped totarget_session. -
Backend.refresh(method)lazygui/services/backend.py:116def refresh(self)-- Force a re-fetch of sessions, listeners and operator info. -
Backend.resize_terminal(method)lazygui/services/backend.py:120def resize_terminal(self, columns, rows)-- Inform the backend the terminal area was resized. -
Backend.feed_terminal_input(method)lazygui/services/backend.py:124def feed_terminal_input(self, data)-- Feed raw keystrokes typed by the operator into the terminal. -
Backend.known_sessions(method)lazygui/services/backend.py:128def known_sessions(self)-- Return the most recent snapshot of sessions, neverNone. -
Backend.known_listeners(method)lazygui/services/backend.py:132def known_listeners(self)-- Return the most recent snapshot of listeners, neverNone. -
Backend.known_topology(method)lazygui/services/backend.py:136def known_topology(self)-- Return the most recent graph topology. -
Backend.known_campaigns(method)lazygui/services/backend.py:140def known_campaigns(self)-- Return the most recent snapshot of campaigns. -
Backend.request_world_model(method)lazygui/services/backend.py:144def request_world_model(self)-- Request the current world model state as a dict. -
Backend.request_beacon_history(method)lazygui/services/backend.py:158def request_beacon_history(self, client_id)-- Return the persistent command/result history for a beacon. -
Backend.request_session_state(method)lazygui/services/backend.py:172def request_session_state(self)-- Request the current session state (creds, hashes, loot) as a dict.
Depends on: lazygui/config/constants.py, lazygui/services/models.py
Imported by: lazygui/app.py, lazygui/panels/event_log_panel.py, lazygui/panels/registry.py, lazygui/services/__init__.py, lazygui/widgets/event_log_view.py, lazygui/windows/main_window.py
-
EventLog.__init__(method)lazygui/services/event_log.py:26def __init__(self, constants, parent)-- Initialise the buffer usingconstants.event_log.max_records. -
EventLog.capacity(method)lazygui/services/event_log.py:33def capacity(self)-- Maximum number of records retained before the oldest is dropped. -
EventLog.append(method)lazygui/services/event_log.py:37def append(self, record)-- Appendrecordand emitrecord_appended. -
EventLog.extend(method)lazygui/services/event_log.py:42def extend(self, records)-- Append every entry inrecordsin iteration order. -
EventLog.clear(method)lazygui/services/event_log.py:47def clear(self)-- Drop all stored records and emitcleared. -
EventLog.snapshot(method)lazygui/services/event_log.py:52def snapshot(self, minimum_level)-- Return a defensive tuple, optionally filtered byminimum_level.
Depends on: lazygui/config/constants.py, lazygui/config/paths.py, lazygui/services/backend.py, lazygui/services/local_backend.py, lazygui/services/models.py, lazygui/services/teamserver_backend.py
Imported by: lazygui/app.py, lazygui/services/__init__.py, static/js/html2pdf.bundle.min.js
-
BackendFactory.create_local(method)lazygui/services/factory.py:30def create_local(self, parent)-- Construct a local PTY-based backend. -
BackendFactory.create_teamserver(method)lazygui/services/factory.py:34def create_teamserver(self, credentials, parent)-- Construct a teamserver-based backend with the given credentials. -
BackendFactory.create(method)lazygui/services/factory.py:42def create(self, kind, parent, credentials)-- Convenience dispatch by :class:BackendKind.
Depends on: core/logging.py, lazygui/config/constants.py, lazygui/config/paths.py, lazygui/services/backend.py, lazygui/services/models.py
Imported by: lazygui/services/__init__.py, lazygui/services/factory.py
-
LocalPtyBackend.__init__(method)lazygui/services/local_backend.py:38def __init__(self, constants, paths, parent)-- Initialise the backend with the shared constants and paths. -
LocalPtyBackend.start(method)lazygui/services/local_backend.py:62def start(self)-- Fork-exec the cmd2 console behind a PTY. -
LocalPtyBackend.stop(method)lazygui/services/local_backend.py:87def stop(self)-- SendSIGTERMto the child and tear down notifiers. -
LocalPtyBackend.send_command(method)lazygui/services/local_backend.py:112def send_command(self, command, target_session)-- Writecommandfollowed by a newline to the PTY. -
LocalPtyBackend.refresh(method)lazygui/services/local_backend.py:117def refresh(self)-- No-op for the local backend; the operator drives data from cmd2. -
LocalPtyBackend.resize_terminal(method)lazygui/services/local_backend.py:121def resize_terminal(self, columns, rows)-- Propagate the new size to the PTY usingTIOCSWINSZ. -
LocalPtyBackend.feed_terminal_input(method)lazygui/services/local_backend.py:127def feed_terminal_input(self, data)-- Encodedataand write it to the master end of the PTY. -
LocalPtyBackend.known_sessions(method)lazygui/services/local_backend.py:137def known_sessions(self)-- Local backend does not enumerate sessions. -
LocalPtyBackend.known_listeners(method)lazygui/services/local_backend.py:141def known_listeners(self)-- Local backend does not enumerate listeners. -
LocalPtyBackend.announce_local_operator(method)lazygui/services/local_backend.py:249def announce_local_operator(self)-- Emit a synthetic :class:Operatordescribing the local user.
Depends on: cli/commands/enum.py
Imported by: lazygui/app.py, lazygui/panels/campaign_panel.py, lazygui/panels/event_log_panel.py, lazygui/panels/graph_panel.py, lazygui/panels/listeners_panel.py, lazygui/panels/sessions_panel.py, lazygui/services/__init__.py, lazygui/services/backend.py, lazygui/services/event_log.py, lazygui/services/factory.py, lazygui/services/local_backend.py, lazygui/services/teamserver_backend.py, lazygui/widgets/beacon_command_modal.py, lazygui/widgets/event_log_view.py, lazygui/widgets/graph_view.py, lazygui/windows/connect_dialog.py, lazygui/windows/main_window.py, tests/test_lazygui_backend.py, tests/test_lazygui_graph_widget.py, tests/test_lazygui_models.py
-
EventLevel.numeric(method)lazygui/services/models.py:34def numeric(self)-- Numeric rank used to compare severity. -
EventRecord.now(method)lazygui/services/models.py:96def now(cls, level, source, message)-- Construct a record stamped with the current UTC time. -
Topology.empty(method)lazygui/services/models.py:133def empty(cls)-- Return an empty topology.
Depends on: core/logging.py, lazyc2/blueprints/auth.py, lazygui/config/constants.py, lazygui/services/backend.py, lazygui/services/models.py
Imported by: lazygui/app.py, lazygui/services/__init__.py, lazygui/services/factory.py, lazygui/windows/connect_dialog.py, tests/test_lazygui_backend.py
-
TeamserverBackend.__init__(method)lazygui/services/teamserver_backend.py:51def __init__(self, constants, credentials, parent)-- Storecredentialsand prepare polling timers and Socket.IO client. -
TeamserverBackend.start(method)lazygui/services/teamserver_backend.py:80def start(self)-- Begin polling and establish Socket.IO connection. -
TeamserverBackend.stop(method)lazygui/services/teamserver_backend.py:97def stop(self)-- Tear down all timers and Socket.IO connection. -
TeamserverBackend.send_command(method)lazygui/services/teamserver_backend.py:112def send_command(self, command, target_session)-- Submitcommandvia Socket.IO PTY (global) or/issue_command(beacon). -
TeamserverBackend.refresh(method)lazygui/services/teamserver_backend.py:124def refresh(self)-- Pull consolidated state JSON and emit derived signals. -
TeamserverBackend.resize_terminal(method)lazygui/services/teamserver_backend.py:139def resize_terminal(self, columns, rows)-- Forward resize to Socket.IO PTY namespace when connected. -
TeamserverBackend.feed_terminal_input(method)lazygui/services/teamserver_backend.py:151def feed_terminal_input(self, data)-- Feed keystrokes to the PTY via Socket.IO, falling back to HTTP commands. -
TeamserverBackend.known_sessions(method)lazygui/services/teamserver_backend.py:169def known_sessions(self)-- Most recent snapshot delivered by the last poll. -
TeamserverBackend.known_listeners(method)lazygui/services/teamserver_backend.py:173def known_listeners(self)-- Most recent snapshot delivered by the last poll. -
TeamserverBackend.known_topology(method)lazygui/services/teamserver_backend.py:177def known_topology(self)-- Most recent graph topology snapshot. -
TeamserverBackend.known_campaigns(method)lazygui/services/teamserver_backend.py:181def known_campaigns(self)-- Most recent campaign snapshot. -
TeamserverBackend.request_beacon_results(method)lazygui/services/teamserver_backend.py:185def request_beacon_results(self, client_id)-- Fetch stored command results for a specific beacon. -
TeamserverBackend.request_world_model(method)lazygui/services/teamserver_backend.py:210def request_world_model(self)-- Fetch the unified kill-chain snapshot from the teamserver REST API. -
TeamserverBackend.request_beacon_history(method)lazygui/services/teamserver_backend.py:224def request_beacon_history(self, client_id)-- Fetch the persistent ordered command/result history for a beacon.
Depends on: core/logging.py, lazygui/config/constants.py, lazygui/config/settings.py, lazygui/theme/palettes/__init__.py, lazygui/theme/qss_builder.py, lazygui/theme/tokens.py
Imported by: lazygui/app.py, lazygui/theme/__init__.py, lazygui/windows/main_window.py
-
ThemeManager.__init__(method)lazygui/theme/manager.py:31def __init__(self, constants, settings, application, palettes, parent)-- Initialise the manager. -
ThemeManager.active_tokens(method)lazygui/theme/manager.py:57def active_tokens(self)-- Currently active :class:ThemeTokens. -
ThemeManager.active_id(method)lazygui/theme/manager.py:64def active_id(self)-- Identifier of the active palette. -
ThemeManager.available(method)lazygui/theme/manager.py:68def available(self)-- Yield all registered palettes in registration order. -
ThemeManager.apply_initial(method)lazygui/theme/manager.py:72def apply_initial(self)-- Load the saved theme identifier and apply it. -
ThemeManager.apply(method)lazygui/theme/manager.py:80def apply(self, identifier)-- Activate the palette withidentifierand persist the choice. -
ThemeManager.cycle(method)lazygui/theme/manager.py:93def cycle(self)-- Switch to the next palette, wrapping at the end of the registry.
Depends on: lazygui/theme/tokens.py
Imported by: lazygui/theme/manager.py
-
builtin_palettes(function)lazygui/theme/palettes/__init__.py:23def builtin_palettes()-- Return the built-in palette registry asid -> tokens.
Depends on: lazygui/config/constants.py, lazygui/theme/tokens.py
Imported by: lazygui/theme/__init__.py, lazygui/theme/manager.py
-
QssBuilder.build(method)lazygui/theme/qss_builder.py:21def build(self, tokens)-- Return the full QSS sheet fortokens.
Depends on: lazygui/services/backend.py, lazygui/services/models.py
Imported by: lazygui/windows/main_window.py
-
BeaconCommandModal.__init__(method)lazygui/widgets/beacon_command_modal.py:53def __init__(self, backend, parent)-- Initialise the modal with a backend reference. -
BeaconCommandModal.open(method)lazygui/widgets/beacon_command_modal.py:216def open(self)-- Populate sessions before showing. -
BeaconCommandModal.focus_input(method)lazygui/widgets/beacon_command_modal.py:227def focus_input(self)-- Move keyboard focus to the command input.
Depends on: lazygui/config/constants.py
Imported by: lazygui/widgets/__init__.py, lazygui/windows/command_palette_window.py, lazygui/windows/main_window.py
-
CommandPaletteList.__init__(method)lazygui/widgets/command_palette_list.py:33def __init__(self, constants, actions, parent)-- Store the action set and prepare the underlying model. -
CommandPaletteList.set_actions(method)lazygui/widgets/command_palette_list.py:53def set_actions(self, actions)-- Replace the entire action registry and reset the filter. -
CommandPaletteList.apply_filter(method)lazygui/widgets/command_palette_list.py:58def apply_filter(self, query)-- Filter the action set using a substring + token-order heuristic. -
CommandPaletteList.invoke_current(method)lazygui/widgets/command_palette_list.py:76def invoke_current(self)-- Invoke whichever action is currently highlighted, if any.
Depends on: lazygui/config/constants.py, lazygui/services/event_log.py, lazygui/services/models.py
Imported by: lazygui/panels/event_log_panel.py, lazygui/widgets/__init__.py
-
EventLogView.__init__(method)lazygui/widgets/event_log_view.py:23def __init__(self, constants, event_log, parent)-- Bind the view toevent_logand configure columns/headers. -
EventLogView.set_minimum_level(method)lazygui/widgets/event_log_view.py:51def set_minimum_level(self, level)-- Filter view to records of severity >=leveland reload. -
EventLogView.minimum_level(method)lazygui/widgets/event_log_view.py:61def minimum_level(self)-- Currently active severity filter.
Depends on: lazygui/config/constants.py
Imported by: lazygui/panels/listeners_panel.py, lazygui/panels/sessions_panel.py, lazygui/widgets/__init__.py
-
FilterBar.__init__(method)lazygui/widgets/filter_bar.py:16def __init__(self, constants, placeholder_text, label_text, parent)-- Lay out a label + line edit and wire up debounce timing. -
FilterBar.text(method)lazygui/widgets/filter_bar.py:42def text(self)-- Current filter text. -
FilterBar.clear(method)lazygui/widgets/filter_bar.py:46def clear(self)-- Reset the filter to an empty string.
Depends on: lazygui/config/constants.py, lazygui/services/models.py
Imported by: lazygui/panels/graph_panel.py, lazygui/widgets/__init__.py, tests/test_lazygui_graph_widget.py
-
GraphNodeItem.__init__(method)lazygui/widgets/graph_view.py:143def __init__(self, node, radius, color, pixmap, on_selected, on_context_menu, label_visible, parent) -
GraphNodeItem.node_data(method)lazygui/widgets/graph_view.py:186def node_data(self)-- Return the immutable node data associated with this item. -
GraphNodeItem.paint(method)lazygui/widgets/graph_view.py:190def paint(self, painter, option, widget) -
GraphNodeItem.mousePressEvent(method)lazygui/widgets/graph_view.py:248def mousePressEvent(self, event) -
GraphNodeItem.mouseReleaseEvent(method)lazygui/widgets/graph_view.py:259def mouseReleaseEvent(self, event) -
GraphNodeItem.hoverEnterEvent(method)lazygui/widgets/graph_view.py:266def hoverEnterEvent(self, event) -
GraphNodeItem.hoverLeaveEvent(method)lazygui/widgets/graph_view.py:273def hoverLeaveEvent(self, event) -
GraphNodeItem.itemChange(method)lazygui/widgets/graph_view.py:279def itemChange(self, change, value) -
GraphEdgeItem.__init__(method)lazygui/widgets/graph_view.py:288def __init__(self, edge, source_item, target_item, parent) -
GraphEdgeItem.update_position(method)lazygui/widgets/graph_view.py:324def update_position(self)-- Recalculate the line endpoints from source and target positions. -
GraphEdgeItem.edge_data(method)lazygui/widgets/graph_view.py:329def edge_data(self)-- Return the immutable edge data. -
GraphScene.__init__(method)lazygui/widgets/graph_view.py:340def __init__(self, constants, parent) -
GraphScene.set_topology(method)lazygui/widgets/graph_view.py:349def set_topology(self, topology)-- Replace the current graph with a new topology using force layout. -
GraphScene.step_physics(method)lazygui/widgets/graph_view.py:419def step_physics(self)-- Run one iteration of force-directed layout. -
GraphScene.selected_node_id(method)lazygui/widgets/graph_view.py:491def selected_node_id(self)-- Return the identifier of the first selected node, or None. -
GraphView.__init__(method)lazygui/widgets/graph_view.py:509def __init__(self, constants, parent) -
GraphView.set_theme_colors(method)lazygui/widgets/graph_view.py:527def set_theme_colors(self, bg_color, edge_color)-- Update graph background and default edge colour from theme tokens. -
GraphView.set_topology(method)lazygui/widgets/graph_view.py:535def set_topology(self, topology)-- Render a new graph topology. -
GraphView.wheelEvent(method)lazygui/widgets/graph_view.py:551def wheelEvent(self, event) -
GraphView.selected_node_id(method)lazygui/widgets/graph_view.py:561def selected_node_id(self)-- Return the identifier of the currently selected node. -
GraphView.fit_to_content(method)lazygui/widgets/graph_view.py:565def fit_to_content(self)-- Zoom to fit all graph content. -
GraphView.scene_handle(method)lazygui/widgets/graph_view.py:570def scene_handle(self)-- Return the underlying graph scene.
Next: API_p9.md
Generated offline by readmenator from commit 991299a4aff0. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_modules_autonomous_daemon
- community_10_skills_claude_md_orchestrator
- community_11_modules_surface_graph
- community_12_skills_hermes_lazyown
- community_13_modules_kerberos_core
- community_14_modules_saas_attacks
- community_15_modules_polymorphic_engine
- community_16_contrib_legacy
- community_17_tests
- community_18_scripts_journal
- community_19_modules_backdoor
- community_1_cli_commands_utils
- community_20_poc_tui
- community_21_scripts_check_contract_manifest
- community_22_scripts_migrate_lazyown
- community_23_tools
- community_24_orphans
- community_2_modules_lazy_loop
- community_3_cli
- community_4_modules_lazyc2
- community_5_lazygui_panels
- community_6_static_js
- community_7_modules_lazyown_facts
- community_8_cli_commands_c2_profile_engine
- community_9_core
- 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_p24
- 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
- ARCHITECTURE_p8
- 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_p16
- 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_p18
- KB_tests_p19
- 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_p43
- SYMBOLS_p44
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes