D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
local
/
sitepad
/
lib
/
panels
/
directadmin
/
user
/
Filename :
index.html
back
Copy
<?php if(!empty($_SERVER['QUERY_STRING'])){ parse_str($_SERVER['QUERY_STRING'], $_GET); foreach($_GET as $k => $v){ $_REQUEST[$k] = $v; } } if(!empty($_SERVER['POST'])){ parse_str($_SERVER['POST'], $_POST); foreach($_POST as $k => $v){ $_REQUEST[$k] = $v; } } echo "HTTP/1.1 200 OK\n"; echo "Content-Type: text/html\n"; if(@$_GET['act'] == 'backups' && !empty($_GET['download']) && substr_count($_GET['download'], './') == 0){ echo 'Content-Disposition: attachment; filename="'.$_GET['download'].'"'."\n"; } echo "\n"; // These commands need to be executed as root $da_version = @shell_exec('/usr/local/directadmin/directadmin v'); include('/usr/local/sitepad/enduser.php'); ?>