Python - Keylogger does not work when launched through psexec

64 Views Asked by At

I cannot get a simple keylogger designed in python to work when launched through PSEXEC on a remote computer (I am authorized to use it). The original code can be found on https://www.thepythoncode.com/article/write-a-keylogger-python. I modified it a little bit to also show the name of window focused and also to write all the output to a single file.

The procedure I currently follow is:

  1. Copy compiled version of keylogger to the remote PC.
  2. Connect to it through PSEXEC and then launch the copied keylogger.
  3. The keylogger should give output in form of a .txt file after 30 seconds, but it does not.
  4. Also, it does not show in the launch processes.
0

There are 0 best solutions below