{"id":23946079,"url":"https://github.com/vpratham/advanced-key-logger","last_synced_at":"2026-05-13T01:34:45.139Z","repository":{"id":270726925,"uuid":"908571333","full_name":"vpratham/Advanced-Key-Logger","owner":"vpratham","description":"A Python-based keyboard event monitoring system that captures and transmits keystroke data securely over a network connection.","archived":false,"fork":false,"pushed_at":"2025-01-02T16:58:12.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T17:45:01.156Z","etag":null,"topics":["cybersecurity","keylogger","keylogger-python","python","security-automation","security-tools","socket-programming","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vpratham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-26T11:55:34.000Z","updated_at":"2025-01-02T16:58:16.000Z","dependencies_parsed_at":"2025-01-02T17:45:05.054Z","dependency_job_id":"a0f2eaa4-8e6a-4c1f-bd03-fe9efbbe3725","html_url":"https://github.com/vpratham/Advanced-Key-Logger","commit_stats":null,"previous_names":["vpratham/advanced-key-logger"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpratham%2FAdvanced-Key-Logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpratham%2FAdvanced-Key-Logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpratham%2FAdvanced-Key-Logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vpratham%2FAdvanced-Key-Logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vpratham","download_url":"https://codeload.github.com/vpratham/Advanced-Key-Logger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434304,"owners_count":19800550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cybersecurity","keylogger","keylogger-python","python","security-automation","security-tools","socket-programming","windows"],"created_at":"2025-01-06T08:21:52.554Z","updated_at":"2026-05-13T01:34:45.090Z","avatar_url":"https://github.com/vpratham.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keyboard Event Monitor\n\n## Overview\nThis project implements a Python-based keyboard event monitoring system with network capabilities. It's designed for legitimate system monitoring and diagnostic purposes, featuring efficient event processing and network transmission.\n\n## Technical Features\n- Asynchronous keyboard event processing\n- Memory-efficient buffering system\n- Network transmission with retry capability\n- Thread-safe operations\n- Configurable monitoring intervals\n\n## Requirements\n- Python 3.7+\n- Required packages:\n  ```\n  pynput\u003e=1.7.3\n  ```\n\n## Installation\n1. Clone the repository\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Configuration\nEdit the `key.py` file to set the following parameters:\n```python\nSERVER_IP_ADDR = \"your_server_ip\"\nSERVER_PORT = your_port_number\nTIME_INTERVAL = transmission_interval_in_seconds\n```\n\n## Project Structure\n```\n.\n├── client.py        # Main implementation file\n├── key.py          # Configuration constants\n└── README.md       # This file\n```\n\n## Implementation Details\n\n### Core Components\n\n#### KeyLogger Class\nThe main class handling keyboard monitoring and event processing.\n\nKey features:\n- Event buffering using StringIO\n- Thread-safe operations with buffer locks\n- Queued event processing\n- Configurable network transmission\n\n#### Network Operations\n- TCP-based transmission\n- Automatic retry on connection failure\n- Server acknowledgment handling\n\n#### Performance Optimizations\n- Asynchronous event processing\n- Memory-efficient buffering\n- Reduced disk I/O\n- Optimized thread management\n\n## Usage\nRun the program with:\n```bash\npython client.py\n```\n\nThe program will:\n1. Initialize the monitoring system\n2. Create necessary directories\n3. Begin processing keyboard events\n4. Transmit data at configured intervals\n\n## Error Handling\nThe system includes comprehensive error handling for:\n- Network connectivity issues\n- File system operations\n- Memory management\n- Thread synchronization\n\n## Monitoring and Logging\n- Console output for diagnostic information\n- Error logging for troubleshooting\n- Network transmission status updates\n\n## Technical Considerations\n- CPU usage is optimized through event queuing\n- Memory usage is controlled via buffer management\n- Network transmission is handled in separate threads\n- File I/O is minimized to improve performance\n\n## Development and Testing\nFor development purposes:\n1. Set shorter `TIME_INTERVAL` values\n2. Monitor console output for diagnostics\n3. Check network connectivity with test server\n\n## Performance\nThe system is optimized for minimal system impact:\n- Efficient event queuing\n- Controlled memory usage\n- Reduced disk operations\n- Optimized thread management\n\n## Troubleshooting\nCommon issues and solutions:\n1. Connection failures:\n   - Verify server address and port\n   - Check network connectivity\n   - Confirm firewall settings\n\n2. Performance issues:\n   - Adjust queue size\n   - Modify processing intervals\n   - Check system resources\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpratham%2Fadvanced-key-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvpratham%2Fadvanced-key-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvpratham%2Fadvanced-key-logger/lists"}