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)
|
private function report($start, $dir)
|
||||||
{
|
{
|
||||||
date_default_timezone_set('Australia/Melbourne');
|
|
||||||
$end = time();
|
$end = time();
|
||||||
echo 'Start time: ' . strftime('%Y-%m-%d %H:%M:%S', $start) . PHP_EOL;
|
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;
|
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);
|
$fileContent = file_get_contents($path);
|
||||||
$found = false;
|
$found = false;
|
||||||
//$ExtraCheck = true;
|
|
||||||
|
|
||||||
// check against simple text matches
|
// check against simple text matches
|
||||||
$patterns = array(
|
$patterns = array(
|
||||||
'uname -a',
|
'uname -a',
|
||||||
|
|||||||
Reference in New Issue
Block a user