当前位置:首页 > IT文章 > 正文

QQ邮箱更新成空谈 又见QQ邮箱新缝隙

11-27 IT文章

一 : QQ邮箱更新成空谈 又见QQ邮箱新缝隙

  在这个动荡的时节,腾讯貌似没有抢到几多风头

  不过QQ邮箱新缝隙的发明又将使其QQ产品火一把

  检察官方空间其称9.3号对其邮箱进行了更新

  

  不过看完缝隙动画,俄然感受那大的腾讯看待用户似乎还是欠缺了点责任感

  

  别无它意,只是门户网站在IT界争夺市场的时候是不是该对自己产品的质量做些考虑呢?

  

  俄然某天打开我的QQ邮件,然后挂了,我想我以后必定开QQ邮箱的时候长个心眼

  成长的同时是否应该多考虑自身产品的可信性.....

二 : DEDECMS 5.6最新Get Shell缝隙 DEDECMS 5.3/5.6

DEDECMS 5.6最新Get Shell缝隙
影响版本:  DEDECMS 5.3/5.6
  缝隙描述:
  DedeCms 基于PHP+MySQL的技术开发,撑持Windows、Linux、Unix等多种处事器平台,从2004年开始颁布第一个版本开始,至今已经颁布了五个大版本。DedeCms以简单、健壮、灵活、开源几大特点占领了国内CMS的大部份市场,目前已经有赶过二十万个站点正在使用DedeCms或居于 DedeCms核心,是目前国内应用最广泛的php类CMS系统。
  article_add.php


........................
else if($dopost=='save')
{
include(DEDEMEMBER.'/inc/archives_check.php');
//分析措置惩罚惩罚附加表数据
$inadd_f = $inadd_v = '';
if(!emptyempty($dede_addonfields))
{
$addonfields = explode(';',$dede_addonfields);
............................................ //省略部份代码
$inadd_f .= ','.$vs[0];
$inadd_v .= " ,'".${$vs[0]}."' ";
}
}
}
..........................................
$addtable = trim($cInfos['addtable']);
if(emptyempty($addtable))
{
......................................
}
else
{
$inquery = "INSERT INTO `{$addtable}`(aid,typeid,userip,redirecturl,templet,body{$inadd_f}) Values('$arcID','$typeid','$userip','','','$body'{$inadd_v})";
if(!$dsql->ExecuteNoneQuery($inquery))
{
..........................................
}
}
..........................................
$artUrl = MakeArt($arcID,true); //操作处所(arc.archives.functions.php有界说)
function MakeArt($aid,$ismakesign=false)
{
global $cfg_makeindex,$cfg_basedir,$cfg_templets_dir,$cfg_df_style;
include_once(DEDEINC.'/arc.archives.class.php');
if($ismakesign)
{
$envs['makesign'] = 'yes';
}
$arc = new Archives($aid);
$reurl = $arc->MakeHtml(); //arc.archives.class.php有界说
............................
}


  arc.archives.class.php


class Archives
{
................
function __construct($aid)
{
............
if($this->ChannelUnit->ChannelInfos['addtable']!='')
{
$query = "SELECT * FROM `{$this->ChannelUnit->ChannelInfos['addtable']}` WHERE `aid` = '$aid'";
$this->addTableRow = $this->dsql->GetOne($query);
}
........................
if($this->ChannelUnit->ChannelInfos['addtable']!='' && $this->ChannelUnit->ChannelInfos['issystem']!=-1)
{
if(is_array($this->addTableRow))
{
...............................
$this->Fields['templet'] = $this->addTableRow['templet'];//注意1
......................................
}
}
.............................
}
function MakeHtml($isremote=0)
{
global $cfg_remote_site,$fileFirst;
if($this->IsError)
{
return '';
}
$this->Fields["displaytype"] = "st";
//预编译$th
$this->LoadTemplet(); //触发1
......................................//省略部份代码
$this->arseDMFields($i,1);
$this->dtp->SaveTo($truefilename); //触发2
......................................
}
继续跟(触发1)$this->LoadTemplet(); //arc.archives.class.php有界说
function LoadTemplet()
{
if($this->TempSource=='')
{
$tempfile = $this->GetTempletFile(); //注意2
if(!file_exists($tempfile) || !is_file($tempfile))
{
echo "文档ID:{$this->Fields['id']} - {$this->TypeLink->TypeInfos['typename']} - {$this->Fields['title']}
";
echo "模板文件不存在,无法解析文档!";
exit();
}
$this->dtp->LoadTemplate($tempfile); //触发3
$this->TempSource = $this->dtp->SourceString;
}
else
{
$this->dtp->LoadSource($this->TempSource);
}
}
看注意2 的$this->GetTempletFile() //arc.archives.class.php有界说
function GetTempletFile()
{
global $cfg_basedir,$cfg_templets_dir,$cfg_df_style;
$cid = $this->ChannelUnit->ChannelInfos['nid'];
if(!emptyempty($this->Fields['templet'])) //注意3
{
$filetag = MfTemplet($this->Fields['templet']);
if( !ereg('http://www.61k.com/', $filetag) ) $filetag = $GLOBALS['cfg_df_style'].'http://www.61k.com/'.$filetag;
}
else
{
$filetag = MfTemplet($this->TypeLink->TypeInfos["temparticle"]);
}
.......................................
if($cid=='spec')
{
if( !emptyempty($this->Fields['templet']) )
{
$tmpfile = $cfg_basedir.$cfg_templets_dir.'http://www.61k.com/'.$filetag;
}
else
{
$tmpfile = $cfg_basedir.$cfg_templets_dir."/{$cfg_df_style}/article_spec.htm";
}
}
...........................................
return $tmpfile;
}


注意3中的值来自注意1是通过查表得来的,控制了它就即是控制了任意模板,然后通过触发3来触发缝隙
看下怎么控制注意1的值
article_edit.php

温馨提示: 本文由杰米博客推荐,转载请保留链接: https://www.jmwww.net/file/it//17245.html

博客主人杰米WWW
杰米博客,为大家提供seo以及it方面技巧喜欢的朋友收藏哦!
  • 11365文章总数
  • 1378075访问次数
  • 建站天数
  •