D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
csf
/
vestacp
/
Filename :
frame.php
back
Copy
<?php error_reporting(NULL); $env = http_build_query($_GET); if ($env == "") { $env = http_build_query($_POST); } $env = $env."&VESTASESSID=".$_COOKIE["PHPSESSID"]; include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); if ($_SESSION['user'] != 'admin') { header("Location: /list/user"); exit; } exec (VESTA_CMD."csf.pl \"$env\"", $result, $return_var); $header = 1; foreach ($result as $line) { if ($header) { header ("$line\n"); } else { print "$line\n"; } if ($header && $line == "") { $header = 0; } }
Name
Size
Last Modified
Owner
Permissions
Actions
csf.pl
5.454
KB
August 07 2019 3:00:22
root
0644
frame.php
0.517
KB
August 07 2019 2:40:44
root
0644
index.php
0.936
KB
August 07 2019 2:41:13
root
0644
2017 © D7net | D704T team