欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程语言 > php >内容正文

php

inur new.php id,Cmsez(随易)全站系统 0day

发布时间:2025/3/8 php 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 inur new.php id,Cmsez(随易)全站系统 0day 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

程序名称:Cmsez Web Content Manage System v2.0.0

文件:comments.php viewimg.php

代码:

---------------

//comments

include "mainfile.php";

$art=new article();

//设定

$confirm='yes';//yes:需要管理员认证后才能显示,no:直接显示

$member=new member();

$user_info=$member->member_auth();

$ulevel=$user_info[user_level];

########设置#############

$action = $_REQUEST[action];

$page="10";//

$need_user = "0";//

$id = $_REQUEST[id];// //对ID参数完全没过滤

$fdb = $PlusDB->prefix(forum);//评论的数据库

switch($action){

case "showNum":

$sql="select count(*) as num from ".$fdb." where post_aid='$id'";

$showNum=$PlusDB->getone($sql);

echo "

function comment(id)

{

var page = \"".PLUS_URL."/comments.php?id=\" + id ;

popwin = window.open(page,\"\",\"width=460,height=500,scrollbars,resizable\")

popwin.focus();

}

document.open();

document.write(\"\");

document.close();";

break;

case "saveComment":

--------------

viewimg.php

--------------

//image.php 显示附件的图片

include "mainfile.php";

$member=new member();

$confirm==false;//true 会员才能看,false 都能看

$user_info = $member->member_auth();

if($user_info[user_level]=="Guest" && $confirm==true){

include "modules/member/index.php";

}else{

$imgdb = $PlusDB->prefix(images);

$id=$_GET[id]; //米过滤,为什么他要直接获得啊!

$aid = $_GET[aid]; //难道赶着吃晚饭?

$sql="select id from $imgdb where aid=$aid order by id ";

---------------------

exp:

allinurl:"owered by CMSEZ" comments.php inurlowered by CMSEZ

*

-------------------

修复方案:

最好把站关了...

总结

以上是生活随笔为你收集整理的inur new.php id,Cmsez(随易)全站系统 0day的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。