A simple keylogger written in C++
Disclaimer: This project is made for knowledge and learning purpose. I am not responsible for any damage , information leakage caused by this project on your computer or you do it on someone else's.
- Download the BufferX source code
- Compile the source code with GCC or MSVC
- Run the executable either from your favourite code editor or command line
Once after running BufferX , open the Task Manager and you see a process running like this.
Having BufferX running on a system , you will see a .log file in the directory where the BufferX.exe is located. This file will contain the keystrokes you type.
This file will store all the keystrokes you have made previously.
Think of a situation when you need to get all the received keystrokes by a user from a Windows system everytime the system runs. You can do this by using BufferX. All you have to do is:-
- Navigate to
C:\Windows\System32
and create a folder namedRecords
. You can also create thisRecords
wherever you want , but make sure it can't be found easily. - Put the
BufferX.exe
file in theRecords
folder. - Create a shortcut of
BufferX.exe
. - Press
Win+R
, typeshell:startup
and hitEnter
. - Paste the shortcut inside the newly opened file explorer window.
This will run BufferX everytime the system starts and the CapturedData.log
file will capture every keystrokes user makes.