Agent KB_widgets - grisuno/LazyOwn GitHub Wiki
Subsystem: widgets
lazygui/widgets/init.py
lazygui/widgets/beacon_command_modal.py
- Doc: Beacon command modal — send commands to beacons and inspect full history.
- Layer: presentation
- Language: py
- Symbols:
_HistoryEntry (class, line 35) class _HistoryEntry
BeaconCommandModal (class, line 44) class BeaconCommandModal(QDialog)
__init__ (method, line 53) def __init__(self, backend, parent)
_build_ui (method, line 75) def _build_ui(self)
_selected_target (method, line 122) def _selected_target(self)
_on_target_changed (method, line 127) def _on_target_changed(self, _text)
_reload_history (method, line 131) def _reload_history(self)
_on_sessions_changed (method, line 168) def _on_sessions_changed(self, sessions)
_send_command (method, line 182) def _send_command(self)
_on_history_clicked (method, line 196) def _on_history_clicked(self, item)
_last_entry (method, line 201) def _last_entry(self, index)
_on_beacon_result (method, line 209) def _on_beacon_result(self, result)
open (method, line 216) def open(self)
focus_input (method, line 227) def focus_input(self)
- Depends on:
lazygui/services/backend.py, lazygui/services/models.py
- Imported by:
lazygui/windows/main_window.py
lazygui/widgets/command_palette_list.py
- Doc: Result list and action model for the command palette.
- Layer: presentation
- Language: py
- Symbols:
CommandPaletteAction (class, line 16) class CommandPaletteAction
CommandPaletteList (class, line 28) class CommandPaletteList(QListView)
_fuzzy_score (function, line 99) def _fuzzy_score(query, title, subtitle)
_token_order_score (function, line 114) def _token_order_score(query, haystack, base_offset)
__init__ (method, line 33) def __init__(self, constants, actions, parent)
set_actions (method, line 53) def set_actions(self, actions)
apply_filter (method, line 58) def apply_filter(self, query)
invoke_current (method, line 76) def invoke_current(self)
_on_activated (method, line 85) def _on_activated(self, _index)
_populate (method, line 89) def _populate(self, actions)
- Depends on:
lazygui/config/constants.py
- Imported by:
lazygui/widgets/__init__.py, lazygui/windows/command_palette_window.py, lazygui/windows/main_window.py
lazygui/widgets/event_log_view.py
- Doc: Read-only viewer for :class:
EventLog records.
- Layer: presentation
- Language: py
- Symbols:
EventLogView (class, line 20) class EventLogView(QTreeWidget)
__init__ (method, line 23) def __init__(self, constants, event_log, parent)
set_minimum_level (method, line 51) def set_minimum_level(self, level)
minimum_level (method, line 61) def minimum_level(self)
_on_record_appended (method, line 65) def _on_record_appended(self, record)
_append_record (method, line 71) def _append_record(self, record)
- 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
lazygui/widgets/filter_bar.py
- Doc: Reusable text-filter bar with debounced
filter_changed signal.
- Layer: presentation
- Language: py
- Symbols:
FilterBar (class, line 11) class FilterBar(QWidget)
__init__ (method, line 16) def __init__(self, constants, placeholder_text, label_text, parent)
text (method, line 42) def text(self)
clear (method, line 46) def clear(self)
_on_text_changed (method, line 50) def _on_text_changed(self, _value)
_emit_filter_changed (method, line 54) def _emit_filter_changed(self)
- Depends on:
lazygui/config/constants.py
- Imported by:
lazygui/panels/listeners_panel.py, lazygui/panels/sessions_panel.py, lazygui/widgets/__init__.py
lazygui/widgets/graph_view.py
- Doc: Interactive attack topography graph widget.
- Layer: presentation
- Language: py
- Symbols:
_resolve_icon_dir (function, line 47) def _resolve_icon_dir()
_load_icon (function, line 63) def _load_icon(name)
_icon_for_node (function, line 81) def _icon_for_node(node)
GraphNodeState (class, line 132) class GraphNodeState
GraphNodeItem (class, line 140) class GraphNodeItem(QGraphicsEllipseItem)
GraphEdgeItem (class, line 285) class GraphEdgeItem(QGraphicsLineItem)
GraphScene (class, line 334) class GraphScene(QGraphicsScene)
GraphView (class, line 499) class GraphView(QGraphicsView)
_resolve_node_color (function, line 575) def _resolve_node_color(node)
_resolve_node_radius (function, line 584) def _resolve_node_radius(node)
__init__ (method, line 143) def __init__(self, node, radius, color, pixmap, on_selected, on_context_menu, label_visible, parent)
_create_label (method, line 173) def _create_label(self)
node_data (method, line 186) def node_data(self)
paint (method, line 190) def paint(self, painter, option, widget)
mousePressEvent (method, line 248) def mousePressEvent(self, event)
mouseReleaseEvent (method, line 259) def mouseReleaseEvent(self, event)
hoverEnterEvent (method, line 266) def hoverEnterEvent(self, event)
hoverLeaveEvent (method, line 273) def hoverLeaveEvent(self, event)
itemChange (method, line 279) def itemChange(self, change, value)
__init__ (method, line 288) def __init__(self, edge, source_item, target_item, parent)
_update_position (method, line 313) def _update_position(self)
update_position (method, line 324) def update_position(self)
edge_data (method, line 329) def edge_data(self)
__init__ (method, line 340) def __init__(self, constants, parent)
set_topology (method, line 349) def set_topology(self, topology)
_add_node (method, line 369) def _add_node(self, node)
_add_edge (method, line 393) def _add_edge(self, edge)
_apply_force_layout (method, line 402) def _apply_force_layout(self)
step_physics (method, line 419) def step_physics(self)
selected_node_id (method, line 491) def selected_node_id(self)
__init__ (method, line 509) def __init__(self, constants, parent)
set_theme_colors (method, line 527) def set_theme_colors(self, bg_color, edge_color)
set_topology (method, line 535) def set_topology(self, topology)
_install_physics_timer (method, line 540) def _install_physics_timer(self)
_tick_physics (method, line 548) def _tick_physics(self)
wheelEvent (method, line 551) def wheelEvent(self, event)
selected_node_id (method, line 561) def selected_node_id(self)
fit_to_content (method, line 565) def fit_to_content(self)
scene_handle (method, line 570) def scene_handle(self)
_on_selected (function, line 374) def _on_selected(nid)
_on_context_menu (function, line 377) def _on_context_menu(nid, pos)
- 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
lazygui/widgets/status_badge.py
lazygui/widgets/terminal_view.py
- Doc: ANSI-aware terminal viewer.
- Layer: presentation
- Language: py
- Symbols:
TerminalView (class, line 33) class TerminalView(QPlainTextEdit)
__init__ (method, line 38) def __init__(self, constants, parent)
append_output (method, line 54) def append_output(self, text)
_sanitize (method, line 66) def _sanitize(raw)
keyPressEvent (method, line 75) def keyPressEvent(self, event)
_translate_key_event (method, line 85) def _translate_key_event(event)
- Depends on:
lazygui/config/constants.py
- Imported by:
lazygui/panels/terminal_panel.py, lazygui/widgets/__init__.py