Am getting an error when i run the payload on the target
See original GitHub issuePlease 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Payload uploaded but error : "no session was created"
Confirm that your payload reached the target. Can you see the file? If the payload is in memory, you might not be able...
Read more >Working with Payloads | Metasploit Documentation
A staged payload means that your payload consists of two main components: a small stub loader and the final stage payload. When you...
Read more >Why is your Meterpreter session dying? Try these fixes..
When an error occurs such as when a meterpreter session dies, you can quickly get a diagnostic information by running the debug command...
Read more >Custom Payload Error (can't run on this PC) #10180 - GitHub
I started the Payload Handler in Metasploit (Note that I am not a Virtual Machine user, I have Kali 2018 as my Main...
Read more >Re: Problems executing file on target using uploadexec
... Payload => meterpreter reverse_https Im trying to execute a file on target, using uploadexec meterpreter script, and im getting the following error: ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, I identified the bug. Will solve it in the few coming days.
the target is an Ubuntu 20.04 server. below is a screenshot of the command how i compile it