sh PHP / Drupal恶意软件卸妆

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh PHP / Drupal恶意软件卸妆相关的知识,希望对你有一定的参考价值。

# Observe the mess, exclude the unnecessary
#
# -r: Recursive
# -I: Skip binaries
#
grep -rI --color "return base64_decode(\\$.*);" /path/to/www/root

# Clean the mess
#
# -r: Recursice
# -I: Skip binaries
# -l: Show full filenames of matched files
# -Z: Ensures that filenames are zero- (i.e., nul-) terminated so that a name containing white space does not get interpreted in the wrong way
#
# xargs -0: Feeds the filenames from grep to "rm -f", separating words by zero (nul) bytes
# -- is very important to mark the end of options and allow for removal of files whose names begin with "-" character
#
grep -rlIZ "return base64_decode(\\$.*);" /path/to/www/root | xargs -0 rm -f --

以上是关于sh PHP / Drupal恶意软件卸妆的主要内容,如果未能解决你的问题,请参考以下文章

sh drush命令用drupal运行php

如何手动清理Drupalgeddon恶意软件?

php 卸妆分类de主页

php 卸妆coluna

php 卸妆标签na pag do produto - Woocommerce

php 卸妆o metabox do OCEANWP Extrasdapáginadeediçãodosprodutos do WooCommerce