Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
usr
/
local
/
sitepad
/
lib
/
panels
/
pdadmin
[ HOME ]
Exec
Submit
index.php
<?php /* error_reporting(E_ALL); ini_set('display_errors', E_ALL); */ //header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 //header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past //header("Content-Type: text/html; charset=UTF-8"); if(!function_exists('shell_exec')){ die('shell_exec function is required for SitePad to work.'); } $array = array(); $array['SERVER'] = $_SERVER; $array['POST'] = $_POST; $array['GET'] = $_GET; $array['REQUEST'] = $_REQUEST; $array['COOKIE'] = $_COOKIE; $sess = md5(uniqid(microtime())); $file = "/var/sitetmp/".$sess; $fp = fopen($file, "a"); if(empty($fp)){ die('Could not write SESSION DATA.'); } fwrite($fp, serialize($array)); fclose($fp); //echo '/usr/local/sitepad/bin/soft '.$sess;die(); echo shell_exec('/usr/local/sitepad/bin/soft '.$sess); @unlink($file); // load.php will also try to delete it! // Just to ensure that there should not be any files as a security measures. $d = date('i'); if($d % 2 == 0){ if ($dh = opendir('/var/sitetmp/')) { while (($dfile = readdir($dh)) !== false) { if($dfile == '.' || $dfile == '..') continue; clearstatcache(); $stime = filemtime('/var/sitetmp/'.$dfile); // Delete the file if its there for more than 10 seconds if($stime < (time() - 10)){ @unlink('/var/sitetmp/'.$dfile); } } closedir($dh); } }
Submit
Back
Folder Name
Submit
File Name
File Content
Submit
Name
Type
Size
Permission
Last Modified
Actions
.
dir
-
0755
2025-11-16 08:44:21
..
dir
-
0755
2025-11-16 08:44:21
.htaccess
file
27 B
0644
2025-11-28 07:18:58
index.php
file
1.33 KB
0644
2025-11-28 07:18:58
php.ini
file
422 B
0644
2025-11-28 07:18:58