Supesite 前台注入 #3 (Delete)

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

### 简要描述: Delete 如果ucenter和supesite在一个裤的话 可以尝试把uckey注入出来 然后…… ### 详细说明: 在cp.php中 ``` $ac = empty($_GET['ac']) ? 'profile' : trim($_GET['ac']); if(in_array($ac, array('index', 'news', 'profile', 'credit', 'models'))) { include_once(S_ROOT.'./source/cp_'.$ac.'.php'); ``` 包含进来 在source/cp_news.php中 ``` if(empty($itemid)) { //这里让$itemid 不为空 if(!empty($_SCONFIG['posttime']) && $_SGLOBAL['group']['groupid'] != 1) { if($_SGLOBAL['timestamp'] - $_SGLOBAL['member']['lastposttime'] < $_SCONFIG['posttime']) { showmessage('post_too_much'); } } $newsarr['uid'] = $_SGLOBAL['supe_uid']; $newsarr['username'] = $_SGLOBAL['supe_username']; $newsarr['dateline'] = $_SGLOBAL['timestamp']; if($_POST['fromtype'] == 'newspost') { $newsarr['fromtype'] = 'newspost'; $newsarr['fromid'] = intval($_POST['id']); } else { $newsarr['fromtype'] = 'userpost'; } if(!checkperm('allowdirectpost')) { $itemarr['itemid'] = inserttable('spaceitems', $newsarr, 1); inserttable('spacenews', $itemarr); getreward('postinfo');...

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