Discuz X2.5...

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

<ul><li>/source/module/aforum/forum_image.php</li></ul> ``` $nocache = !empty($_GET['nocache']) ? : ; $daid = intval($_GET['aid']); $type = !empty($_GET['type']) ? $_GET['type'] : 'fixwr'; list($w, $h) = explode('x', $_GET['size']); $dw = intval($w); $dh = intval($h); $thumbfile = 'image/'.$daid.'_'.$dw.'_'.$dh.'.jpg'; $parse = parse_url($_G['setting']['attachurl']); $attachurl = !isset($parse['host']) ? $_G['siteurl'].$_G['setting']['attachurl'] : $_G['setting']['attachurl']; if(!$nocache) { if(file_exists($_G['setting']['attachdir'].$thumbfile)) { dheader('location: '.$attachurl.$thumbfile); } } define('NOROBOT', TRUE); $id = !empty($_GET['atid']) ? $_GET['atid'] : $daid; if(dsign($id.'|'.$dw.'|'.$dh) != $_GET['key']) { dheader('location: '.$_G['siteurl'].'static/image/common/none.gif'); } if($attach = C::t('forum_attachment_n')-&gt;fetch('aid:'.$daid, $daid, array(1, -1))) { if(!$dw &amp;&amp; !$dh &amp;&amp; $attach['tid'] != $id) { dheader('location:...

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