rdpy icon indicating copy to clipboard operation
rdpy copied to clipboard

waiting license packet

Open obeleh opened this issue 8 years ago • 0 comments

[*] INFO:   *******************************************
[*] INFO:   *          NLA Security selected          *
[*] INFO:   *******************************************
Unhandled Error
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 101, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 84, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "C:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 149, in _doReadOrWrite
    why = getattr(selectable, method)()
  File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 209, in doRead
    return self._dataReceived(data)
  File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 215, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "C:\Python27\lib\site-packages\twisted\protocols\tls.py", line 422, in dataReceived
    self._flushReceiveBIO()
  File "C:\Python27\lib\site-packages\twisted\protocols\tls.py", line 392, in _flushReceiveBIO
    ProtocolWrapper.dataReceived(self, bytes)
  File "C:\Python27\lib\site-packages\twisted\protocols\policies.py", line 120, in dataReceived
    self.wrappedProtocol.dataReceived(data)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\protocol\rdp\nla\cssp.py", line 289, in <lambda>
    self.dataReceived = lambda x: self.__class__.dataReceived(self, x)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\protocol\rdp\nla\cssp.py", line 208, in dataReceived
    self._layer.dataReceived(data)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\core\layer.py", line 209, in dataReceived
    self.recv(expectedData)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\protocol\rdp\tpkt.py", line 195, in readData
    self._presentation.recv(data)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\protocol\rdp\x224.py", line 148, in recvData
    self._presentation.recv(data)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\protocol\rdp\t125\mcs.py", line 243, in recvData
    self._channels[channelId].recv(data)
  File "C:\Users\sjuul\workspace\rdpy\rdpy\protocol\rdp\sec.py", line 636, in recvLicenceInfo
    raise InvalidExpectedDataException("waiting license packet")
rdpy.core.error.InvalidExpectedDataException: waiting license packet

I'm trying to set up an rdp proxy by modifying the mitm code not to log the data. However I get the error above if I try to connect to the proxy

obeleh avatar Jan 24 '16 15:01 obeleh