{"id":14990028,"url":"https://github.com/imagemlt/webshellmanager","last_synced_at":"2025-07-28T11:03:17.117Z","repository":{"id":201349715,"uuid":"107880226","full_name":"imagemlt/WebShellManager","owner":"imagemlt","description":"WebShellManager build on cpp with libcurl","archived":false,"fork":false,"pushed_at":"2018-12-14T01:48:34.000Z","size":4872,"stargazers_count":23,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T10:25:24.475Z","etag":null,"topics":["cpp","libcurl","security"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/imagemlt.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}},"created_at":"2017-10-22T15:51:48.000Z","updated_at":"2022-10-20T23:52:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"b39d48d1-0963-4528-83c2-e99688c0d8b2","html_url":"https://github.com/imagemlt/WebShellManager","commit_stats":null,"previous_names":["imagemlt/webshellmanager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imagemlt/WebShellManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagemlt%2FWebShellManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagemlt%2FWebShellManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagemlt%2FWebShellManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagemlt%2FWebShellManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imagemlt","download_url":"https://codeload.github.com/imagemlt/WebShellManager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagemlt%2FWebShellManager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267505099,"owners_count":24098346,"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-07-28T02:00:09.689Z","response_time":68,"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":["cpp","libcurl","security"],"created_at":"2024-09-24T14:19:21.354Z","updated_at":"2025-07-28T11:03:17.094Z","avatar_url":"https://github.com/imagemlt.png","language":"C++","readme":"# WebShellManager\nWebShellManager build on cpp with libcurl\n## features\n* 多个webshell批量管理\n* 支持自定义参数位置及加密方式\n* 支持需要有附加参数的特殊shell\n* 可绕过open_basedir、disable_functions等限制\n* 一键不死shell，维持权限\n* 附有脚本批量生成可用的shell\n* 自定义header、cookie\n\n## build\n**CMake**\n```bash\ncmake .\nmake\n```\n**动态编译**\n```bash\ng++ json.hpp cryptohelper.cpp curlhelper.cpp WebShell.cpp main.cpp -o test -lcurl -lpthread\n```\n**静态编译**\n```bash\ng++ json.hpp cryptohelper.cpp curlhelper.cpp WebShell.cpp main.cpp -static -o test -static-libgcc -static-libstdc++ /usr/local/lib/libcurl.a /usr/local/lib/libz.a /usr/local/ssl/lib/libssl.a /usr/local/ssl/lib/libcrypto.a  -ldl -lpthread\n```\n\u003e\u003cdel\u003etest文件为x64平台下静态编译好的可执行文件\u003c/del\u003e\n\n\u003enote:由于使用[https://github.com/nlohmann/json](https://github.com/nlohmann/json)因此需编译器支持C++11\n\n\n## usage\n* list :列出所有的shell\n* delete index:删除指定index的shell\n* add json:添加shell，格式为json\n* execute index 命令:执行命令，当index为all时在所有shell中执行\n* push index 本地文件路径 目标文件路径:上传本地文件到制定路径\n* neverdie index:一键不死shell\n\n## json format:\n```json\n\t{\n\t\"address\":\"地址\",\n\t\"custom\":{\n\t\t\"addonget\":null,\n\t\t\"addonpost\":null,\n\t\t\"cookies\":null,\n\t\t\"headers\":null,\n\t\t\"encrypt\":null,\n\t\t\"place\":\"COOKIE\",\n\t\t\"placevalue\":\"xss\"\n\t\t},\n\t\"pass\":\"xxx\",\n\t\"method\":\"GET\"\n\t}\n```\n\u003e note:写为单行,例如：add {\"address\":\"http://baidu.com/shell.php\",\"pass\":\"mdzz\",\"method\":\"GET\"}  \n### 详细解释\n  * 格式：json\n  * 参数：\n    * encrypt(string): 加密方法，目前支持BASE64_ENCODE BASE64_DECODE ROT13 PADDING 格式为\"加密方法1 加密参数*加密方法2 加密参数\"\n    * place(string): 参数位置，值为GET POST COOKIE HEADER \n    * placevalue(string): 与place对应，表示参数\n    * addonget(object): 附加的get参数键值对，其中如果键与密码重复\u003c+\u003e将被替换为执行的脚本。\n    * addonpost(object): 附加的post参数键值对，与上者相同。\n\u003e 所有添加过的shell会以json格式保存于shells.json文件夹下\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagemlt%2Fwebshellmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagemlt%2Fwebshellmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagemlt%2Fwebshellmanager/lists"}