karthik558/CodeLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeLogger 2.0 Logo

GitHub licensePython 3.6+PRs WelcomeLast Updated

CodeLogger 2.0 is a comprehensive security monitoring tool that records keystrokes, captures screenshots, monitors clipboard activity, gathers system information, and sends reports via email. The tool uses advanced encryption to secure collected data.

⚠️DISCLAIMER: This tool is for educational and legitimate security testing purposes only. Unauthorized monitoring of computers or devices without consent is illegal in most jurisdictions. Always obtain proper authorization before deployment.

  • πŸ”‘ Keylogging: Records all keyboard input
  • πŸ“Έ Screenshot Capture: Periodically captures screen images
  • πŸ“‹ Clipboard Monitoring: Tracks clipboard content changes
  • πŸ–₯️ System Information: Collects hardware, network, and user details
  • πŸ“§ Email Reporting: Automatically sends collected data to specified email
  • πŸ”’ Encryption: Secures logged data with PBKDF2 and Fernet encryption
  • ⏱️ Scheduling: Configurable intervals for data collection and reporting
  • πŸ“Š HTML Reports: Creates beautiful HTML and text reports
  • πŸ§™β€β™‚οΈ Configuration Wizard: Easy setup with interactive prompts
  • πŸ’» Command Line Interface: Powerful CLI options for flexibility
Click to expand/collapse
  1. Prerequisites
  2. Installation
  3. Usage
  4. Folder Structure
  5. Precautions
  6. Contributing
  7. License
Required Software & Dependencies
  • Python 3.6 or higher
  • Required Python Packages (automatically installed via requirements.txt):
    • pynput - For keyboard monitoring
    • pillow - For screenshot capabilities
    • cryptography - For encryption functions
    • requests - For API communication
    • psutil - For system information collection
Step-by-Step Installation Guide
# Clone the repository
git clone https://.com/karthik558/CodeLogger.git

# Navigate to the project directory
cd CodeLogger

# Install dependencies
pip install -r requirements.txt

Note: For macOS users, you may need to grant additional permissions for the tool to function properly.

Command Line Options
# Run the main program
python CodeLogger.py

# Run with configuration wizard
python CodeLogger.py --config

# Generate a report without starting monitoring
python CodeLogger.py --report-only

# Check the status of CodeLogger services
python CodeLogger.py --status

# Decrypt a file encrypted by CodeLogger
python CodeLogger.py --decrypt path/to/encrypted_file

# Show version information
python CodeLogger.py --version
Running the Program
  1. Configure the tool using the configuration wizard:

    python CodeLogger.py --config
  2. Start monitoring:

    python CodeLogger.py
  3. To stop the program:

    • Press Ctrl+C in the terminal
    • Or Ctrl+Z (Command+Z on macOS) while typing
Project Directory Organization

When running CodeLogger, the following folder structure will be created:

CodeLogger/
β”œβ”€β”€ CodeLogger.py      # Main executable script
β”œβ”€β”€ config.json        # Configuration file
β”œβ”€β”€ output/            # Main output directory
β”‚   β”œβ”€β”€ codelogger.log # Log file for program operations
β”‚   β”œβ”€β”€ key.txt        # Keylog storage
β”‚   β”œβ”€β”€ clipboard_history.txt # Clipboard monitoring storage
β”‚   β”œβ”€β”€ screenshots/   # Directory for captured screenshots
β”‚   β”‚   └── screenshot_YYYYMMDD_HHMMSS.png
β”‚   β”œβ”€β”€ system_info/   # Directory for system information
β”‚   β”‚   └── system_info_YYYYMMDD_HHMMSS.json
β”‚   └── reports/       # Directory for generated reports
β”‚       β”œβ”€β”€ report_YYYYMMDD_HHMMSS.html
β”‚       └── report_YYYYMMDD_HHMMSS.txt
β”œβ”€β”€ src/               # Source assets
β”‚   └── codelogger.jpg # Project logo
└── requirements.txt   # Python dependencies

Important Security and Legal Considerations:

  • βœ… Always obtain proper authorization before deploying this tool
  • πŸ”‘ When using the email functionality, it's recommended to use app-specific passwords
  • πŸ”„ Change the default encryption password and salt in the configuration
  • βš–οΈ Be aware of privacy laws and regulations in your jurisdiction
  • 🚫 Never use this tool for malicious purposes or unauthorized surveillance
How to Contribute

We welcome contributions to CodeLogger! Here's how you can help:

  1. Fork the repository
  2. Create a branch for your feature: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add some amazing feature'
  4. Push to your branch: git push origin feature/amazing-feature
  5. Open a Pull Request

For bug reports, feature requests, or feedback, please open an Issue.

MIT License Terms

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2025 CodeLogger Contributors


Made with ❀️ by KARTHIK LAL

Report Bug β€’ Request Feature

About

An advanced Python-based monitoring tool for educational and security research purposes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published