https://github.com/willcagas/python-keylogger
https://github.com/willcagas/python-keylogger
cybersecurity python
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/willcagas/python-keylogger
- Owner: willcagas
- Created: 2024-05-01T22:43:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T17:56:44.000Z (about 2 years ago)
- Last Synced: 2024-12-30T07:43:17.717Z (over 1 year ago)
- Topics: cybersecurity, python
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Keylogger
Note: This project was created for EDUCATIONAL PURPOSES only.
It demonstrates how keyloggers work, and explores various related concepts including system monitoring, data capture, and email reporting.
## Purpose
A keylogger is a surveillance software that can log each key that is pressed on a computer. My goal was to explore the world of cybersecurity and gain experience by creating a real-world, malicious software (malware) threat in a controlled environment. To achieve this, I created a functional keylogger program using Python that can track user keystrokes and send the logged data via email.
**DISCLAIMER:** The creator of this project does not endorse or condone any unauthorized or malicious use of keylogging technology. Users are encouraged to use this project responsibly, in compliance with applicable laws and ethical guidelines.
## Usage
For gmail security purposes, a gmail account must have Two-Factor Authentication enabled for use.
1. Find the 2FA settings of the gmail account.
2. Search for and create an "App Password."
3. Copy and paste the app password into the string for the **self.SENDER_PASS** variable.
4. Copy and paste the email address into the string for the **self.SENDER** variable.
## Features
- Keystroke logs with timestamps
- Geolocation data using external APIs (IP, ISP, City, Country, etc.)
- Screenshots using pyautogui
- Reports using .txt files (creates detailed reports while uses temporary directories)
- SMTP handling with Gmail, creating/sending emails and providing attachments