{"id":18592329,"url":"https://github.com/itaynir1/kelogger","last_synced_at":"2025-05-16T10:09:49.594Z","repository":{"id":253682773,"uuid":"844190673","full_name":"itaynir1/Kelogger","owner":"itaynir1","description":"This repository contains a simple Python keylogger with a Google Drive uploader. Use it responsibly.","archived":false,"fork":false,"pushed_at":"2024-08-18T16:58:54.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T21:36:55.671Z","etag":null,"topics":["cyber","cybersecurity","hacking-tool","keylogger","pydrive","python"],"latest_commit_sha":null,"homepage":"https://github.com/itaynir1/Kelogger","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/itaynir1.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-08-18T16:48:38.000Z","updated_at":"2024-08-18T17:02:51.000Z","dependencies_parsed_at":"2024-08-18T19:22:03.300Z","dependency_job_id":"5d70bf66-235c-4ec9-9efa-e26f84ac257c","html_url":"https://github.com/itaynir1/Kelogger","commit_stats":null,"previous_names":["itaynir1/kelogger"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itaynir1%2FKelogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itaynir1%2FKelogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itaynir1%2FKelogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itaynir1%2FKelogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itaynir1","download_url":"https://codeload.github.com/itaynir1/Kelogger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509473,"owners_count":22082892,"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":["cyber","cybersecurity","hacking-tool","keylogger","pydrive","python"],"created_at":"2024-11-07T01:08:06.851Z","updated_at":"2025-05-16T10:09:49.082Z","avatar_url":"https://github.com/itaynir1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keylogger with Google Drive Uploader\n\nThis project is a simple keylogger written in Python that records the keys pressed by the user and uploads the log file to Google Drive using the Google Drive API. Please note that keyloggers can be considered malicious if used without the user's knowledge and consent. Make sure to use this script responsibly and only for legitimate purposes.\n\n## Requirements\n\nBefore running the script, make sure you have the following requirements installed:\n\n- Python 3.x\n- pynput library (for capturing keyboard events)\n- pydrive library (for uploading files to Google Drive)\n\nYou can install the required libraries using pip:\n\n```bash\npip install pynput pydrive\n```\n\n## Configuration:\n---------------\n\n**1. Google Drive API Setup:**\n\n- Go to the [Google Developers Console](https://console.cloud.google.com/projectselector2/apis/dashboard?supportedpurview=project).\n- Create a new project (or use an existing one).\n- Enable the Google Drive API for the project.\n- Create credentials for the project and download the `client_secrets.json` file.\n\n**2. Keylogger Configuration:**\n\n- Set the `ATTACHMENT_FILE_NAME` variable to specify the name of the log file to be uploaded.\n\n## Running the Keylogger:\nTo run the keylogger, execute the Python script:\n```bash\npython keylogger.py\n```\n## How It Works\nThe keylogger captures the keys pressed by the user using the `pynput` library.\n\nIt stores the recorded keys in a list, and when the number of recorded keys exceeds 10, it writes them to the log file specified by the `ATTACHMENT_FILE_NAME` variable. \n\nThe keylogger continues recording until the `Esc` key is pressed, at which point it saves the remaining keys to the log file and uploads it to Google Drive using the `pydrive` library.\n\n**Note:** The script will keep running and capturing key events until the `Esc` key is pressed, so make sure to terminate it appropriately.\n\n## Disclaimer\nThe use of keyloggers to record a user's keystrokes without their knowledge and consent may violate privacy laws and is considered unethical.\nThis script is provided for educational and informational purposes only. The developer is not responsible for any misuse or damage caused by the use of this script. Use it responsibly and only on systems you own or have explicit permission to monitor.\n\n**Use at your own risk.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitaynir1%2Fkelogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitaynir1%2Fkelogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitaynir1%2Fkelogger/lists"}