mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
New ignore argument to exclude files and folders with glob style matching
This commit is contained in:
17
README.md
17
README.md
@@ -9,15 +9,18 @@ How to use?
|
||||
|
||||
```
|
||||
$ php ./scan.php -h
|
||||
Usage scan.php -d <directory> [-e=.php] [--hide-ok] [--hide-whitelist]
|
||||
-d Directory for searching
|
||||
-e=.php Extension
|
||||
--hide-ok Hide OK aka not infected messages
|
||||
--hide-whitelist Hide whitelisted messages
|
||||
--extra-check Adds GoogleBot and htaccess to Scan List
|
||||
--follow-symlink Follow symlinked directories
|
||||
Usage scan.php -d <directory> [-i=<directory|file>] [-e=.php] [--hide-ok] [--hide-whitelist]
|
||||
-d Directory for searching
|
||||
-e=.php Extension
|
||||
-i=<directory|file> Directory of file to igonre
|
||||
--hide-ok Hide OK aka not infected messages
|
||||
--hide-whitelist Hide whitelisted messages
|
||||
--extra-check Adds GoogleBot and htaccess to Scan List
|
||||
--follow-symlink Follow symlinked directories
|
||||
```
|
||||
|
||||
Ignore argument could be used multiple times and accept glob style matching ex.: "cache*", "??-cache.php" or "/cache" etc.
|
||||
|
||||
Whitelisting
|
||||
------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user