mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
updated flags
updated flags checksum can be -m for md5 comment can be -c for comment
This commit is contained in:
8
scan.php
8
scan.php
@@ -176,10 +176,10 @@ class MalwareScanner
|
||||
if (isset($options['base64']) || isset($options['b'])){
|
||||
$this->flagBase64 = true;
|
||||
}
|
||||
if (isset($options['checksum']) || isset($options['c'])){
|
||||
if (isset($options['checksum']) || isset($options['m'])){
|
||||
$this->flagChecksum = true;
|
||||
}
|
||||
if (isset($options['comment']) || isset($options['a'])){
|
||||
if (isset($options['comment']) || isset($options['c'])){
|
||||
$this->flagComments = true;
|
||||
}
|
||||
if (isset($options['extra-check']) || isset($options['x'])) {
|
||||
@@ -421,8 +421,8 @@ class MalwareScanner
|
||||
echo ' -e <file extension> --extension File Extension to Scan' . PHP_EOL;
|
||||
echo ' -i <directory|file> --ignore Directory of file to igonre' . PHP_EOL;
|
||||
echo ' -b --base64 Scan for base64 encoded PHP keywords' . PHP_EOL;
|
||||
echo ' -c --checksum Display MD5 Checksum of file' . PHP_EOL;
|
||||
echo ' -a --comment Display comments for matched patterns' . PHP_EOL;
|
||||
echo ' -m --checksum Display MD5 Checksum of file' . PHP_EOL;
|
||||
echo ' -c --comment Display comments for matched patterns' . PHP_EOL;
|
||||
echo ' -x --extra-check Adds GoogleBot and htaccess to Scan List' . PHP_EOL;
|
||||
echo ' -l --follow-symlink Follow symlinked directories' . PHP_EOL;
|
||||
echo ' -k --hide-ok Hide OK aka not infected messages' . PHP_EOL;
|
||||
|
||||
Reference in New Issue
Block a user