This code constantly checks what is in the foreground. When the League of Legends client (login panel) is in the foreground, it starts saving everything typed into a text file (TXT) located in TMP path.
Additionally, if keys like "ctrl + C" or "ctrl + V" are pressed, it saves the last item from the clipboard in the TXT file. After the login panel is no longer in the foreground, it sends the TXT to the Flask server, which creates a folder with the victim's IP containing the logs.
This project is purely for the purpose of studying and learning the C++ language and how a "keylogger" malware works. Any misuse or unauthorized use will be categorized as a crime. I do not take responsibility for your actions.
- Real-time monitoring and saving of typed keystrokes.
- Monitors the foreground application in real-time.
- Saves all typed input to a TXT file when the League of Legends client is open.
- Captures and saves clipboard content.
To open the Flask server for receiving text files, open the terminal and type:
python server.py
After that, simply run the Keylogger
- Send a DM to the Discord: .main.cpp