CSDJCMS拿shell漏洞与PHP源码分析过程

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: CSDJCMS漏洞后台拿shell ### 详细说明: ``` include_once("include/install.php"); if(S_IsInstall==0){ header("Location:install/install.php"); } include_once("include/label.php"); if(S_Webmode==1 or !file_exists("index.html")){ //缓存区 $cache_id ='index_'; if(!($cache_opt->start($cache_id))){ echo GetTemp("index.html",0); $cache_opt->end(); } } else{ header("Location:index.html"); } //看他配置吧 function SafeRequest($key,$mode,$isfilter=''){ set_magic_quotes_runtime(0); $magic= get_magic_quotes_gpc(); switch ($mode){ case 'post': $value=isset($_POST[$key]) ?$magic?trim($_POST[$key]):addslashes(trim($_POST[$key])) : ''; break; case 'get': $value=isset($_GET[$key]) ?$magic?trim($_GET[$key]):addslashes(trim($_GET[$key])) : ''; break; default: $value=isset($_POST[$key]) ?$magic?trim($_POST[$key]):addslashes(trim($_POST[$key])) : ''; if($value==""){ $value=isset($_GET[$key]) ?$magic?trim($_GET[$key]):addslashes(trim($_GET[$key])) : ''; } break; } if($isfilter!=''){...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息