diff --git a/scan.php b/scan.php index 79b27e0..e61e04a 100644 --- a/scan.php +++ b/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');