{"id":17017368,"url":"https://github.com/kourva/picklepasswd","last_synced_at":"2025-04-12T09:37:37.045Z","repository":{"id":194373278,"uuid":"690699954","full_name":"Kourva/PicklePasswd","owner":"Kourva","description":"Simple script to access password information in /etc/passwd","archived":false,"fork":false,"pushed_at":"2024-08-28T15:43:44.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T04:34:45.709Z","etag":null,"topics":["base64","etc","etc-passwd","passwd","pickle","pickling","python","python3","self-modifying-code"],"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/Kourva.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":"2023-09-12T17:38:50.000Z","updated_at":"2025-03-05T06:37:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a794e22-e81d-484d-911b-9475ace141fa","html_url":"https://github.com/Kourva/PicklePasswd","commit_stats":null,"previous_names":["kourva/picklepasswd","kozyol/picklepasswd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kourva%2FPicklePasswd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kourva%2FPicklePasswd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kourva%2FPicklePasswd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kourva%2FPicklePasswd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kourva","download_url":"https://codeload.github.com/Kourva/PicklePasswd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248547406,"owners_count":21122508,"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":["base64","etc","etc-passwd","passwd","pickle","pickling","python","python3","self-modifying-code"],"created_at":"2024-10-14T06:36:27.773Z","updated_at":"2025-04-12T09:37:37.018Z","avatar_url":"https://github.com/Kourva.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"left\"\u003e\n   \u003cimg align=\"left\" src=\"https://www.clipartmax.com/png/full/240-2404818_lock-clipart-blue-gray-password-icon-png.png\" width=100/\u003e\n   \u003ch3\u003e\u003cb\u003ePicklePasswd\u003c/b\u003e\u003c/h3\u003e\n   \u003cp\u003eSimple script to access password information in /etc/passwd\u003c/p\u003e\n\u003c/div\u003e\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n# About\nThis script demonstrates how someone could create a simple script to potentially access your password information without your knowledge.\n\n1. **Initialization**: After running `init.py`, this script will generate a pickle file in the same directory as `init.py`.\n\n2. **Platform Check**: When executed, the script will check the platform. If it's not Linux, the script will delete itself to avoid any unintended consequences on incompatible systems.\n\n3. **Execution**: When you run `run.py`, the script will load the pickle file and modify itself.\n\n4. **Second Execution**: If you execute `run.py` for the second time the main script will attempt to access information stored in `/etc/passwd`. It will then save this information in a file called `.passwd` within the same directory as the script and once the code runs successfully, the script will change its own source code to a simple \"Hello, World!\" comment, effectively altering its functionality.\n\u003cbr\u003e\n**Note that this script is not harmfull or any other type of viruses. this will just read a file, main porpse is to show how pickle viruses work.**\n\u003cbr\u003e\n\n# Installation\n+ Clone repository\n```bash\ngit clone https://github.com/Kourva/PicklePasswd\n```\n+ Open source folder\n```bash\ncd PicklePasswd\n```\n+ Execute `init.py` to create pickle script\n```bash\npython3 init.py\n```\n+ Execute `run.py` to load pickle script\n```bash\npython3 run.py\n```\n+ Execute `run.py` again to run script\n```bash\npython3 run.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkourva%2Fpicklepasswd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkourva%2Fpicklepasswd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkourva%2Fpicklepasswd/lists"}