{"id":13300165,"url":"https://github.com/fahmifj/php-8.1.0-dev-zerodium-rce","last_synced_at":"2026-03-12T01:42:56.311Z","repository":{"id":50324396,"uuid":"370860983","full_name":"fahmifj/php-8.1.0-dev-zerodium-rce","owner":"fahmifj","description":"A script that leverages 'zerodium' backdoor in PHP 8.1.0-dev via User-Agent.","archived":false,"fork":false,"pushed_at":"2021-06-07T09:32:29.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-29T18:04:51.636Z","etag":null,"topics":["ctf","exploit","php","php-810-dev"],"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/fahmifj.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":"2021-05-26T00:20:54.000Z","updated_at":"2023-04-02T14:37:00.000Z","dependencies_parsed_at":"2022-09-24T12:22:38.333Z","dependency_job_id":null,"html_url":"https://github.com/fahmifj/php-8.1.0-dev-zerodium-rce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifj%2Fphp-8.1.0-dev-zerodium-rce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifj%2Fphp-8.1.0-dev-zerodium-rce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifj%2Fphp-8.1.0-dev-zerodium-rce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmifj%2Fphp-8.1.0-dev-zerodium-rce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahmifj","download_url":"https://codeload.github.com/fahmifj/php-8.1.0-dev-zerodium-rce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242843463,"owners_count":20194374,"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":["ctf","exploit","php","php-810-dev"],"created_at":"2024-07-29T17:40:33.700Z","updated_at":"2026-03-12T01:42:56.305Z","avatar_url":"https://github.com/fahmifj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unauthenticated RCE via User-Agent in PHP 8.1.0-dev  \n\nExploit background: https://news-web.php.net/php.internals/113838\n\n## Usage\n\nLinux\n```\nchmod +x php-8.1.0-dev-zerodiumRCE.py\n./php-8.1.0-dev-zerodiumRCE.py [url]\n```\n\nWindows\n```\npython php-8.1.0-dev-zerodiumRCE.py [url]\n```\n\nIf the target is vulnerable, the exploit will give you a prompt.\n\n![image-20210604032844874](_resources/image-20210604032844874.png)\n\n## References\n- https://twitter.com/scurippio/status/1377029387334393861\n- https://fengchenzxc.github.io/%E6%BC%8F%E6%B4%9E%E5%A4%8D%E7%8E%B0/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80%E6%BC%8F%E6%B4%9E/PHP/PHP%20zerodium%E5%90%8E%E9%97%A8%E6%BC%8F%E6%B4%9E/\n- https://youtube.com/watch?v=iwR746pfTEc\u0026t=2460 (cmdloop)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmifj%2Fphp-8.1.0-dev-zerodium-rce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahmifj%2Fphp-8.1.0-dev-zerodium-rce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmifj%2Fphp-8.1.0-dev-zerodium-rce/lists"}