Ejemplo n.º 1
0
    def __init__(self, log: Logger, layer: Layer,
                 innerObserver: RDPDataObserver, **kwargs):
        Observer.__init__(self, **kwargs)
        self.log = log
        self.layer = layer
        self.innerObserver = innerObserver
        self.peer = None

        self.setDataHandler = self.innerObserver.setDataHandler
        self.setDefaultDataHandler = self.innerObserver.setDefaultDataHandler
Ejemplo n.º 2
0
    def __init__(self, layer: Layer, recorder: Recorder, logger: Logger, **kwargs):
        Observer.__init__(self, **kwargs)

        self.clipboardParser = ClipboardParser()
        self.peer = None
        self.layer = layer
        self.recorder = recorder
        self.forwardNextDataResponse = True
        self.mitm_log = getLoggerPassFilters(f"{logger.name}.clipboard")
        self.clipboard_log = getLoggerPassFilters(f"{self.mitm_log.name}.data")
Ejemplo n.º 3
0
 def __init__(self, **kwargs):
     Observer.__init__(self, **kwargs)
Ejemplo n.º 4
0
 def __init__(self, layer, **kwargs):
     Observer.__init__(self, **kwargs)
     self.peer = None
     self.layer = layer