r/Batch • u/Miich64 • Mar 26 '20
Question (Solved) Keylogger batch script
Hi, i was wondering if it's possible to make a keylogger with a batch script. I don't want any code, i'm just curious if it's possible :)
4
Upvotes
r/Batch • u/Miich64 • Mar 26 '20
Hi, i was wondering if it's possible to make a keylogger with a batch script. I don't want any code, i'm just curious if it's possible :)
1
u/Lusankya Mar 29 '20
The pseudo-object IS the WSH instance. You just create the appropriate registry entries to register the instance itself as a COM object. The messages are coming directly from winapi into WSH with nothing in between.
It's called a pseudo-object because it's not a true COM object; it does not persist across instances. If you close your WSH instance, you need to re-register the new instance as a COM object for it to work.