1.1.5.4. main

This module provides the main window used by the client application.

1.1.5.4.1. Classes

class MainAppWindow(config, application)[source]

Bases: ApplicationWindow

This is the top level King Phisher client window. This is also the parent window for most GTK objects.

__init__(config, application)[source]
Parameters
  • config (dict) – The main King Phisher client configuration.

  • application (KingPhisherClientApplication) – The application instance to which this window belongs.

config[source]

The main King Phisher client configuration.

export_campaign_visit_geojson()[source]

Export the current campaign visit information to a GeoJSON data file.

export_campaign_xlsx()[source]

Export the current campaign to an Excel compatible XLSX workbook.

export_campaign_xml()[source]

Export the current campaign to an XML data file.

notebook[source]

The primary Gtk.Notebook that holds the top level taps of the client GUI.

rpc[source]

The KingPhisherRPCClient instance.

class MainMenuBar(application, window)[source]

Bases: GladeGObject

The main menu bar for the primary application window. This configures any optional menu items as well as handles all the menu item signals appropriately.

__init__(application, window)[source]
Parameters

application (Gtk.Application) – The parent application for this object.

dependencies = <GladeDependencies name='MainMenuBar' >[source]

A GladeDependencies instance which defines information for loading the widget from the GTK builder data.

top_gobject = 'menubar'[source]

The name of the attribute to set a reference of the top level GObject to.