mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Removed unneeded time zone and comment.
This commit is contained in:
committed by
Győrvári Gábor
parent
dd78eee67a
commit
608caf6d5e
3
scan.php
3
scan.php
@@ -120,7 +120,6 @@ class MalwareScanner
|
||||
|
||||
private function report($start, $dir)
|
||||
{
|
||||
date_default_timezone_set('Australia/Melbourne');
|
||||
$end = time();
|
||||
echo 'Start time: ' . strftime('%Y-%m-%d %H:%M:%S', $start) . PHP_EOL;
|
||||
echo 'End time: ' . strftime('%Y-%m-%d %H:%M:%S', $end) . PHP_EOL;
|
||||
@@ -137,8 +136,6 @@ date_default_timezone_set('Australia/Melbourne');
|
||||
|
||||
$fileContent = file_get_contents($path);
|
||||
$found = false;
|
||||
//$ExtraCheck = true;
|
||||
|
||||
// check against simple text matches
|
||||
$patterns = array(
|
||||
'uname -a',
|
||||
|
||||
Reference in New Issue
Block a user