{"id":18110740,"url":"https://github.com/secretsquirrel/backdoor-pyc","last_synced_at":"2025-10-31T07:47:09.251Z","repository":{"id":70395825,"uuid":"45873646","full_name":"secretsquirrel/backdoor-pyc","owner":"secretsquirrel","description":"Patch pyc files with your code. Fairly lame.","archived":false,"fork":false,"pushed_at":"2015-11-10T17:10:32.000Z","size":0,"stargazers_count":67,"open_issues_count":0,"forks_count":30,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-14T01:09:11.100Z","etag":null,"topics":[],"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/secretsquirrel.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}},"created_at":"2015-11-09T23:23:50.000Z","updated_at":"2024-08-12T19:20:04.000Z","dependencies_parsed_at":"2023-03-10T14:15:38.607Z","dependency_job_id":null,"html_url":"https://github.com/secretsquirrel/backdoor-pyc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/secretsquirrel/backdoor-pyc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretsquirrel%2Fbackdoor-pyc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretsquirrel%2Fbackdoor-pyc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretsquirrel%2Fbackdoor-pyc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretsquirrel%2Fbackdoor-pyc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secretsquirrel","download_url":"https://codeload.github.com/secretsquirrel/backdoor-pyc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretsquirrel%2Fbackdoor-pyc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281953493,"owners_count":26589146,"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","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-01T00:11:19.723Z","updated_at":"2025-10-31T07:47:09.235Z","avatar_url":"https://github.com/secretsquirrel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backdoor-pyc\n\nReplace pyc files with malicious pyc files.\n\n\n## Change Log\n\n####11/10/2015\n* No more writing to tmp, just edit the pyc file directly\n* Bug fixes \n\n## Prior work\n\n\n\thttps://www.virusbtn.com/virusbulletin/archive/2011/07/vb201107-reversing-Python#id3072912\n\thttps://github.com/jgeralnik/Pytroj\n\thttp://www.slideshare.net/iamit/infecting-python-bytecode\n\n## Usage\n\n\tpython27|python3X ./backdoor-pyc27.py -h\n\n\tUsage: backdoor-pyc27.py [-h] [-p PATH] [-l NIX] [-w WINDOWS]\n\n\tTo replace utf_8.pyc with your code...\n\n\toptional arguments:\n\t  -h, --help            show this help message and exit\n\t  -p PATH, --path PATH  path to utf_8.pyc\n\t  -l NIX, --nix NIX     payload for nix\n\t  -w WINDOWS, --windows WINDOWS\n\t                        payload for windows\n\n\n\n\t*Make edits to the testing27.py file [HOST]*\n\n\tFor python27\n\tpython ./backdoor-pyc27.py -l testing27.py -p /usr/lib/python27/encodings/utf_8.py\n\n\n\tFor python3.X \n\tpython3 ./backdoor-pyc3X.py -l testing3X.py -p /usr/lib/python3/rlcompleter.py -v 34  #notice version for python3\n\n\n\n## Contributing\n\nPull requests welcome\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretsquirrel%2Fbackdoor-pyc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecretsquirrel%2Fbackdoor-pyc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretsquirrel%2Fbackdoor-pyc/lists"}