Skip to content

This is a simple Python-based keylogger built for educational and ethical hacking purposes. It captures keystrokes system-wide on macOS, logs them to a local file, and optionally sends them to a Discord webhook in real time.

Notifications You must be signed in to change notification settings

Prithivi-001/keylogger.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Keylogger.py 🖥️🔑

Keylogger Version License

Description

Welcome to Keylogger.py, a simple yet powerful Python-based keylogger designed for educational and ethical hacking purposes. This tool captures keystrokes across macOS, logs them into a local file, and can optionally send real-time updates to a Discord webhook. It serves as a great learning tool for cybersecurity enthusiasts and professionals alike.

Note: Use this tool responsibly and only in environments where you have permission to do so.

Table of Contents

Features

  • Cross-Platform: Works seamlessly on macOS.
  • Real-Time Logging: Captures keystrokes and logs them instantly.
  • Discord Integration: Sends logs to a Discord webhook for real-time monitoring.
  • Lightweight: Minimal resource usage, making it efficient.
  • Educational Tool: Ideal for learning about keylogging and ethical hacking practices.

Installation

To get started, clone the repository to your local machine:

git clone https://github.com/Prithivi-001/keylogger.py.git
cd keylogger.py

Prerequisites

Ensure you have Python 3.x installed on your machine. You can download it from the official Python website.

Dependencies

Install the required packages using pip:

pip install -r requirements.txt

Usage

To run the keylogger, execute the following command:

python keylogger.py

The keylogger will start capturing keystrokes and logging them to a local file. If configured, it will also send logs to your specified Discord webhook.

Configuration

Before running the keylogger, you may want to configure a few settings:

  1. Set the Discord Webhook: Open the config.py file and add your Discord webhook URL.

    DISCORD_WEBHOOK_URL = "YOUR_DISCORD_WEBHOOK_URL"
  2. Log File Path: You can also change the path where logs are saved by modifying the LOG_FILE variable in config.py.

    LOG_FILE = "path/to/your/logfile.txt"
  3. Running in Background: To run the keylogger in the background, consider using a process manager or running it in a terminal session that can be detached.

Contributing

Contributions are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request. Here’s how you can contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes.
  4. Commit and push your changes.
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For any inquiries or feedback, feel free to reach out:

Releases

You can find the latest releases of Keylogger.py here. Download the latest version and execute it to get started.

Download

Topics

This project covers various topics in the field of cybersecurity and ethical hacking, including:

  • Cybersecurity
  • Discord Webhook Integration
  • Ethical Hacking Techniques
  • Information Security (Infosec)
  • Keylogging Practices
  • macOS Development
  • Malware Analysis
  • Offensive Security Projects
  • Python Programming
  • Red Teaming
  • Reverse Engineering
  • Surveillance Techniques

Acknowledgments

  • Thanks to the Python community for providing the libraries that make this project possible.
  • Special thanks to ethical hackers and cybersecurity professionals who continue to inspire and educate.

Additional Resources

For those interested in learning more about keyloggers and ethical hacking, here are some recommended resources:

  1. Books:

    • "The Web Application Hacker's Handbook" by Dafydd Stuttard and Marcus Pinto
    • "Metasploit: The Penetration Tester's Guide" by David Kennedy et al.
  2. Online Courses:

  3. Communities:

Final Thoughts

Keylogger.py is a great tool for learning and understanding the principles of keylogging and ethical hacking. Remember to always use it responsibly and ethically. Happy coding!

About

This is a simple Python-based keylogger built for educational and ethical hacking purposes. It captures keystrokes system-wide on macOS, logs them to a local file, and optionally sends them to a Discord webhook in real time.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages