Creating a Simple Keylogger using PowerShell [Download]

0

We all know that PowerShell is a powerful scripting tool on Windows but this little sample of creating a simple keylogger program purely from PowerShell is definitely taking the power to a different level. Credit goes to PowerShell.com for making this happen.

See the code below for your reference but you can also skip to the bottom to download the source code and run it to see how it works as well. Basically, by engaging the Windows low-level API functions, this script constantly monitor the keyboard for keypresses and log these to a temporary file in your temporary folder and displays the content in Notepad when it’s done.

Windows PowerShell ISE - 2015-12-10 11_05_13

It’s quite fascinating seeing what PowerShell can do. Simply download the file from below and Run it with PowerShell from the context menu.

SHARE

LEAVE A REPLY

Please enter your comment!
Please enter your name here