find 查找PHP后门

时间:2014-07-07 06:38:03 +0800

find /path/to/webroot -name "*.php" |xargs grep "eval" |less

find /path/to/webroot -name "*.php" |xargs grep "shell_exec" |less

find /path/to/webroot -name "*.php" |xargs grep "passthru" |less

当然你还可以导出到文件,下载下来慢慢分析:

find /home -name "*.php"|xargs grep "fsockopen"|tee webshell_scan.log

×

Subscribe

The latest tutorials sent straight to your inbox.