Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the GUI an optional feature? #151

Closed
obilodeau opened this issue Sep 24, 2019 · 5 comments · Fixed by #190
Closed

Make the GUI an optional feature? #151

obilodeau opened this issue Sep 24, 2019 · 5 comments · Fixed by #190
Assignees

Comments

@obilodeau
Copy link
Collaborator

Due to #150 issue (QT 5 no longer provides binaries for x86 32-bit) PyRDP doesn't work on 32-bit OS.

However, it would be possible to specify the GUI as an optional feature using Python's extra_requires section in setup.py: https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies. Also, we could specify which console entrypoint requires the optional dependency (spoiler, it's pyrdp-player.py).

This would make PyRDP's pyrdp-mitm.py work in headless environments and 32-bit environments in one go. We could also get rid of the DBus dependency and its related issues.

If we implement it, we should remember to:

  • get rid of dbus-python and notify2 alongside with PySide2
  • adjust README to pull in optional dependency by default but explain the alternative
  • revert 0794b5e

Instead of doing the work I opened an issue because I would like to know if people think the headless option is valuable. I won't do it if no one is to use it.

@Res260
Copy link
Collaborator

Res260 commented Sep 24, 2019

For the honeypot use case, the player and the mitm are usually separated, so I think it would make sense. #150 is not the first issue with this problem.

@robeving
Copy link
Contributor

robeving commented Oct 2, 2019

I'd also like to run pyrdp-player.py without a GUI so that it just produces a log file result

@Res260
Copy link
Collaborator

Res260 commented Oct 2, 2019

@robeving What kind of log are you interested in?

@robeving
Copy link
Contributor

robeving commented Oct 2, 2019

At the moment I'm converting from an existing PCAP so I don't get any display updates. But creds, keylogs, clipboard and files is what i'm interested in.

@obilodeau
Copy link
Collaborator Author

@robeving, I created a ticket to track your good suggestion: #163

Back to the issue at hand, I just wanted to document that PySide2 pulls in 449MB in our docker image:

pyside2-size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants