mirror of
https://github.com/scr34m/php-malware-scanner.git
synced 2026-06-16 12:30:35 +00:00
Update to live URL for big data
This commit is contained in:
3
scan.php
3
scan.php
@@ -725,9 +725,8 @@ class MalwareScanner
|
||||
return $key;
|
||||
}
|
||||
|
||||
private function updateBigData()
|
||||
private function updateBigData($url = 'https://scr34m.github.io/php-malware-scanner')
|
||||
{
|
||||
$url = 'http://127.0.0.1:4000';
|
||||
$latest_hash = trim(file_get_contents($url . '/database/compressed.sha256'));
|
||||
if ($latest_hash === false) {
|
||||
$this->error('Unable to download database checksum');
|
||||
|
||||
Reference in New Issue
Block a user