Java-based keylogger with Discord's webhook system features
This program, designed for educational purposes, provides insights into keyloggers' operations. Unauthorized use of keyloggers is illegal and unethical. This code is a learning tool, not for malicious use. Respect for privacy and legal and ethical standards is paramount.
Studying this keylogger can help developers understand keystroke logging, aiding in improving security measures and creating defenses. This knowledge should be used ethically to safeguard user privacy and system security.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Java 11 or greater.
- A not headless-mode system.
- Internet connection.
Clone the repository and build it with Maven
mvn clean install
A JAR and EXE will be generated and ready to use, using the configuration available in Config.java
.
When the victim starts the executable, his keystrokes will start to be recorded and processed by the program.
Keystrokes will be saved on a temporary file named "log.txt" and sent to a Discord channel.
Let's look at an example by using the Config class in the project:
You're able to set your private webhook URL, the profile picture and username used.
This parameters setted correctly will be reflected on the program working like this:
Note: bad data at Config.java
will result on the program not sending info to Discord.
No traces are left since the program also clears every possible generated file (WIP, it's supossed to :$).
- JNativeHook - Listening to keyboard thanks to this library
- Maven - Dependency management
- @pvtoari - Main developer
See also the list of contributors who participated in this project.
I want to thank k3kdude for providing a very good snippet that has allowed me to implement the webhook functionalities with Discord.
Anyway I modified it a little bit to my convenience.