{"id":21020616,"url":"https://github.com/5ime/tp_lang_check","last_synced_at":"2025-03-13T17:41:29.921Z","repository":{"id":127514529,"uuid":"577706935","full_name":"5ime/tp_lang_check","owner":"5ime","description":"ThinkPHP 多语言功能漏洞检测脚本","archived":false,"fork":false,"pushed_at":"2022-12-13T10:47:13.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-20T12:46:34.771Z","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/5ime.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":"2022-12-13T10:46:38.000Z","updated_at":"2024-09-14T02:08:13.000Z","dependencies_parsed_at":"2023-07-18T06:16:30.371Z","dependency_job_id":null,"html_url":"https://github.com/5ime/tp_lang_check","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/5ime%2Ftp_lang_check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2Ftp_lang_check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2Ftp_lang_check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2Ftp_lang_check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5ime","download_url":"https://codeload.github.com/5ime/tp_lang_check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243450750,"owners_count":20293004,"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":[],"created_at":"2024-11-19T10:42:22.594Z","updated_at":"2025-03-13T17:41:29.903Z","avatar_url":"https://github.com/5ime.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThinkPHP Lang Check\n\n单个/批量检测目标是否存在 ThinkPHP 多语言功能漏洞 \n\n\u003e 如果 Thinkphp 程序开启了多语言功能，那就可以通过 get、header、cookie 等位置传入参数，实现目录穿越+文件包含，通过 pearcmd 文件包含这个 trick 即可实现 RCE。\n\n## Usage:\n\n```\nUsage: python3 tp_lang_check.py -h\nUsage: python3 tp_lang_check.py -u url\nExample: python3 tp_lang_check.py -u http://\nUsage: python3 tp_lang_check.py -r file\nExample: python3 tp_lang_check.py -r url.txt\n```\n\n## 影响版本\n\n- ThinkPHP 6.0.1 -  6.0.13\n- ThinkPHP 5.0.0 - 5.0.12\n- ThinkPHP 5.1.0 - 5.1.8\n\n## 修复建议\n\n- 关闭多语言\n- 升级最新包","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5ime%2Ftp_lang_check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5ime%2Ftp_lang_check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5ime%2Ftp_lang_check/lists"}