Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php goto A50aa1fc8051f157; ffe668927475a593: $bc2874292e0d9ece = strtolower(basename(..

Decoded Output download

<?php  
 goto A50aa1fc8051f157; ffe668927475a593: $bc2874292e0d9ece = strtolower(basename(get_included_files()[0], ".php")); if (!(isset($F2d4d8f7981ac574["exit"]) && $bc2874292e0d9ece != "status")) { goto Cb23ddddceb34e9b; } db709ED65AE02245(); Cb23ddddceb34e9b: switch ($bc2874292e0d9ece) { case "probe": case "player_api": require_once INCLUDES_PATH . "streaming.php"; XUI::$rSettings = $F2d4d8f7981ac574; XUI::$rAccess = $bc2874292e0d9ece; XUI::init(false); $Fee0d5a474c96306 =& XUI::$db; if ($F2d4d8f7981ac574["enable_cache"]) { goto F14bb405cfda3b56; } XUI::ad0a56BE17E95e81(); $Fee0d5a474c96306 =& XUI::$db; F14bb405cfda3b56: goto c5176ee351410150; case "live": case "thumb": case "subtitle": case "timeshift": case "vod": case "status": require_once INCLUDES_PATH . "streaming.php"; XUI::$rSettings = $F2d4d8f7981ac574; XUI::$rAccess = $bc2874292e0d9ece; XUI::init(false); $Fee0d5a474c96306 =& XUI::$db; goto c5176ee351410150; case "rtmp": case "portal": require_once INCLUDES_PATH . "streaming.php"; XUI::$rSettings = $F2d4d8f7981ac574; XUI::$rAccess = $bc2874292e0d9ece; XUI::init(true); $Fee0d5a474c96306 =& XUI::$db; goto c5176ee351410150; } goto D1773e22bdd946ca; af43990e7ad85771: define("CACHE_TMP_PATH", TMP_PATH . "cache/"); define("DIVERGENCE_TMP_PATH", TMP_PATH . "divergence/"); define("FLOOD_TMP_PATH", TMP_PATH . "flood/"); define("SIGNALS_TMP_PATH", TMP_PATH . "signals/"); define("LOGS_TMP_PATH", TMP_PATH . "logs/"); goto e8b46d56cd4a9cf6; d1024204984181e0: register_shutdown_function("log_fatal"); if (PHP_ERRORS) { goto b52ad3ad6373cd33; } error_reporting(0); ini_set("display_errors", 0); goto feefd36722774ce9; goto Ee3c9192c6929dc1; Ee3c9192c6929dc1: b52ad3ad6373cd33: error_reporting(E_ERROR | E_PARSE); ini_set("display_errors", TRUE); ini_set("display_startup_errors", TRUE); feefd36722774ce9: goto ffe668927475a593; A50aa1fc8051f157: if (!function_exists("getallheaders")) { function getallheaders() { $F9ccc0a027c0e42e = []; foreach ($_SERVER as $name => $F85a6116a4ebf0e5) { if (!(substr($name, 0, 5) == "HTTP_")) { goto fa8da804891d055f; } $F9ccc0a027c0e42e[str_replace(" ", "-", ucwords(strtolower(str_replace("_", " ", substr($name, 5)))))] = $F85a6116a4ebf0e5; fa8da804891d055f: Ee02233c23460f91: } D332371c9a00d203: return $F9ccc0a027c0e42e; } } function panelLog($E379394c7b1a273f, $Ce1f39c684b3082c, $B28e0d26329880d3 = '', $Ff014d0ebd314fcd = 0) { $a27e64cc6ce01033 = array("type" => $E379394c7b1a273f, "message" => $Ce1f39c684b3082c, "extra" => $B28e0d26329880d3, "line" => $Ff014d0ebd314fcd, "time" => time()); file_put_contents(LOGS_TMP_PATH . "error_log.log", base64_encode(json_encode($a27e64cc6ce01033)) . "\xa", FILE_APPEND); } function dB709Ed65Ae02245($A9687919b808af9e = true) { echo "<html>\xd\xa<head><title>404 Not Found</title></head>\xd 
<body>\xd\xa<center><h1>404 Not Found</h1></center>\xd\xa<hr><center>nginx</center> 
</body>\xd\xa</html>\xd 
<!-- a padding to disable MSIE and Chrome friendly error page --> 
<!-- a padding to disable MSIE and Chrome friendly error page -->\xd\xa<!-- a padding to disable MSIE and Chrome friendly error page -->\xd\xa<!-- a padding to disable MSIE and Chrome friendly error page -->\xd 
<!-- a padding to disable MSIE and Chrome friendly error page --> 
\xa<!-- a padding to disable MSIE and Chrome friendly error page -->"; http_response_code(404); if (!$A9687919b808af9e) { goto B4c0068c1754a450; } exit; B4c0068c1754a450: } $A837bcc6210a8d5e = array("CACHE_INCOMPLETE" => "Cache is being generated...", "API_IP_NOT_ALLOWED" => "IP is not allowed to access the API.", "ARCHIVE_DOESNT_EXIST" => "Archive files are missing for this stream ID.", "ASN_BLOCKED" => "ASN has been blocked.", "BANNED" => "Line has been banned.", "BLOCKED_USER_AGENT" => "User-agent has been blocked.", "DEVICE_NOT_ALLOWED" => "MAG & Enigma devices are not allowed to access this.", "DISABLED" => "Line has been disabled.", "DOWNLOAD_LIMIT_REACHED" => "Reached the simultaneous download limit.", "E2_DEVICE_LOCK_FAILED" => "Device lock checks failed.", "E2_DISABLED" => "Device has been disabled.", "E2_NO_TOKEN" => "No token has been specified.", "E2_TOKEN_DOESNT_MATCH" => "Token doesn't match records.", "E2_WATCHDOG_TIMEOUT" => "Time limit reached.", "EMPTY_USER_AGENT" => "Empty user-agents are disallowed.", "EPG_DISABLED" => "EPG has been disabled.", "EPG_FILE_MISSING" => "Cached EPG files are missing.", "EXPIRED" => "Line has expired.", "FORCED_COUNTRY_INVALID" => "Country does not match forced country.", "GENERATE_PLAYLIST_FAILED" => "Playlist failed to generate.", "HLS_DISABLED" => "HLS has been disabled.", "HOSTING_DETECT" => "Hosting server has been detected.", "INVALID_API_PASSWORD" => "API password is invalid.", "INVALID_CREDENTIALS" => "Username or password is invalid.", "INVALID_HOST" => "Domain name not recognised.", "INVALID_STREAM_ID" => "Stream ID doesn't exist.", "INVALID_TYPE_TOKEN" => "Tokens can't be used for this stream type.", "IP_BLOCKED" => "IP has been blocked.", "IP_MISMATCH" => "Current IP doesn\342\x80\231t match initial connection IP.", "ISP_BLOCKED" => "ISP has been blocked.", "LB_TOKEN_INVALID" => "AES Token cannot be decrypted.", "LEGACY_EPG_DISABLED" => "Legacy epg.php access has been disabled.", "LEGACY_GET_DISABLED" => "Legacy get.php access has been disabled.", "LEGACY_PANEL_API_DISABLED" => "Legacy panel_api.php access has been disabled.", "LINE_CREATE_FAIL" => "Line failed to insert into database.", "NO_CREDENTIALS" => "No credentials have been specified.", "NO_TIMESTAMP" => "No archive timestamp has been specified.", "NO_TOKEN_SPECIFIED" => "No AES encrypted token has been specified.", "NOT_ENIGMA_DEVICE" => "Line isn't an enigma device.", "NOT_IN_ALLOWED_COUNTRY" => "Not in allowed country list.", "NOT_IN_ALLOWED_IPS" => "Not in allowed IP list.", "NOT_IN_ALLOWED_UAS" => "Not in allowed user-agent list.", "NOT_IN_BOUQUET" => "Line doesn\342\x80\231t have access to this stream ID.", "PLAYER_API_DISABLED" => "Player API has been disabled.", "PROXY_DETECT" => "Proxy has been detected.", "PROXY_NO_API_ACCESS" => "Can't access API's via proxy.", "RESTREAM_DETECT" => "Restreaming has been detected.", "STALKER_CHANNEL_MISMATCH" => "Stream ID doesn't match stalker token.", "STALKER_DECRYPT_FAILED" => "Failed to decrypt stalker token.", "STALKER_INVALID_KEY" => "Invalid stalker key.", "STALKER_IP_MISMATCH" => "IP doesn't match stalker token.", "STALKER_KEY_EXPIRED" => "Stalker token has expired.", "STREAM_OFFLINE" => "Stream is currently offline.", "SUBTITLE_DOESNT_EXIST" => "Subtitle file doesn\xe2\200\x99t exist.", "THUMBNAIL_DOESNT_EXIST" => "Thumbnail file doesn\xe2\200\x99t exist.", "THUMBNAILS_NOT_ENABLED" => "Thumbnail not enabled for this stream.", "TOKEN_ERROR" => "AES token has incomplete data.", "TOKEN_EXPIRED" => "AES token has expired.", "TS_DISABLED" => "MPEG-TS has been disabled.", "USER_ALREADY_CONNECTED" => "Line already connected on a different IP.", "USER_DISALLOW_EXT" => "Extension is not in allowed list.", "VOD_DOESNT_EXIST" => "VOD file doesn't exist.", "WAIT_TIME_EXPIRED" => "Stream start has timed out, failed to start.", "NO_SERVERS_AVAILABLE" => "No servers are currently available for this stream.", "PROXY_ACCESS_DENIED" => "You cannot access this stream directly while proxy is enabled."); function generateError($D370fc32f973c6ca, $A9687919b808af9e = true, $c47b624a230c406a = null) { goto F24c56b7f4a60dc2; dd09acda3318af7a: Ecb3b74f60ed0d29: goto b81f8c13266773b9; b24728d4b463892b: $f4d55609f9cb97ba = $A837bcc6210a8d5e[$D370fc32f973c6ca] ?: ''; $a4948833d81ce69a = "*{-webkit-box-sizing:border-box;box-sizing:border-box}body{padding:0;margin:0}#notfound{position:relative;height:100vh}#notfound .notfound{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.notfound{max-width:520px;width:100%;line-height:1.4;text-align:center}.notfound .notfound-404{position:relative;height:200px;margin:0 auto 20px;z-index:-1}.notfound .notfound-404 h1{font-family:Montserrat,sans-serif;font-size:236px;font-weight:200;margin:0;color:#211b19;text-transform:uppercase;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.notfound .notfound-404 h2{font-family:Montserrat,sans-serif;font-size:28px;font-weight:400;text-transform:uppercase;color:#211b19;background:#fff;padding:10px 5px;margin:auto;display:inline-block;position:absolute;bottom:0;left:0;right:0}.notfound p{font-family:Montserrat,sans-serif;font-size:14px;font-weight:300;text-transform:uppercase}@media only screen and (max-width:767px){.notfound .notfound-404 h1{font-size:148px}}@media only screen and (max-width:480px){.notfound .notfound-404{height:148px;margin:0 auto 10px}.notfound .notfound-404 h1{font-size:86px}.notfound .notfound-404 h2{font-size:16px}}"; goto F57a57b85c75f761; B9454a6251a7c117: exit; goto c68c858143af656a; Febbe176fb30b902: db709ED65ae02245(); c68c858143af656a: goto dd09acda3318af7a; F24c56b7f4a60dc2: global $A837bcc6210a8d5e, $F2d4d8f7981ac574; if ($F2d4d8f7981ac574["debug_show_errors"]) { goto b24728d4b463892b; } if (!$A9687919b808af9e) { goto Ecb3b74f60ed0d29; } if (!$c47b624a230c406a) { goto Febbe176fb30b902; } http_response_code($c47b624a230c406a); goto B9454a6251a7c117; F57a57b85c75f761: echo "<html><head><title>XUI.one - Debug Mode</title><link href="https://fonts.googleapis.com/css?family=Montserrat:200,400,700" rel="stylesheet"><style>" . $a4948833d81ce69a . "</style></head><body><div id="notfound"><div class="notfound"><div class="notfound-404"><h1>XUI.ONE</h1><h2>" . $D370fc32f973c6ca . "</h2><br/></div><p>" . $f4d55609f9cb97ba . "</p></div></div></body></html>"; if (!$A9687919b808af9e) { goto A7bd634e8af2b50b; } exit; A7bd634e8af2b50b: b81f8c13266773b9: goto B2233b98e01b6017; B2233b98e01b6017: } goto Ee594e563c01ac31; Fa7fd2d5a8544b8f: E64862d3efb85471: if (file_exists(CACHE_TMP_PATH . "settings")) { goto Abd2e984b05b5d09; } $F2d4d8f7981ac574 = array("verify_host" => false, "debug_show_errors" => false, "enable_cache" => false, "exit" => true); goto Dcc858fb7587f917; Abd2e984b05b5d09: goto f89623d58fcf62cb; a66da65071bfe5f7: if (defined("XUI_HOME")) { goto Ebdb229ae56d47ed; } define("XUI_HOME", "/home/xui/"); Ebdb229ae56d47ed: if (defined("CONTENT_PATH")) { goto de0d039a4aec780e; } define("CONTENT_PATH", XUI_HOME . "content/"); goto Ec0aafa5815f91c1; f5c28c325c0a128e: unset($Aa2f26e49d10075a); E6008172988763fb: $b99491451a9e44d8 = $F2d4d8f7981ac574["debug_show_errors"] ?? false; A026ae8827816cf1: define("PHP_ERRORS", $b99491451a9e44d8); goto Adcd7a953f482e13; e7b848948e1b79eb: define("WWW_PATH", XUI_HOME . "www/"); define("CRON_PATH", XUI_HOME . "crons/"); define("SIGNALS_PATH", XUI_HOME . "signals/"); define("PHP_BIN", BIN_PATH . "php/bin/php"); define("FFMPEG_FONT", BIN_PATH . "free-sans.ttf"); goto D3beed243639ad34; Fb51e6f4eff4969b: define("XUI_REVISION", 2); define("XUI_BETA", false); define("CONFIG_PATH", XUI_HOME . "config/"); define("BIN_PATH", XUI_HOME . "bin/"); define("INCLUDES_PATH", XUI_HOME . "includes/"); goto e7b848948e1b79eb; Eff9c3215c78d484: define("OPENSSL_EXTRA", "fNiu3XD448xTDa27xoY4"); define("FFMPEG_BIN_40", BIN_PATH . "ffmpeg_bin/4.0/ffmpeg"); define("FFMPEG_BIN_43", BIN_PATH . "ffmpeg_bin/4.3/ffmpeg"); define("FFMPEG_BIN_44", BIN_PATH . "ffmpeg_bin/4.4/ffmpeg"); if (@$argc) { goto E64862d3efb85471; } goto c599be572b0b6ad9; c599be572b0b6ad9: $c59ec257c284c894 = $_SERVER["REMOTE_ADDR"]; if (!file_exists(FLOOD_TMP_PATH . "block_" . $c59ec257c284c894)) { goto fdd2a77536d4d0ad; } http_response_code(403); exit; fdd2a77536d4d0ad: goto Fa7fd2d5a8544b8f; D1773e22bdd946ca: b2b2e92fc9bf6aa4: goto E476e3518a251d85; f89623d58fcf62cb: $F2d4d8f7981ac574 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "settings")); Dcc858fb7587f917: $b99491451a9e44d8 = false; if (@$argc) { goto A026ae8827816cf1; } define("HOST", trim(explode(":", $_SERVER["HTTP_HOST"])[0])); goto Fae31612a070f530; Ec0aafa5815f91c1: de0d039a4aec780e: if (defined("TMP_PATH")) { goto E6931eb434d3d012; } define("TMP_PATH", XUI_HOME . "tmp/"); E6931eb434d3d012: define("XUI_VERSION", "1.5.12"); goto Fb51e6f4eff4969b; Adcd7a953f482e13: function log_error($D260010af7683f8c, $Ce1f39c684b3082c, $e2f848a82a80c113, $Ff014d0ebd314fcd, $B2976aadbf91a696 = null) { if (!in_array($D260010af7683f8c, array(1, 2, 4))) { goto D19df673444cf5af; } if (!($D260010af7683f8c != 2 or stripos($Ce1f39c684b3082c, "undefined variable") !== false or stripos($Ce1f39c684b3082c, "undefined constant") !== false)) { goto a1c95ee72035bf9a; } panelLog(array(1 => "error", 2 => "warning", 4 => "parse")[$D260010af7683f8c], $Ce1f39c684b3082c, $e2f848a82a80c113, $Ff014d0ebd314fcd); a1c95ee72035bf9a: D19df673444cf5af: } function log_exception($c34ae71903f0d920) { panelLog("exception", $c34ae71903f0d920->getMessage(), $c34ae71903f0d920->getTraceAsString(), $c34ae71903f0d920->getLine()); } function log_fatal() { $D370fc32f973c6ca = error_get_last(); if (!($D370fc32f973c6ca !== NULL && $D370fc32f973c6ca["type"] == 1)) { goto Fd6c230a74acef26; } panelLog("error", $D370fc32f973c6ca["message"], $D370fc32f973c6ca["file"], $D370fc32f973c6ca["line"]); Fd6c230a74acef26: } set_error_handler("log_error"); set_exception_handler("log_exception"); goto d1024204984181e0; e8b46d56cd4a9cf6: define("WATCH_TMP_PATH", TMP_PATH . "watch/"); define("STREAMS_TMP_PATH", TMP_PATH . "cache/streams/"); define("SERIES_TMP_PATH", TMP_PATH . "cache/series/"); define("LINES_TMP_PATH", TMP_PATH . "cache/lines/"); define("MINISTRA_TMP_PATH", TMP_PATH . "ministra/"); goto Eff9c3215c78d484; D3beed243639ad34: define("STREAMS_PATH", CONTENT_PATH . "streams/"); define("VOD_PATH", CONTENT_PATH . "vod/"); define("ARCHIVE_PATH", CONTENT_PATH . "archive/"); define("VIDEO_PATH", CONTENT_PATH . "video/"); define("EPG_PATH", CONTENT_PATH . "epg/"); goto C24111d5766dded2; Fae31612a070f530: if (!(is_array($F2d4d8f7981ac574) && $F2d4d8f7981ac574["verify_host"])) { goto E6008172988763fb; } $Aa2f26e49d10075a = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "allowed_domains")) ?: array(); if (!(is_array($Aa2f26e49d10075a) && count($Aa2f26e49d10075a) > 0 && !in_array(HOST, $Aa2f26e49d10075a) && HOST != "xui" && !filter_var(HOST, FILTER_VALIDATE_IP))) { goto aa5c3e0c79f3d9cb; } generateError("INVALID_HOST"); aa5c3e0c79f3d9cb: goto f5c28c325c0a128e; C24111d5766dded2: define("CLI_PATH", INCLUDES_PATH . "cli/"); define("GEOLITE2_BIN", BIN_PATH . "maxmind/GeoLite2.mmdb"); define("GEOISP_BIN", BIN_PATH . "maxmind/GeoIP2-ISP.mmdb"); define("CIDR_TMP_PATH", TMP_PATH . "cidr/"); define("CONS_TMP_PATH", TMP_PATH . "opened_cons/"); goto af43990e7ad85771; Ee594e563c01ac31: if (!(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"]))) { goto B24e49efaea2bfc5; } DB709eD65ae02245(); B24e49efaea2bfc5: @ini_set("user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"); @ini_set("default_socket_timeout", 5); goto a66da65071bfe5f7; E476e3518a251d85: c5176ee351410150:  
 ?>

Did this file decode correctly?

Original Code

<?php 
 goto A50aa1fc8051f157; ffe668927475a593: $bc2874292e0d9ece = strtolower(basename(get_included_files()[0], ".php")); if (!(isset($F2d4d8f7981ac574["exit"]) && $bc2874292e0d9ece != "status")) { goto Cb23ddddceb34e9b; } db709ED65AE02245(); Cb23ddddceb34e9b: switch ($bc2874292e0d9ece) { case "probe": case "player_api": require_once INCLUDES_PATH . "streaming.php"; XUI::$rSettings = $F2d4d8f7981ac574; XUI::$rAccess = $bc2874292e0d9ece; XUI::init(false); $Fee0d5a474c96306 =& XUI::$db; if ($F2d4d8f7981ac574["enable_cache"]) { goto F14bb405cfda3b56; } XUI::ad0a56BE17E95e81(); $Fee0d5a474c96306 =& XUI::$db; F14bb405cfda3b56: goto c5176ee351410150; case "live": case "thumb": case "subtitle": case "timeshift": case "vod": case "status": require_once INCLUDES_PATH . "streaming.php"; XUI::$rSettings = $F2d4d8f7981ac574; XUI::$rAccess = $bc2874292e0d9ece; XUI::init(false); $Fee0d5a474c96306 =& XUI::$db; goto c5176ee351410150; case "rtmp": case "portal": require_once INCLUDES_PATH . "streaming.php"; XUI::$rSettings = $F2d4d8f7981ac574; XUI::$rAccess = $bc2874292e0d9ece; XUI::init(true); $Fee0d5a474c96306 =& XUI::$db; goto c5176ee351410150; } goto D1773e22bdd946ca; af43990e7ad85771: define("CACHE_TMP_PATH", TMP_PATH . "cache/"); define("DIVERGENCE_TMP_PATH", TMP_PATH . "divergence/"); define("FLOOD_TMP_PATH", TMP_PATH . "flood/"); define("SIGNALS_TMP_PATH", TMP_PATH . "signals/"); define("LOGS_TMP_PATH", TMP_PATH . "logs/"); goto e8b46d56cd4a9cf6; d1024204984181e0: register_shutdown_function("log_fatal"); if (PHP_ERRORS) { goto b52ad3ad6373cd33; } error_reporting(0); ini_set("display_errors", 0); goto feefd36722774ce9; goto Ee3c9192c6929dc1; Ee3c9192c6929dc1: b52ad3ad6373cd33: error_reporting(E_ERROR | E_PARSE); ini_set("display_errors", TRUE); ini_set("display_startup_errors", TRUE); feefd36722774ce9: goto ffe668927475a593; A50aa1fc8051f157: if (!function_exists("getallheaders")) { function getallheaders() { $F9ccc0a027c0e42e = []; foreach ($_SERVER as $name => $F85a6116a4ebf0e5) { if (!(substr($name, 0, 5) == "HTTP_")) { goto fa8da804891d055f; } $F9ccc0a027c0e42e[str_replace(" ", "-", ucwords(strtolower(str_replace("_", " ", substr($name, 5)))))] = $F85a6116a4ebf0e5; fa8da804891d055f: Ee02233c23460f91: } D332371c9a00d203: return $F9ccc0a027c0e42e; } } function panelLog($E379394c7b1a273f, $Ce1f39c684b3082c, $B28e0d26329880d3 = '', $Ff014d0ebd314fcd = 0) { $a27e64cc6ce01033 = array("type" => $E379394c7b1a273f, "message" => $Ce1f39c684b3082c, "extra" => $B28e0d26329880d3, "line" => $Ff014d0ebd314fcd, "time" => time()); file_put_contents(LOGS_TMP_PATH . "error_log.log", base64_encode(json_encode($a27e64cc6ce01033)) . "\xa", FILE_APPEND); } function dB709Ed65Ae02245($A9687919b808af9e = true) { echo "<html>\xd\xa<head><title>404 Not Found</title></head>\xd
<body>\xd\xa<center><h1>404 Not Found</h1></center>\xd\xa<hr><center>nginx</center>
</body>\xd\xa</html>\xd
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->\xd\xa<!-- a padding to disable MSIE and Chrome friendly error page -->\xd\xa<!-- a padding to disable MSIE and Chrome friendly error page -->\xd
<!-- a padding to disable MSIE and Chrome friendly error page -->
\xa<!-- a padding to disable MSIE and Chrome friendly error page -->"; http_response_code(404); if (!$A9687919b808af9e) { goto B4c0068c1754a450; } exit; B4c0068c1754a450: } $A837bcc6210a8d5e = array("CACHE_INCOMPLETE" => "Cache is being generated...", "API_IP_NOT_ALLOWED" => "IP is not allowed to access the API.", "ARCHIVE_DOESNT_EXIST" => "Archive files are missing for this stream ID.", "ASN_BLOCKED" => "ASN has been blocked.", "BANNED" => "Line has been banned.", "BLOCKED_USER_AGENT" => "User-agent has been blocked.", "DEVICE_NOT_ALLOWED" => "MAG & Enigma devices are not allowed to access this.", "DISABLED" => "Line has been disabled.", "DOWNLOAD_LIMIT_REACHED" => "Reached the simultaneous download limit.", "E2_DEVICE_LOCK_FAILED" => "Device lock checks failed.", "E2_DISABLED" => "Device has been disabled.", "E2_NO_TOKEN" => "No token has been specified.", "E2_TOKEN_DOESNT_MATCH" => "Token doesn't match records.", "E2_WATCHDOG_TIMEOUT" => "Time limit reached.", "EMPTY_USER_AGENT" => "Empty user-agents are disallowed.", "EPG_DISABLED" => "EPG has been disabled.", "EPG_FILE_MISSING" => "Cached EPG files are missing.", "EXPIRED" => "Line has expired.", "FORCED_COUNTRY_INVALID" => "Country does not match forced country.", "GENERATE_PLAYLIST_FAILED" => "Playlist failed to generate.", "HLS_DISABLED" => "HLS has been disabled.", "HOSTING_DETECT" => "Hosting server has been detected.", "INVALID_API_PASSWORD" => "API password is invalid.", "INVALID_CREDENTIALS" => "Username or password is invalid.", "INVALID_HOST" => "Domain name not recognised.", "INVALID_STREAM_ID" => "Stream ID doesn't exist.", "INVALID_TYPE_TOKEN" => "Tokens can't be used for this stream type.", "IP_BLOCKED" => "IP has been blocked.", "IP_MISMATCH" => "Current IP doesn\342\x80\231t match initial connection IP.", "ISP_BLOCKED" => "ISP has been blocked.", "LB_TOKEN_INVALID" => "AES Token cannot be decrypted.", "LEGACY_EPG_DISABLED" => "Legacy epg.php access has been disabled.", "LEGACY_GET_DISABLED" => "Legacy get.php access has been disabled.", "LEGACY_PANEL_API_DISABLED" => "Legacy panel_api.php access has been disabled.", "LINE_CREATE_FAIL" => "Line failed to insert into database.", "NO_CREDENTIALS" => "No credentials have been specified.", "NO_TIMESTAMP" => "No archive timestamp has been specified.", "NO_TOKEN_SPECIFIED" => "No AES encrypted token has been specified.", "NOT_ENIGMA_DEVICE" => "Line isn't an enigma device.", "NOT_IN_ALLOWED_COUNTRY" => "Not in allowed country list.", "NOT_IN_ALLOWED_IPS" => "Not in allowed IP list.", "NOT_IN_ALLOWED_UAS" => "Not in allowed user-agent list.", "NOT_IN_BOUQUET" => "Line doesn\342\x80\231t have access to this stream ID.", "PLAYER_API_DISABLED" => "Player API has been disabled.", "PROXY_DETECT" => "Proxy has been detected.", "PROXY_NO_API_ACCESS" => "Can't access API's via proxy.", "RESTREAM_DETECT" => "Restreaming has been detected.", "STALKER_CHANNEL_MISMATCH" => "Stream ID doesn't match stalker token.", "STALKER_DECRYPT_FAILED" => "Failed to decrypt stalker token.", "STALKER_INVALID_KEY" => "Invalid stalker key.", "STALKER_IP_MISMATCH" => "IP doesn't match stalker token.", "STALKER_KEY_EXPIRED" => "Stalker token has expired.", "STREAM_OFFLINE" => "Stream is currently offline.", "SUBTITLE_DOESNT_EXIST" => "Subtitle file doesn\xe2\200\x99t exist.", "THUMBNAIL_DOESNT_EXIST" => "Thumbnail file doesn\xe2\200\x99t exist.", "THUMBNAILS_NOT_ENABLED" => "Thumbnail not enabled for this stream.", "TOKEN_ERROR" => "AES token has incomplete data.", "TOKEN_EXPIRED" => "AES token has expired.", "TS_DISABLED" => "MPEG-TS has been disabled.", "USER_ALREADY_CONNECTED" => "Line already connected on a different IP.", "USER_DISALLOW_EXT" => "Extension is not in allowed list.", "VOD_DOESNT_EXIST" => "VOD file doesn't exist.", "WAIT_TIME_EXPIRED" => "Stream start has timed out, failed to start.", "NO_SERVERS_AVAILABLE" => "No servers are currently available for this stream.", "PROXY_ACCESS_DENIED" => "You cannot access this stream directly while proxy is enabled."); function generateError($D370fc32f973c6ca, $A9687919b808af9e = true, $c47b624a230c406a = null) { goto F24c56b7f4a60dc2; dd09acda3318af7a: Ecb3b74f60ed0d29: goto b81f8c13266773b9; b24728d4b463892b: $f4d55609f9cb97ba = $A837bcc6210a8d5e[$D370fc32f973c6ca] ?: ''; $a4948833d81ce69a = "*{-webkit-box-sizing:border-box;box-sizing:border-box}body{padding:0;margin:0}#notfound{position:relative;height:100vh}#notfound .notfound{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.notfound{max-width:520px;width:100%;line-height:1.4;text-align:center}.notfound .notfound-404{position:relative;height:200px;margin:0 auto 20px;z-index:-1}.notfound .notfound-404 h1{font-family:Montserrat,sans-serif;font-size:236px;font-weight:200;margin:0;color:#211b19;text-transform:uppercase;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.notfound .notfound-404 h2{font-family:Montserrat,sans-serif;font-size:28px;font-weight:400;text-transform:uppercase;color:#211b19;background:#fff;padding:10px 5px;margin:auto;display:inline-block;position:absolute;bottom:0;left:0;right:0}.notfound p{font-family:Montserrat,sans-serif;font-size:14px;font-weight:300;text-transform:uppercase}@media only screen and (max-width:767px){.notfound .notfound-404 h1{font-size:148px}}@media only screen and (max-width:480px){.notfound .notfound-404{height:148px;margin:0 auto 10px}.notfound .notfound-404 h1{font-size:86px}.notfound .notfound-404 h2{font-size:16px}}"; goto F57a57b85c75f761; B9454a6251a7c117: exit; goto c68c858143af656a; Febbe176fb30b902: db709ED65ae02245(); c68c858143af656a: goto dd09acda3318af7a; F24c56b7f4a60dc2: global $A837bcc6210a8d5e, $F2d4d8f7981ac574; if ($F2d4d8f7981ac574["debug_show_errors"]) { goto b24728d4b463892b; } if (!$A9687919b808af9e) { goto Ecb3b74f60ed0d29; } if (!$c47b624a230c406a) { goto Febbe176fb30b902; } http_response_code($c47b624a230c406a); goto B9454a6251a7c117; F57a57b85c75f761: echo "<html><head><title>XUI.one - Debug Mode</title><link href="https://fonts.googleapis.com/css?family=Montserrat:200,400,700" rel="stylesheet"><style>" . $a4948833d81ce69a . "</style></head><body><div id="notfound"><div class="notfound"><div class="notfound-404"><h1>XUI.ONE</h1><h2>" . $D370fc32f973c6ca . "</h2><br/></div><p>" . $f4d55609f9cb97ba . "</p></div></div></body></html>"; if (!$A9687919b808af9e) { goto A7bd634e8af2b50b; } exit; A7bd634e8af2b50b: b81f8c13266773b9: goto B2233b98e01b6017; B2233b98e01b6017: } goto Ee594e563c01ac31; Fa7fd2d5a8544b8f: E64862d3efb85471: if (file_exists(CACHE_TMP_PATH . "settings")) { goto Abd2e984b05b5d09; } $F2d4d8f7981ac574 = array("verify_host" => false, "debug_show_errors" => false, "enable_cache" => false, "exit" => true); goto Dcc858fb7587f917; Abd2e984b05b5d09: goto f89623d58fcf62cb; a66da65071bfe5f7: if (defined("XUI_HOME")) { goto Ebdb229ae56d47ed; } define("XUI_HOME", "/home/xui/"); Ebdb229ae56d47ed: if (defined("CONTENT_PATH")) { goto de0d039a4aec780e; } define("CONTENT_PATH", XUI_HOME . "content/"); goto Ec0aafa5815f91c1; f5c28c325c0a128e: unset($Aa2f26e49d10075a); E6008172988763fb: $b99491451a9e44d8 = $F2d4d8f7981ac574["debug_show_errors"] ?? false; A026ae8827816cf1: define("PHP_ERRORS", $b99491451a9e44d8); goto Adcd7a953f482e13; e7b848948e1b79eb: define("WWW_PATH", XUI_HOME . "www/"); define("CRON_PATH", XUI_HOME . "crons/"); define("SIGNALS_PATH", XUI_HOME . "signals/"); define("PHP_BIN", BIN_PATH . "php/bin/php"); define("FFMPEG_FONT", BIN_PATH . "free-sans.ttf"); goto D3beed243639ad34; Fb51e6f4eff4969b: define("XUI_REVISION", 2); define("XUI_BETA", false); define("CONFIG_PATH", XUI_HOME . "config/"); define("BIN_PATH", XUI_HOME . "bin/"); define("INCLUDES_PATH", XUI_HOME . "includes/"); goto e7b848948e1b79eb; Eff9c3215c78d484: define("OPENSSL_EXTRA", "fNiu3XD448xTDa27xoY4"); define("FFMPEG_BIN_40", BIN_PATH . "ffmpeg_bin/4.0/ffmpeg"); define("FFMPEG_BIN_43", BIN_PATH . "ffmpeg_bin/4.3/ffmpeg"); define("FFMPEG_BIN_44", BIN_PATH . "ffmpeg_bin/4.4/ffmpeg"); if (@$argc) { goto E64862d3efb85471; } goto c599be572b0b6ad9; c599be572b0b6ad9: $c59ec257c284c894 = $_SERVER["REMOTE_ADDR"]; if (!file_exists(FLOOD_TMP_PATH . "block_" . $c59ec257c284c894)) { goto fdd2a77536d4d0ad; } http_response_code(403); exit; fdd2a77536d4d0ad: goto Fa7fd2d5a8544b8f; D1773e22bdd946ca: b2b2e92fc9bf6aa4: goto E476e3518a251d85; f89623d58fcf62cb: $F2d4d8f7981ac574 = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "settings")); Dcc858fb7587f917: $b99491451a9e44d8 = false; if (@$argc) { goto A026ae8827816cf1; } define("HOST", trim(explode(":", $_SERVER["HTTP_HOST"])[0])); goto Fae31612a070f530; Ec0aafa5815f91c1: de0d039a4aec780e: if (defined("TMP_PATH")) { goto E6931eb434d3d012; } define("TMP_PATH", XUI_HOME . "tmp/"); E6931eb434d3d012: define("XUI_VERSION", "1.5.12"); goto Fb51e6f4eff4969b; Adcd7a953f482e13: function log_error($D260010af7683f8c, $Ce1f39c684b3082c, $e2f848a82a80c113, $Ff014d0ebd314fcd, $B2976aadbf91a696 = null) { if (!in_array($D260010af7683f8c, array(1, 2, 4))) { goto D19df673444cf5af; } if (!($D260010af7683f8c != 2 or stripos($Ce1f39c684b3082c, "undefined variable") !== false or stripos($Ce1f39c684b3082c, "undefined constant") !== false)) { goto a1c95ee72035bf9a; } panelLog(array(1 => "error", 2 => "warning", 4 => "parse")[$D260010af7683f8c], $Ce1f39c684b3082c, $e2f848a82a80c113, $Ff014d0ebd314fcd); a1c95ee72035bf9a: D19df673444cf5af: } function log_exception($c34ae71903f0d920) { panelLog("exception", $c34ae71903f0d920->getMessage(), $c34ae71903f0d920->getTraceAsString(), $c34ae71903f0d920->getLine()); } function log_fatal() { $D370fc32f973c6ca = error_get_last(); if (!($D370fc32f973c6ca !== NULL && $D370fc32f973c6ca["type"] == 1)) { goto Fd6c230a74acef26; } panelLog("error", $D370fc32f973c6ca["message"], $D370fc32f973c6ca["file"], $D370fc32f973c6ca["line"]); Fd6c230a74acef26: } set_error_handler("log_error"); set_exception_handler("log_exception"); goto d1024204984181e0; e8b46d56cd4a9cf6: define("WATCH_TMP_PATH", TMP_PATH . "watch/"); define("STREAMS_TMP_PATH", TMP_PATH . "cache/streams/"); define("SERIES_TMP_PATH", TMP_PATH . "cache/series/"); define("LINES_TMP_PATH", TMP_PATH . "cache/lines/"); define("MINISTRA_TMP_PATH", TMP_PATH . "ministra/"); goto Eff9c3215c78d484; D3beed243639ad34: define("STREAMS_PATH", CONTENT_PATH . "streams/"); define("VOD_PATH", CONTENT_PATH . "vod/"); define("ARCHIVE_PATH", CONTENT_PATH . "archive/"); define("VIDEO_PATH", CONTENT_PATH . "video/"); define("EPG_PATH", CONTENT_PATH . "epg/"); goto C24111d5766dded2; Fae31612a070f530: if (!(is_array($F2d4d8f7981ac574) && $F2d4d8f7981ac574["verify_host"])) { goto E6008172988763fb; } $Aa2f26e49d10075a = igbinary_unserialize(file_get_contents(CACHE_TMP_PATH . "allowed_domains")) ?: array(); if (!(is_array($Aa2f26e49d10075a) && count($Aa2f26e49d10075a) > 0 && !in_array(HOST, $Aa2f26e49d10075a) && HOST != "xui" && !filter_var(HOST, FILTER_VALIDATE_IP))) { goto aa5c3e0c79f3d9cb; } generateError("INVALID_HOST"); aa5c3e0c79f3d9cb: goto f5c28c325c0a128e; C24111d5766dded2: define("CLI_PATH", INCLUDES_PATH . "cli/"); define("GEOLITE2_BIN", BIN_PATH . "maxmind/GeoLite2.mmdb"); define("GEOISP_BIN", BIN_PATH . "maxmind/GeoIP2-ISP.mmdb"); define("CIDR_TMP_PATH", TMP_PATH . "cidr/"); define("CONS_TMP_PATH", TMP_PATH . "opened_cons/"); goto af43990e7ad85771; Ee594e563c01ac31: if (!(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"]))) { goto B24e49efaea2bfc5; } DB709eD65ae02245(); B24e49efaea2bfc5: @ini_set("user_agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"); @ini_set("default_socket_timeout", 5); goto a66da65071bfe5f7; E476e3518a251d85: c5176ee351410150: 
 ?>

Function Calls

None

Variables

None

Stats

MD5 35a18505a9185a2b579f7ce8124d2838
Eval Count 0
Decode Time 50 ms