new whitelist
This commit is contained in:
9
scan.py
9
scan.py
@@ -15,9 +15,10 @@ import fnmatch
|
||||
|
||||
whitelist = [
|
||||
'/lp-msh-scanner/',
|
||||
'/LP-MSH-Scanner-master/'
|
||||
'/LP-MSH-Scanner-master/scan.php'
|
||||
'/LP-MSH-Scanner-master/mscan.php'
|
||||
'LP-MSH-Scanner-master/',
|
||||
'LP-MSH-Scanner-master/scan.php',
|
||||
'LP-MSH-Scanner-master/mscan.php',
|
||||
'wp-content/plugins/essential-grid/includes/assets/default-posts.php',
|
||||
'/._',
|
||||
'cache/object/000000/',
|
||||
'libraries/simplepie/simplepie.php',
|
||||
@@ -636,7 +637,7 @@ if __name__ == '__main__':
|
||||
import yaml
|
||||
SERIALIZER = 'yaml'
|
||||
except ImportError:
|
||||
import json
|
||||
import json
|
||||
parser = argparse.ArgumentParser(
|
||||
description='Check directory or file for PHP malwares.')
|
||||
parser.add_argument('directory_file',
|
||||
|
||||
Reference in New Issue
Block a user