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
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")
def __init__(self, **kwargs): Observer.__init__(self, **kwargs)
def __init__(self, layer, **kwargs): Observer.__init__(self, **kwargs) self.peer = None self.layer = layer