added WebAsyst, new patterns, EiTest match
This commit is contained in:
parent
448e75c083
commit
202a1a5f20
@ -174,6 +174,7 @@
|
||||
array("Simple PHP Blog", "/scripts/sb_functions.php", "\$sb_info[ 'version' ] =", "EOL"),
|
||||
array("Claroline", "/inc/installedVersion.inc.php", "\$new_version =", "EOL"),
|
||||
array("Moodle", "/version.php", "\$release =", "Maintained"),
|
||||
array("WebAsyst", "/kernel/wbs.xml", "<WBS VERSION=", "EOL"),
|
||||
|
||||
|
||||
// still need to work on these
|
||||
|
||||
@ -509,6 +509,7 @@ my @regexen = (
|
||||
qr/<\?php\s+\$.+?\"pre\"\.\"g\_\"\.\"rep\"\.\"lace\"\;\s+\$.+?\(strrev\(\"e\/\*\.\/\"\)\,\s+strrev\(\"\(edoced\_46esab\(etalfnizg\(lave\"\)\.\".+?\)\;\s+\?>/is,
|
||||
qr/<\?php\s+\$GLOBALS\[\'([A-z0-9]{1,20})\'\]\s+\=\s+\"\\x.+?\$([A-z0-9]{1,20})\s+\=\s+Array\(\s+\$GLOBALS\[\'([A-z0-9]{1,20})\'\].+?eval\(\$([A-z0-9]{1,20})\[\$GLOBALS\[\'([A-z0-9]{1,20})\'\]\[\d\d\]\]\)\;\s+\}\s+\}/is,
|
||||
qr/<\?php.+?class\s+browseDir\s+\{.+?function\s+upload\(\$ifupload\)\{.+?if\(\!empty\(\$eval\)\s+\&\&\s+\$eval\s+\!\=\s+\'\'\)\{.+?<\/body><\/html>\s+\<\?\}\?>/is,
|
||||
qr/<span style="position:absolute;visibility: collapse;">.+?(viagra|cialis|levira|kamagra).+?<\/a>\s+<\/span>/is,
|
||||
|
||||
);
|
||||
|
||||
|
||||
@ -992,7 +992,7 @@ my @regexen = (
|
||||
qr/<\?php\s+\$.+?\"pre\"\.\"g\_\"\.\"rep\"\.\"lace\"\;\s+\$.+?\(strrev\(\"e\/\*\.\/\"\)\,\s+strrev\(\"\(edoced\_46esab\(etalfnizg\(lave\"\)\.\".+?\)\;\s+\?>/is,
|
||||
qr/<\?php\s+\$GLOBALS\[\'([A-z0-9]{1,20})\'\]\s+\=\s+\"\\x.+?\$([A-z0-9]{1,20})\s+\=\s+Array\(\s+\$GLOBALS\[\'([A-z0-9]{1,20})\'\].+?eval\(\$([A-z0-9]{1,20})\[\$GLOBALS\[\'([A-z0-9]{1,20})\'\]\[\d\d\]\]\)\;\s+\}\s+\}/is,
|
||||
qr/<\?php.+?class\s+browseDir\s+\{.+?function\s+upload\(\$ifupload\)\{.+?if\(\!empty\(\$eval\)\s+\&\&\s+\$eval\s+\!\=\s+\'\'\)\{.+?<\/body><\/html>\s+\<\?\}\?>/is,
|
||||
|
||||
qr/<span style="position:absolute;visibility: collapse;">.+?(viagra|cialis|levira|kamagra).+?<\/a>\s+<\/span>/is,
|
||||
|
||||
);
|
||||
|
||||
|
||||
8
scan.py
8
scan.py
@ -177,6 +177,14 @@ whitelist = [
|
||||
'custom-fields/typography/googlefonts-array.php',
|
||||
'wp-content/uploads/sucuri/sucuri-sitecheck.php',
|
||||
'wp-content/plugins/akeebabackupcore/app/restore.php',
|
||||
'/includes/utf/data/recode_cjk.php',
|
||||
'/kernel/includes/smarty/plugins/modifier.base64decode.php',
|
||||
'/kernel/includes/smarty/plugins/function.mime_decode.php',
|
||||
'/common/html/scripts/preview.php',
|
||||
'/html/scripts/core_functions/crypto/crypto_functions.php',
|
||||
'/html/scripts/getwidget.php',
|
||||
'/html/scripts/cc_after.php',
|
||||
|
||||
]
|
||||
|
||||
debug = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user