Skip to content

Simple keylogger programmed in Java, for educational purposes

License

Notifications You must be signed in to change notification settings

pvtoari/java_keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

Java Keylogger

Status GitHub Issues GitHub Pull Requests License


Java-based keylogger with Discord's webhook system features

📝 Table of Contents

🧐 About

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.

🏁 Getting Started

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.

Prerequisites

  • Java 11 or greater.
  • A not headless-mode system.
  • Internet connection.

Installing

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.

🎈 Usage

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 :$).

⛏️ Built Using

  • JNativeHook - Listening to keyboard thanks to this library
  • Maven - Dependency management

✍️ Authors

See also the list of contributors who participated in this project.

🎉 Acknowledgements

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.

About

Simple keylogger programmed in Java, for educational purposes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages