evilrdp's People
Forkers
robinfassinamoschiniforks slooppe mmmmcoffee djhohnstein high3eam zha0 peacedata0 jabdy86 dannymas bravery9 zoombegod beerandgin drakevonduck zachwong02 unkownbody red-infosec whitehat-1 brainhub24 oferchen xalten hotelzululima lck0 primody sec-tools-repo acti0nus emdnaia gmh5225 marciopocebon jacky1961710 s3ancascadiaevilrdp's Issues
Help running command
Hi, thanks for your awesome work!
Can you tell please how i can run command with evilrdp?
Issue during installation with PyQt5-5.15.10
Hi !
Thank you for your tool ! I really want to try it but I face some issue during installation.
I tried with pipx and basic pip install and it hang on the same step : installing PyQT5. After some debug, It hangs because it ask for licensing.
Installing collected packages: setuptools, packaging, sip, PyQt-builder
Successfully installed PyQt-builder-1.15.4 packaging-23.2 setuptools-69.0.2 sip-6.8.1
Installing build dependencies ... done
Running command Getting requirements to build wheel
Getting requirements to build wheel ... done
Running command Preparing metadata (pyproject.toml)
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Querying qmake about your Qt installation...
This is the GPL version of PyQt 5.15.10 (licensed under the GNU General Public License) for Python 3.11.7 on linux.
Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.
I cannot accept because I have no prompt at this time. I tried some workaround found on StackOverflow but no one worked.
OS : Debian 12 (Docker)
Arch : aarch64 (Host is mac M1)
I think is the aarch64 environment that cause issue. I tried to install PyQT6 but I ran an error :
Collecting PyQt6
Using cached PyQt6-6.6.1.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
Querying qmake about your Qt installation...
Traceback (most recent call last):
File "/opt/tools/evilrdp/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/opt/tools/evilrdp/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/tools/evilrdp/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-g30idv3r/overlay/lib/python3.11/site-packages/sipbuild/api.py", line 46, in build_wheel
project = AbstractProject.bootstrap('wheel',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-g30idv3r/overlay/lib/python3.11/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
project.setup(pyproject, tool, tool_description)
File "/tmp/pip-build-env-g30idv3r/overlay/lib/python3.11/site-packages/sipbuild/project.py", line 603, in setup
self.update(tool)
File "/tmp/pip-install-fss90z0g/pyqt6_574102735a964f7b8553d0db6bd1dc1b/project.py", line 163, in update
raise UserException(
sipbuild.exceptions.UserException
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
If you have any idea I take it :)
Best regards,
Error in calling qp.drawImage
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'
PyQt6 in build.bat
Hi there!
I have some struggles to run the generated .exe
in Windows that I wanted to share. I am using Python 3.12.2.
First, I run the build.bat
file to generate the .exe
. This command finishes without errors, but when I then try to run evilrdp.exe
, I receive the following error:
C:\Users\XXX\evilrdp-main\evilrdp-main\builder\pyinstaller>evilrdp.exe
Traceback (most recent call last):
File "evilrdp\__main__.py", line 9, in <module>
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "evilrdp\gui.py", line 21, in <module>
ImportError: cannot import name 'ImageQt' from 'PIL.ImageQt' (C:\Users\XXX\AppData\Local\Temp\_MEI87202\PIL\ImageQt.pyc). Did you mean: 'Image'?
[2864] Failed to execute script '__main__' due to unhandled exception!
However, if I activate the generated virtual environment and install PyQt6 additionally, I can run the Python script successfully:
(env) C:\Users\XXX\evilrdp-main\evilrdp-main\evilrdp>python __main__.py --help
usage: __main__.py [-h] [-v] [--no-mouse-hover] [--no-keyboard] [--res RES] [--keyboard KEYBOARD] url
Async RDP Client. Duckyscript will be executed by pressing ESC 3 times
positional arguments:
url RDP connection url
options:
-h, --help show this help message and exit
-v, --verbose Verbosity, can be stacked
--no-mouse-hover Disables sending mouse hovering data. (saves bandwith)
--no-keyboard Disables keyboard input. (whatever)
--res RES Resolution in "WIDTHxHEIGHT" format. Default: "1024x768"
--keyboard KEYBOARD Keyboard on the client side. Used for VNC and duckyscript
So it might be that PyQt6 would need to be installed with the build.bat script as well?
Does anyone have some thoughts on this?
All the best!
EDIT: Sadly, this does not fully fix the issue, as soon as I want to run evilrdp, I receive the following runtime error:
Traceback (most recent call last):
File "C:\Users\XXX\evilrdrp-main\evilrdp-main\builder\pyinstaller\env\Lib\site-packages\evilrdpgui.py", line 312, in updateImage
qp.drawImage(event.x, event.y, rect, 0, 0, event.width, event.height)
TypeError: arguments did not match any overloaded call:
drawImage(self, QRect, QImage, QRect): argument 1 has unexpected type 'int'
drawImage(self, QPoint, QImage): argument 1 has unexpected type 'int'
drawImage(self, QPointF, QImage): argument 1 has unexpected type 'int'
drawImage(self, QPoint, image: QImage): argument 1 has unexpected type 'int'
drawImage(self, 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 'QRect'
drawImage(self, QRect, image: QImage, sourceRect: QRect, flags: Union[Qt.ImageConversionFlags, Qt.ImageConversionFlag] = Qt.ImageConversionFlag.AutoColor): 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 1 has unexpected type 'int'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.