Discuz!3.2 利用UC_KEY登陆任意用户

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

<p>几乎所有版本都可以吧(在得到uc_key情况下)</p><p>/api/uc.php里面有个synlogin方法</p><ol><li>function synlogin($get, $post) {<br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; global $_G;<br></li><li><br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; if(!API_SYNLOGIN) {<br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;return API_RETURN_FORBIDDEN;<br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; }<br></li><li><br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; header('P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');<br></li><li><br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; $cookietime = 31536000;<br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; $uid = intval($get['uid']);<br></li><li>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;...

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