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 26 '20
Burden of proof is on you here. How could a Batch script capture keystrokes outside of its session? You need to hook into winapi for that, and pure Batch doesn't have any callback capabilities. The only solutions I can think of all require VBScript or some other handler to then execute your Batch, but I wouldn't call that a "Batch keylogger."