Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@pwnnown:/mnt/hgfs/gitrepos/rdpy/bin# ./rdpy-rdpscreenshot -o /tmp/fixed.jpg 192.168.63.134
- INFO : connected IPv4Address(TCP, '192.168.63.134', 3389)
- Unhandled Error
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in callWithLogger
- return callWithContext({"system": lp}, func, *args, **kw)
- File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 69, in callWithContext
- return context.call({ILogContext: newCtx}, func, *args, **kw)
- File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
- return self.currentContext().callWithContext(ctx, func, *args, **kw)
- File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
- return func(*args,**kw)
- --- <exception caught here> ---
- File "/usr/local/lib/python2.7/dist-packages/qtreactor/qt4base.py", line 100, in _read
- data = w.doRead()
- File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 199, in doRead
- rval = self.protocol.dataReceived(data)
- File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 413, in dataReceived
- self._flushReceiveBIO()
- File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 383, in _flushReceiveBIO
- ProtocolWrapper.dataReceived(self, bytes)
- File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py", line 118, in dataReceived
- self.wrappedProtocol.dataReceived(data)
- File "/usr/local/lib/python2.7/dist-packages/rdpy/network/layer.py", line 207, in dataReceived
- self.recv(expectedData)
- File "/usr/local/lib/python2.7/dist-packages/rdpy/protocol/rdp/tpkt.py", line 151, in readFastPath
- self._fastPathListener.recvFastPath(data)
- File "/usr/local/lib/python2.7/dist-packages/rdpy/protocol/rdp/pdu/layer.py", line 311, in recvFastPath
- self._listener.onUpdate(fastPathPDU.updateData.rectangles._array)
- File "/usr/local/lib/python2.7/dist-packages/rdpy/protocol/rdp/rdp.py", line 139, in onUpdate
- observer.onUpdate(rectangle.destLeft.value, rectangle.destTop.value, rectangle.destRight.value, rectangle.destBottom.value, rectangle.width.value, rectangle.height.value, rectangle.bitsPerPixel.value, rectangle.flags.value & pdu.data.BitmapFlag.BITMAP_COMPRESSION, rectangle.bitmapDataStream.value)
- File "./rdpy-rdpscreenshot", line 105, in onUpdate
- image = RDPBitmapToQtImage(destLeft, width, height, bitsPerPixel, isCompress, data);
- File "/usr/local/lib/python2.7/dist-packages/rdpy/ui/qt4.py", line 215, in RDPBitmapToQtImage
- image = QtGui.QImage(buf, width, height, QtGui.QImage.Format_RGB24)
- exceptions.AttributeError: type object 'QImage' has no attribute 'Format_RGB24'
- INFO : save screenshot into /tmp/fixed.jpg
- INFO : connection lost : [Failure instance: Traceback (failure with no frames): <type 'exceptions.AttributeError'>: type object 'QImage' has no attribute 'Format_RGB24'
- ]
- root@pwnnown:/mnt/hgfs/gitrepos/rdpy/bin# git branch
- * dev
- master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement