summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien "shaddai" Reveret2016-07-29 10:22:59 +0200
committerJulien "shaddai" Reveret2016-07-29 10:22:59 +0200
commit375987ddabb24d2f66d58d7178cae8c5cfd6a50d (patch)
treec22c42b20d4b8cbc0900e4f786f9d88bffd4379c
parent6cf51485a3a10d00092fe0718efe5415d0788913 (diff)
new whitelists with new dir, adding them to the rule update function
-rwxr-xr-xphp-malware-finder/phpmalwarefinder4
1 files changed, 3 insertions, 1 deletions
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
43update_rules() { 43update_rules() {
44 SITE="https://raw.githubusercontent.com/nbs-system/php-malware-finder/master/php-malware-finder/" 44 SITE="https://raw.githubusercontent.com/nbs-system/php-malware-finder/master/php-malware-finder/"
45 RULES_FILES=('asp.yar' 'common.yar' 'bad_php.yar' 'php.yar' 45 RULES_FILES=('asp.yar' 'common.yar' 'bad_php.yar' 'php.yar'
46 'whitelist.yar') 46 'whitelist.yar' 'whitelists/drupal.yar' 'whitelists/magento2.yar'
47 'whitelists/phpmyadmin.yar' 'whitelists/prestashop.yar'
48 'whitelists/symfony.yar' 'whitelists/wordpress.yar' )
47 CONFIG_DIR="/etc/phpmalwarefinder/" 49 CONFIG_DIR="/etc/phpmalwarefinder/"
48 50
49 if [ ! -d $CONFIG_DIR ]; then 51 if [ ! -d $CONFIG_DIR ]; then