Separate patterns from code

This commit is contained in:
Gabor Gyorvari
2017-02-22 13:56:09 +01:00
parent acb58f1c2e
commit cd78f4a8ac
4 changed files with 189 additions and 200 deletions

View File

@@ -21,6 +21,11 @@ Usage scan.php -d <directory> [-i=<directory|file>] [-e=.php] [--hide-ok] [--hid
Ignore argument could be used multiple times and accept glob style matching ex.: "cache*", "??-cache.php" or "/cache" etc.
Patterns
--------
There are two different pattern source, each line in these files is a patter so patterns_raw.txt lines searched as-is, patterns_re.txt used with preg_match function.
Whitelisting
------------