diff --git a/src/server/cyberhex-code/api/php/virus/notify_virus.php b/src/server/cyberhex-code/api/php/virus/notify_virus.php index 3f26932..8b412a4 100644 --- a/src/server/cyberhex-code/api/php/virus/notify_virus.php +++ b/src/server/cyberhex-code/api/php/virus/notify_virus.php @@ -8,11 +8,11 @@ if(check_apikey()!==true){ //add the entry to the log db //this page has no gui, it may return ok or error -if(!isset($_GET["machine_id"]) or !isset($_GET["hash"]) or !isset($_GET["path"]) or !isset($_GET["action"])) +if(!isset($_GET["machine_id"]) or !isset($_GET["hash"]) or !isset($_GET["file"]) or !isset($_GET["action"])) echo("syn_err"); else{ $hash=htmlspecialchars($_GET["hash"]); - $path=htmlspecialchars($_GET["path"]); + $path=htmlspecialchars($_GET["file"]); $machine_id=htmlspecialchars($_GET["machine_id"]); $action=htmlspecialchars($_GET["action"]); //include db pw