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

Am getting an error when i run the payload on the target #11

Open
ghost opened this issue Nov 27, 2020 · 7 comments
Open

Am getting an error when i run the payload on the target #11

ghost opened this issue Nov 27, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Nov 27, 2020

Please help me out with the error, i am getting the following error msg. Is it a requirement to have a X server running at the target ?

Traceback (most recent call last):
  File "cl.py", line 17, in <module>
  File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "pynput/__init__.py", line 40, in <module>
  File "/usr/local/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "pynput/keyboard/__init__.py", line 31, in <module>
  File "pynput/_util/__init__.py", line 76, in backend
ImportError: this platform is not supported: No module named 'pynput.keyboard._xorg'

Try one of the following resolutions:

 * Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
[18557] Failed to execute script cl
@hash3liZer
Copy link
Owner

No, which platform are you running it on?

@ghost
Copy link
Author

ghost commented Nov 28, 2020

Linux (Ubuntu 20.04)

@hash3liZer
Copy link
Owner

Can you send me the command you used to compile the file? Also, are you executing on a server?

@ghost
Copy link
Author

ghost commented Nov 29, 2020

the target is an Ubuntu 20.04 server. below is a screenshot of the command how i compile it

2020-11-29_23-11

@hash3liZer hash3liZer added the bug Something isn't working label Nov 29, 2020
@hash3liZer
Copy link
Owner

Ok, I identified the bug. Will solve it in the few coming days.

@wenyurush
Copy link

how about the bug

@hash3liZer
Copy link
Owner

@wenyurush actually i didn't get the time to solve it. If you can do a PR, that would be really helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants