evilrdp icon indicating copy to clipboard operation
evilrdp copied to clipboard

Error in calling qp.drawImage

Open virusvfv opened this issue 1 year ago • 4 comments

Some strange error in Kali 2023.3 python 3.11 aadrwolf 0.2.7 PyQt5 5.15.10 PyQt5-Qt5 5.15.2

evilrdp -v rdp+ntlm-password://Administrator:[email protected]

# evilrdp 0.0.1 
# Author: Tamas Jos @skelsec ([email protected])

$ Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/evilrdp-0.0.1-py3.11.egg/evilrdp/gui.py", line 309, in updateImage
    qp.drawImage(event.x, event.y, event.image, 0, 0, event.width, event.height)
TypeError: arguments did not match any overloaded call:
  drawImage(self, r: QRectF, image: QImage): argument 1 has unexpected type 'int'
  drawImage(self, r: QRect, image: QImage): argument 1 has unexpected type 'int'
  drawImage(self, p: Union[QPointF, QPoint], image: QImage): argument 1 has unexpected type 'int'
  drawImage(self, p: QPoint, image: QImage): argument 1 has unexpected type 'int'
  drawImage(self, x: int, y: int, image: QImage, sx: int = 0, sy: int = 0, sw: int = -1, sh: int = -1, flags: Union[Qt.ImageConversionFlags, Qt.ImageConversionFlag] = Qt.ImageConversionFlag.AutoColor): argument 3 has unexpected type 'ImageQt'

virusvfv avatar Dec 09 '23 15:12 virusvfv