mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Updated with new Usage Information
Updated with new Usage Information - Mostly just new flags.
This commit is contained in:
26
README.md
26
README.md
@@ -8,15 +8,23 @@ How to use?
|
||||
-----------
|
||||
|
||||
```
|
||||
$ php ./scan.php -h
|
||||
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
|
||||
Usage: php scan.php -d <directory>
|
||||
-h --help Show this help message
|
||||
-d <directory> --directory Directory for searching
|
||||
-e <file extension> --extension File Extension to Scan
|
||||
-i <directory|file> --ignore Directory of file to ignore
|
||||
-a --all-output Enables --checksum,--comment,--pattern,--time
|
||||
-b --base64 Scan for base64 encoded PHP keywords
|
||||
-m --checksum Display MD5 Hash/Checksum of file
|
||||
-c --comment Display comments for matched patterns
|
||||
-x --extra-check Adds GoogleBot and htaccess to Scan List
|
||||
-l --follow-symlink Follow symlinked directories
|
||||
-k --hide-ok Hide results with 'OK' status
|
||||
-w --hide-whitelist Hide results with 'WL' status
|
||||
-n --no-color Disable color mode
|
||||
-s --no-stop Continue scanning file after first hit
|
||||
-p --pattern Show Patterns next to the file name
|
||||
-t --time Show time of last file change
|
||||
```
|
||||
|
||||
Ignore argument could be used multiple times and accept glob style matching ex.: "cache*", "??-cache.php" or "/cache" etc.
|
||||
|
||||
Reference in New Issue
Block a user