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: php scan.php -d <directory>
|
||||||
Usage scan.php -d <directory> [-i=<directory|file>] [-e=.php] [--hide-ok] [--hide-whitelist]
|
-h --help Show this help message
|
||||||
-d Directory for searching
|
-d <directory> --directory Directory for searching
|
||||||
-e=.php Extension
|
-e <file extension> --extension File Extension to Scan
|
||||||
-i=<directory|file> Directory of file to igonre
|
-i <directory|file> --ignore Directory of file to ignore
|
||||||
--hide-ok Hide OK aka not infected messages
|
-a --all-output Enables --checksum,--comment,--pattern,--time
|
||||||
--hide-whitelist Hide whitelisted messages
|
-b --base64 Scan for base64 encoded PHP keywords
|
||||||
--extra-check Adds GoogleBot and htaccess to Scan List
|
-m --checksum Display MD5 Hash/Checksum of file
|
||||||
--follow-symlink Follow symlinked directories
|
-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.
|
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