From 375987ddabb24d2f66d58d7178cae8c5cfd6a50d Mon Sep 17 00:00:00 2001 From: Julien "shaddai" Reveret Date: Fri, 29 Jul 2016 10:22:59 +0200 Subject: new whitelists with new dir, adding them to the rule update function --- php-malware-finder/phpmalwarefinder | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php-malware-finder/phpmalwarefinder b/php-malware-finder/phpmalwarefinder index f226a85..02f7594 100755 --- a/php-malware-finder/phpmalwarefinder +++ b/php-malware-finder/phpmalwarefinder @@ -43,7 +43,9 @@ fi update_rules() { SITE="https://raw.githubusercontent.com/nbs-system/php-malware-finder/master/php-malware-finder/" RULES_FILES=('asp.yar' 'common.yar' 'bad_php.yar' 'php.yar' - 'whitelist.yar') + 'whitelist.yar' 'whitelists/drupal.yar' 'whitelists/magento2.yar' + 'whitelists/phpmyadmin.yar' 'whitelists/prestashop.yar' + 'whitelists/symfony.yar' 'whitelists/wordpress.yar' ) CONFIG_DIR="/etc/phpmalwarefinder/" if [ ! -d $CONFIG_DIR ]; then -- cgit v1.3