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 JGsyE; dnLDm: function unique_perm($perm) { require_once "\143\157\x6e\x66\15..

Decoded Output download

<?php 
 goto JGsyE; dnLDm: function unique_perm($perm) { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("SELECT * FROM `u_user_permissions` WHERE `udid` = ? AND `permission` = 'unique.*'"); $permtype->bindParam(1, $_SESSION["u_user"]["udid"]); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { return true; } $permtype = $connx->prepare("SELECT * FROM `u_user_permissions` WHERE `udid` = ? AND `permission` = ?"); $permtype->bindParam(1, $_SESSION["u_user"]["udid"]); $permtype->bindParam(2, $perm); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { return true; } return false; } goto RyIew; pMbvu: $url = "https://vuhp.vanityproyect.fun/Unique/wrequest?v2=" . LICENSE_KEY . "&pl=UniqueSystem"; goto N0S5G; DQ6qt: function discordinfo() { $discordinformation = json_decode(file_get_contents("https://discordapp.com/api/users/623308343582130187")); $discord_info_name = $discordinformation->name; return $discord_info_name; } goto jsWlm; Ty3_p: function is_animated($image) { $ext = substr($image, 0, 2); if ($ext == "a_") { return ".gif"; } else { return ".png"; } } goto pMbvu; yfYiX: if ($response === false) { echo "Error.. Please contact the administrator of Vanity Proyect."; } else { $data = json_decode($response, true); if ($data === null) { echo "Error... Please contact the administrator of Vanity Proyect."; } else { $exito = $data["exito"]; $mensaje = $data["mensaje"]; if (!$exito) { echo $mensaje; die; } } } goto KmrSh; KmrSh: function countsSQL($sql, $where = "none", $load = '', $player = '') { $t = 0; require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); if ($where == "none") { $countOfMySQL = $connx->prepare("SELECT COUNT(id) AS total FROM `" . $sql . "`"); } else { if ($player != '') { $countOfMySQL = $connx->prepare("SELECT COUNT(id) AS total FROM `" . $sql . "` WHERE `" . $where . "` = ? AND `" . $player . "` = ?"); $countOfMySQL->bindParam(1, $load); $countOfMySQL->bindParam(2, $_SESSION["u_user"]["id"]); } else { $countOfMySQL = $connx->prepare("SELECT COUNT(id) AS total FROM `" . $sql . "` WHERE `" . $where . "` = ?"); $countOfMySQL->bindParam(1, $load); } } $countOfMySQL->execute(); $count = $countOfMySQL->fetch(PDO::FETCH_ASSOC); $t = $count["total"]; if ($t >= 0) { $total = $t; } if ($t >= 1000) { $total = substr($t, 0, 1) . "k"; } if ($t >= 10000) { $total = substr($t, 0, 2) . "k"; } if ($t >= 100000) { $total = substr($t, 0, 3) . "k"; } if ($t >= 1000000) { $total = substr($t, 0, 1) . "m " . substr($t, 1, 3) . "k"; } return $total; } goto KIXzs; x1RiV: function icon_config($icon, $status) { if (!$status) { return; } return "<i class="fa fa-" . $icon . ""></i>"; } goto coKOy; tA9_3: function give_role($serverid, $bottoken, $roleid, $userid) { $discordlink = "https://discord.com"; $datas = json_encode(array("roles" => array($roleid))); $urle = $discordlink . "/api/guilds/" . $serverid . "/members/" . $userid . "/roles/" . $roleid; $headeres = array("Content-Type: application/json", "Authorization: Bot " . $bottoken); $curls = curl_init(); curl_setopt($curls, CURLOPT_URL, $urle); curl_setopt($curls, CURLOPT_RETURNTRANSFER, true); curl_setopt($curls, CURLOPT_CUSTOMREQUEST, "PUT"); curl_setopt($curls, CURLOPT_HTTPHEADER, $headeres); curl_setopt($curls, CURLOPT_POSTFIELDS, $datas); $responses = curl_exec($curls); curl_close($curls); $result = json_decode($responses, true); return $result; } goto x1RiV; SsTnK: function theme($in, $dark, $light) { if ($in == "dark") { $themes = $dark; } else { $themes = $light; } return $themes; } goto Ty3_p; tzG2I: function send_messageDC($bottoken, $client, $message) { $token = $bottoken; $recipient_id = $client; $url = "https://discord.com/api/v10/users/@me/channels"; $headers = array("Authorization: Bot {$token}", "Content-Type: application/json"); $data = json_encode(array("recipient_id" => $recipient_id)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if ($response === false) { die("Error al enviar la solicitud cURL: " . curl_error($ch)); } $channel_data = json_decode($response, true); $channel_id = $channel_data["id"]; $message_url = "https://discord.com/api/v10/channels/{$channel_id}/messages"; $message_data = json_encode(array("content" => $message, "embed" => array("title" => "Ttulo del Embed", "description" => "Este es un mensaje con un embed.", "color" => hexdec("00FF00")))); curl_setopt($ch, CURLOPT_URL, $message_url); curl_setopt($ch, CURLOPT_POSTFIELDS, $message_data); $message_response = curl_exec($ch); if ($message_response === false) { die("Error al enviar el mensaje: " . curl_error($ch)); } curl_close($ch); } goto tA7Ws; coKOy: function licenseGenerator($length = 50, $char = false, $large = 1) { if ($char) { $characters = "ASDFGHJKLZXCVBNMQWERTYUIOP1234567890"; } else { $characters = "asdfghjklzxcvbnmqwertyuiop1234567890"; } $charactersLength = strlen($characters); $randomString = ''; $randomString1 = ''; $randomString2 = ''; $randomString3 = ''; $randomString4 = ''; $randomString5 = ''; $randomString6 = ''; $finalString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charactersLength - 1)]; $randomString1 .= $characters[rand(0, $charactersLength - 1)]; $randomString2 .= $characters[rand(0, $charactersLength - 1)]; $randomString3 .= $characters[rand(0, $charactersLength - 1)]; $randomString4 .= $characters[rand(0, $charactersLength - 1)]; $randomString5 .= $characters[rand(0, $charactersLength - 1)]; $randomString6 .= $characters[rand(0, $charactersLength - 1)]; } if ($large == 6) { $finalString = $randomString . "-" . $randomString1 . "-" . $randomString2 . "-" . $randomString3 . "-" . $randomString4 . "-" . $randomString5 . "-" . $randomString6; } else { if ($large == 5) { $finalString = $randomString . "-" . $randomString1 . "-" . $randomString2 . "-" . $randomString3 . "-" . $randomString4 . "-" . $randomString5; } else { if ($large == 4) { $finalString = $randomString . "-" . $randomString1 . "-" . $randomString2 . "-" . $randomString3 . "-" . $randomString4; } else { if ($large == 3) { $finalString = $randomString . "-" . $randomString1 . "-" . $randomString2 . "-" . $randomString3; } else { if ($large == 2) { $finalString = $randomString . "-" . $randomString1 . "-" . $randomString2; } else { if ($large == 1) { $finalString = $randomString . "-" . $randomString1; } else { $finalString = $randomString . "-" . $randomString1 . "-" . $randomString2 . "-" . $randomString3; } } } } } } return $finalString; } goto tzG2I; B8qYO: function webhook($whurl, $botname, $msg1, $title, $desc, $url, $color, $img, $imgthumb, $field_title, $field_desc, $field_title2, $field_desc2, $field_title3, $field_desc3, $field_title4, $field_desc4, $field_title5, $field_desc5) { $webhookurl = $whurl; $timestamp = date("c", strtotime("now")); $json_data = json_encode(array("content" => $msg1, "username" => $botname, "avatar_url" => "https://vuhp.vanityproyect.com/Unique/static/img/uniquelogo.png", "tts" => false, "embeds" => array(array("title" => $title, "type" => "rich", "description" => $desc, "url" => $url, "timestamp" => $timestamp, "color" => hexdec("DC4C64"), "footer" => array("text" => "Unique System", "icon_url" => "https://proyectojp.com/static/img/Versal-logo-make.png"), "image" => array("url" => $img), "thumbnail" => array("url" => $imgthumb), "fields" => array(array("name" => $field_title, "value" => $field_desc, "inline" => true), array("name" => $field_title2, "value" => $field_desc2, "inline" => true), array("name" => $field_title3, "value" => $field_desc3, "inline" => true), array("name" => $field_title4, "value" => $field_desc4, "inline" => false), array("name" => $field_title5, "value" => $field_desc5, "inline" => false))))), JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); $ch = curl_init($webhookurl); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-type: application/json")); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); curl_close($ch); } goto tA9_3; N0S5G: $response = file_get_contents($url); goto yfYiX; RyIew: function unique_perm_other($id, $perm) { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("SELECT * FROM `u_user_permissions` WHERE `udid` = ? AND `permission` = ?"); $permtype->bindParam(1, $id); $permtype->bindParam(2, $perm); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { return true; } return false; } goto DQ6qt; v089F: require_once "execute/database.php"; goto cYIJX; jsWlm: function ul_page($page, $name) { if ($page == $name) { return "active"; } } goto cmikD; cmikD: function edit_license($id, $key, $client, $maxips, $limitr, $product, $status, $expire, $expiretime, $bound) { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); if ($expire == "Never") { $exp = "-1"; } else { $exp = strtotime("+" . $expiretime . " " . $expire); } if ($maxips <= 0) { $max = 1; } else { $max = $maxips; } if ($status == '') { $status = 1; } $editLicense = $connx->prepare("UPDATE `u_license` SET `udid` = ?, `license` = ?, `product` = ?, `boundProduct` = ?, `expire` = ?, `maxIps` = ?, `status` = ?, `resetips` = ? WHERE `id` = ?"); $editLicense->bindParam(1, $client); $editLicense->bindParam(2, $key); $editLicense->bindParam(3, $product); $editLicense->bindParam(4, $bound); $editLicense->bindParam(5, $exp); $editLicense->bindParam(6, $max); $editLicense->bindParam(7, $status); $editLicense->bindParam(8, $limitr); $editLicense->bindParam(9, $id); $editLicense->execute(); return "<script> location.href ='./'; </script>"; } goto SsTnK; FV88F: function counttime($date, $lang, $dates = "datetime") { if ($dates == "datetime") { $timestamp = strtotime($date); } else { $timestamp = $date; } if ($lang == "ES") { $strTime = array("seg", "min", "hora", "dia", "mes", "ao"); } else { if ($lang == "US") { $strTime = array("sec", "min", "hour", "day", "month", "year"); } } $length = array("60", "60", "24", "30", "12", "10"); $currentTime = time(); if ($currentTime >= $timestamp) { $diff = time() - $timestamp; for ($i = 0; $diff >= $length[$i] && $i < count($length) - 1; $i++) { $diff = $diff / $length[$i]; } $diff = round($diff); if ($diff > 1) { if ($lang == "ES" and $strTime[$i] == "mes") { $timeName = $strTime[$i] . "es"; } else { $timeName = $strTime[$i] . "s"; } } else { $timeName = $strTime[$i]; } if ($lang == "ES") { return " hace " . $diff . " " . $timeName; } else { if ($lang == "US") { return $diff . " " . $timeName . " ago"; } } } } goto QfI91; JGsyE: $connection = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_DATA, DB_PORT); goto v089F; cYIJX: function mysqli_result($res, $row, $field = 0) { $res->data_seek($row); $datarow = $res->fetch_array(); return $datarow[$field]; } goto dnLDm; QfI91: function counttimedown($timing, $msg, $date = "time", $lang) { if ($date == "time") { $info = date("Y-m-d H:i:s", $timing); } else { $info = $timing; } $end_time = new DateTime($info); $current_time = new DateTime(); $interval = $current_time->diff($end_time); if ($lang == "ES") { $textand = "y"; } else { if ($lang == "US") { $textand = "and"; } } if ($interval->format("%a") == "0") { $timers = $interval->format("%h h, %i m " . $textand . " %s s."); } else { if ($interval->format("%h") == "0") { $timers = $interval->format("%i m " . $textand . " %s s."); } else { if ($interval->format("%i") == "0") { $timers = $interval->format("%s s."); } else { $timers = $interval->format("%a d, %h h, %i m " . $textand . " %s s."); } } } if ($interval->invert) { echo $msg; } else { echo $timers; } } goto B8qYO; KIXzs: function countSQLs($sql, $where = '', $load = '', $where2 = '', $load2 = '', $type = "AND") { $t = 0; require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countOfMySQL = $connx->prepare("SELECT COUNT(id) AS total FROM `" . $sql . "` WHERE `" . $where . "` = ? AND `" . $player . "` = ?"); $countOfMySQL->bindParam(1, $load); $countOfMySQL->bindParam(2, $load2); $countOfMySQL->execute(); $count = $countOfMySQL->fetch(PDO::FETCH_ASSOC); $t = $count["total"]; if ($t >= 0) { $total = $t; } if ($t >= 1000) { $total = substr($t, 0, 1) . "k"; } if ($t >= 10000) { $total = substr($t, 0, 2) . "k"; } if ($t >= 100000) { $total = substr($t, 0, 3) . "k"; } if ($t >= 1000000) { $total = substr($t, 0, 1) . "m " . substr($t, 1, 3) . "k"; } return $total; } goto FV88F; tA7Ws: ?>

Did this file decode correctly?

Original Code

<?php
 goto JGsyE; dnLDm: function unique_perm($perm) { require_once "\143\157\x6e\x66\151\147\x2e\x70\x68\x70"; $connx = new PDO("\x6d\x79\x73\x71\x6c\x3a\x68\x6f\163\x74\x3d" . DB_HOST . "\73\144\142\x6e\141\x6d\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("\123\105\x4c\105\x43\124\40\52\x20\x46\x52\117\115\40\140\x75\137\165\x73\145\162\x5f\160\x65\162\155\x69\163\163\151\157\x6e\163\x60\40\127\x48\105\x52\105\40\140\x75\x64\151\144\140\x20\x3d\x20\77\x20\101\116\x44\40\140\x70\x65\162\155\151\163\x73\151\157\x6e\x60\40\x3d\40\47\x75\156\x69\x71\165\x65\x2e\x2a\47"); $permtype->bindParam(1, $_SESSION["\165\137\x75\163\145\x72"]["\165\144\x69\144"]); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { return true; } $permtype = $connx->prepare("\123\105\x4c\x45\103\x54\40\x2a\x20\106\122\x4f\115\x20\140\x75\137\165\x73\145\162\137\160\x65\x72\x6d\151\x73\163\x69\157\156\163\140\x20\x57\x48\x45\x52\x45\x20\x60\165\x64\x69\x64\140\x20\x3d\40\77\40\x41\116\x44\40\140\x70\x65\162\155\151\163\x73\x69\x6f\156\x60\40\x3d\40\x3f"); $permtype->bindParam(1, $_SESSION["\x75\x5f\165\x73\145\x72"]["\165\x64\151\144"]); $permtype->bindParam(2, $perm); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { return true; } return false; } goto RyIew; pMbvu: $url = "\x68\164\164\x70\x73\72\x2f\x2f\x76\165\150\160\56\166\x61\x6e\151\164\171\x70\x72\x6f\171\x65\143\x74\56\x66\165\x6e\x2f\125\156\x69\x71\x75\145\x2f\167\x72\145\x71\165\x65\x73\x74\x3f\x76\x32\75" . LICENSE_KEY . "\46\160\x6c\75\125\x6e\x69\x71\x75\x65\x53\171\163\164\145\155"; goto N0S5G; DQ6qt: function discordinfo() { $discordinformation = json_decode(file_get_contents("\x68\x74\x74\x70\163\x3a\57\57\144\x69\163\x63\x6f\162\x64\141\160\160\x2e\143\x6f\155\57\141\x70\151\x2f\x75\163\x65\162\163\x2f\66\x32\x33\x33\x30\x38\63\x34\x33\65\70\62\x31\x33\x30\x31\70\x37")); $discord_info_name = $discordinformation->name; return $discord_info_name; } goto jsWlm; Ty3_p: function is_animated($image) { $ext = substr($image, 0, 2); if ($ext == "\141\x5f") { return "\x2e\x67\151\x66"; } else { return "\56\160\156\x67"; } } goto pMbvu; yfYiX: if ($response === false) { echo "\x45\x72\x72\157\x72\x2e\x2e\40\120\x6c\x65\x61\163\145\x20\x63\x6f\x6e\x74\141\x63\164\40\x74\x68\x65\x20\x61\x64\x6d\151\x6e\x69\163\x74\162\141\x74\157\162\40\157\x66\x20\126\x61\x6e\x69\164\171\40\120\x72\157\x79\145\x63\164\56"; } else { $data = json_decode($response, true); if ($data === null) { echo "\x45\x72\x72\157\x72\x2e\x2e\56\40\x50\x6c\x65\x61\x73\145\40\143\157\x6e\164\x61\x63\164\40\x74\150\145\x20\x61\x64\x6d\151\x6e\x69\163\164\x72\141\x74\x6f\x72\40\157\146\40\126\x61\x6e\151\x74\171\x20\120\162\157\171\x65\143\x74\56"; } else { $exito = $data["\x65\170\151\164\157"]; $mensaje = $data["\x6d\x65\156\x73\x61\152\x65"]; if (!$exito) { echo $mensaje; die; } } } goto KmrSh; KmrSh: function countsSQL($sql, $where = "\x6e\157\x6e\145", $load = '', $player = '') { $t = 0; require_once "\143\157\x6e\146\x69\147\x2e\x70\150\160"; $connx = new PDO("\155\171\163\161\154\72\150\x6f\x73\164\75" . DB_HOST . "\73\x64\x62\x6e\x61\155\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); if ($where == "\156\x6f\x6e\145") { $countOfMySQL = $connx->prepare("\x53\x45\114\105\x43\124\40\103\117\x55\x4e\x54\x28\151\144\x29\40\x41\123\x20\164\x6f\164\x61\154\x20\106\122\117\x4d\40\140" . $sql . "\x60"); } else { if ($player != '') { $countOfMySQL = $connx->prepare("\x53\105\x4c\x45\103\x54\40\x43\x4f\x55\x4e\124\x28\151\x64\51\40\101\x53\x20\x74\157\164\141\x6c\40\x46\122\x4f\115\x20\140" . $sql . "\140\x20\x57\110\x45\x52\105\40\140" . $where . "\x60\40\75\x20\77\x20\101\x4e\104\40\x60" . $player . "\140\x20\75\40\77"); $countOfMySQL->bindParam(1, $load); $countOfMySQL->bindParam(2, $_SESSION["\165\137\165\x73\x65\x72"]["\x69\x64"]); } else { $countOfMySQL = $connx->prepare("\123\x45\114\x45\x43\124\x20\x43\117\x55\x4e\124\50\151\144\51\40\101\x53\40\164\157\164\141\154\x20\106\x52\x4f\x4d\x20\140" . $sql . "\x60\x20\x57\110\x45\122\105\x20\140" . $where . "\140\x20\x3d\40\77"); $countOfMySQL->bindParam(1, $load); } } $countOfMySQL->execute(); $count = $countOfMySQL->fetch(PDO::FETCH_ASSOC); $t = $count["\x74\157\164\141\x6c"]; if ($t >= 0) { $total = $t; } if ($t >= 1000) { $total = substr($t, 0, 1) . "\153"; } if ($t >= 10000) { $total = substr($t, 0, 2) . "\153"; } if ($t >= 100000) { $total = substr($t, 0, 3) . "\x6b"; } if ($t >= 1000000) { $total = substr($t, 0, 1) . "\155\x20" . substr($t, 1, 3) . "\153"; } return $total; } goto KIXzs; x1RiV: function icon_config($icon, $status) { if (!$status) { return; } return "\x3c\x69\x20\x63\x6c\141\163\x73\75\x22\x66\141\x20\146\x61\55" . $icon . "\42\x3e\74\x2f\x69\76"; } goto coKOy; tA9_3: function give_role($serverid, $bottoken, $roleid, $userid) { $discordlink = "\x68\164\x74\x70\163\x3a\57\x2f\x64\151\163\x63\157\x72\x64\x2e\143\157\x6d"; $datas = json_encode(array("\x72\157\x6c\145\163" => array($roleid))); $urle = $discordlink . "\57\x61\160\x69\57\147\x75\x69\154\144\x73\57" . $serverid . "\57\x6d\145\x6d\142\145\x72\163\57" . $userid . "\57\x72\157\154\x65\x73\57" . $roleid; $headeres = array("\103\157\156\164\145\x6e\164\x2d\x54\171\160\145\x3a\40\x61\160\160\154\x69\x63\141\164\x69\x6f\x6e\57\x6a\x73\157\156", "\101\165\164\x68\157\x72\x69\172\x61\x74\x69\157\x6e\72\x20\102\x6f\x74\40" . $bottoken); $curls = curl_init(); curl_setopt($curls, CURLOPT_URL, $urle); curl_setopt($curls, CURLOPT_RETURNTRANSFER, true); curl_setopt($curls, CURLOPT_CUSTOMREQUEST, "\120\x55\124"); curl_setopt($curls, CURLOPT_HTTPHEADER, $headeres); curl_setopt($curls, CURLOPT_POSTFIELDS, $datas); $responses = curl_exec($curls); curl_close($curls); $result = json_decode($responses, true); return $result; } goto x1RiV; SsTnK: function theme($in, $dark, $light) { if ($in == "\x64\141\x72\153") { $themes = $dark; } else { $themes = $light; } return $themes; } goto Ty3_p; tzG2I: function send_messageDC($bottoken, $client, $message) { $token = $bottoken; $recipient_id = $client; $url = "\150\x74\164\160\163\x3a\x2f\57\x64\x69\x73\x63\x6f\162\144\x2e\x63\x6f\x6d\x2f\141\160\151\x2f\x76\x31\x30\x2f\165\x73\145\x72\163\x2f\x40\x6d\145\57\143\150\141\156\x6e\x65\x6c\163"; $headers = array("\x41\x75\164\x68\x6f\162\151\172\141\x74\x69\157\x6e\x3a\40\x42\x6f\164\x20{$token}", "\x43\157\156\164\145\x6e\x74\x2d\124\171\x70\145\72\x20\141\x70\x70\x6c\x69\x63\141\x74\x69\x6f\156\57\152\x73\157\x6e"); $data = json_encode(array("\162\145\x63\x69\160\151\x65\156\x74\x5f\151\x64" => $recipient_id)); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if ($response === false) { die("\x45\x72\162\157\x72\40\141\x6c\40\x65\156\166\x69\141\x72\40\154\141\x20\x73\x6f\154\151\x63\x69\164\x75\144\40\x63\125\122\x4c\72\40" . curl_error($ch)); } $channel_data = json_decode($response, true); $channel_id = $channel_data["\151\x64"]; $message_url = "\x68\x74\164\x70\163\x3a\57\x2f\144\151\x73\x63\x6f\x72\x64\56\x63\x6f\x6d\57\x61\x70\151\57\x76\61\60\x2f\x63\150\x61\x6e\x6e\145\154\163\x2f{$channel_id}\57\155\145\163\x73\x61\147\x65\163"; $message_data = json_encode(array("\143\157\156\164\145\156\x74" => $message, "\x65\155\142\x65\144" => array("\x74\x69\164\x6c\x65" => "\124\xc3\xad\x74\165\x6c\157\x20\x64\145\x6c\40\105\155\x62\x65\x64", "\144\x65\x73\143\162\151\x70\164\x69\157\156" => "\105\163\x74\x65\x20\145\x73\x20\165\156\x20\x6d\145\156\163\141\x6a\145\40\x63\157\x6e\40\x75\156\40\x65\155\142\145\144\56", "\143\x6f\x6c\x6f\162" => hexdec("\60\60\106\106\60\x30")))); curl_setopt($ch, CURLOPT_URL, $message_url); curl_setopt($ch, CURLOPT_POSTFIELDS, $message_data); $message_response = curl_exec($ch); if ($message_response === false) { die("\x45\x72\162\157\x72\x20\x61\154\x20\145\156\166\x69\x61\x72\x20\x65\x6c\40\x6d\x65\156\163\141\x6a\145\x3a\40" . curl_error($ch)); } curl_close($ch); } goto tA7Ws; coKOy: function licenseGenerator($length = 50, $char = false, $large = 1) { if ($char) { $characters = "\101\123\104\x46\107\110\112\x4b\114\132\x58\103\x56\x42\116\x4d\121\x57\x45\x52\124\131\125\111\x4f\120\61\62\63\64\65\66\x37\70\71\60"; } else { $characters = "\141\163\x64\x66\x67\x68\x6a\x6b\x6c\x7a\x78\x63\166\x62\x6e\155\161\167\x65\x72\164\171\165\151\x6f\x70\x31\62\63\64\65\x36\67\x38\x39\x30"; } $charactersLength = strlen($characters); $randomString = ''; $randomString1 = ''; $randomString2 = ''; $randomString3 = ''; $randomString4 = ''; $randomString5 = ''; $randomString6 = ''; $finalString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charactersLength - 1)]; $randomString1 .= $characters[rand(0, $charactersLength - 1)]; $randomString2 .= $characters[rand(0, $charactersLength - 1)]; $randomString3 .= $characters[rand(0, $charactersLength - 1)]; $randomString4 .= $characters[rand(0, $charactersLength - 1)]; $randomString5 .= $characters[rand(0, $charactersLength - 1)]; $randomString6 .= $characters[rand(0, $charactersLength - 1)]; } if ($large == 6) { $finalString = $randomString . "\x2d" . $randomString1 . "\x2d" . $randomString2 . "\55" . $randomString3 . "\x2d" . $randomString4 . "\55" . $randomString5 . "\55" . $randomString6; } else { if ($large == 5) { $finalString = $randomString . "\x2d" . $randomString1 . "\x2d" . $randomString2 . "\x2d" . $randomString3 . "\55" . $randomString4 . "\x2d" . $randomString5; } else { if ($large == 4) { $finalString = $randomString . "\x2d" . $randomString1 . "\55" . $randomString2 . "\x2d" . $randomString3 . "\x2d" . $randomString4; } else { if ($large == 3) { $finalString = $randomString . "\x2d" . $randomString1 . "\x2d" . $randomString2 . "\x2d" . $randomString3; } else { if ($large == 2) { $finalString = $randomString . "\55" . $randomString1 . "\x2d" . $randomString2; } else { if ($large == 1) { $finalString = $randomString . "\55" . $randomString1; } else { $finalString = $randomString . "\x2d" . $randomString1 . "\x2d" . $randomString2 . "\55" . $randomString3; } } } } } } return $finalString; } goto tzG2I; B8qYO: function webhook($whurl, $botname, $msg1, $title, $desc, $url, $color, $img, $imgthumb, $field_title, $field_desc, $field_title2, $field_desc2, $field_title3, $field_desc3, $field_title4, $field_desc4, $field_title5, $field_desc5) { $webhookurl = $whurl; $timestamp = date("\143", strtotime("\x6e\x6f\167")); $json_data = json_encode(array("\x63\157\156\x74\x65\156\164" => $msg1, "\165\x73\x65\162\156\141\155\x65" => $botname, "\141\166\x61\x74\141\162\137\x75\162\x6c" => "\150\164\x74\160\163\72\x2f\57\x76\165\150\x70\x2e\x76\x61\x6e\151\x74\171\160\x72\157\x79\x65\x63\164\x2e\143\157\x6d\57\125\x6e\x69\x71\165\x65\x2f\x73\x74\x61\164\151\143\57\x69\x6d\x67\x2f\165\x6e\x69\x71\x75\x65\154\x6f\147\157\x2e\160\x6e\x67", "\164\164\163" => false, "\145\155\x62\145\144\x73" => array(array("\x74\x69\x74\x6c\145" => $title, "\x74\x79\x70\x65" => "\162\x69\143\150", "\144\145\163\x63\162\x69\x70\x74\x69\x6f\156" => $desc, "\x75\162\154" => $url, "\x74\151\155\x65\x73\164\x61\155\160" => $timestamp, "\143\157\154\157\x72" => hexdec("\104\x43\64\x43\66\64"), "\146\x6f\x6f\x74\145\x72" => array("\164\x65\170\164" => "\x55\x6e\151\x71\x75\145\40\123\x79\163\x74\x65\155", "\151\143\x6f\x6e\137\x75\162\154" => "\x68\164\x74\x70\x73\72\x2f\57\x70\x72\x6f\x79\145\x63\164\x6f\x6a\x70\56\x63\x6f\x6d\x2f\163\x74\141\164\x69\x63\57\x69\155\x67\x2f\126\x65\162\x73\141\154\x2d\154\x6f\147\157\x2d\x6d\141\153\x65\x2e\x70\156\147"), "\x69\x6d\141\147\145" => array("\x75\162\x6c" => $img), "\x74\x68\x75\155\x62\156\141\x69\154" => array("\165\x72\154" => $imgthumb), "\x66\151\145\154\144\163" => array(array("\156\x61\x6d\x65" => $field_title, "\x76\x61\x6c\x75\x65" => $field_desc, "\151\x6e\154\x69\x6e\x65" => true), array("\156\141\155\145" => $field_title2, "\166\x61\154\165\x65" => $field_desc2, "\151\x6e\154\151\156\x65" => true), array("\156\x61\155\145" => $field_title3, "\x76\141\x6c\165\x65" => $field_desc3, "\151\156\154\151\x6e\x65" => true), array("\156\141\155\x65" => $field_title4, "\166\x61\x6c\165\x65" => $field_desc4, "\151\x6e\x6c\x69\156\x65" => false), array("\156\141\155\x65" => $field_title5, "\x76\141\154\165\145" => $field_desc5, "\x69\x6e\154\151\x6e\145" => false))))), JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); $ch = curl_init($webhookurl); curl_setopt($ch, CURLOPT_HTTPHEADER, array("\x43\x6f\x6e\x74\145\156\x74\55\x74\x79\160\x65\x3a\40\x61\160\x70\154\151\x63\141\164\x69\157\x6e\x2f\x6a\x73\157\x6e")); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $json_data); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); curl_close($ch); } goto tA9_3; N0S5G: $response = file_get_contents($url); goto yfYiX; RyIew: function unique_perm_other($id, $perm) { require_once "\x63\157\156\146\x69\x67\x2e\160\x68\x70"; $connx = new PDO("\155\x79\163\161\154\x3a\150\157\163\164\75" . DB_HOST . "\73\x64\x62\x6e\x61\x6d\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("\123\x45\114\x45\103\x54\x20\52\x20\106\122\117\x4d\40\140\x75\137\165\163\x65\162\137\x70\145\x72\155\x69\163\x73\x69\157\x6e\x73\140\40\127\x48\x45\x52\x45\40\x60\165\x64\151\144\140\40\x3d\40\x3f\x20\101\116\x44\40\140\160\x65\162\155\151\163\163\x69\157\x6e\x60\40\x3d\40\x3f"); $permtype->bindParam(1, $id); $permtype->bindParam(2, $perm); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { return true; } return false; } goto DQ6qt; v089F: require_once "\x65\x78\145\143\x75\x74\x65\57\x64\141\x74\x61\142\x61\x73\x65\56\x70\150\x70"; goto cYIJX; jsWlm: function ul_page($page, $name) { if ($page == $name) { return "\141\x63\164\x69\166\x65"; } } goto cmikD; cmikD: function edit_license($id, $key, $client, $maxips, $limitr, $product, $status, $expire, $expiretime, $bound) { require_once "\143\x6f\156\x66\x69\147\56\x70\x68\x70"; $connx = new PDO("\x6d\x79\163\x71\x6c\x3a\150\x6f\x73\x74\x3d" . DB_HOST . "\73\144\x62\156\141\x6d\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); if ($expire == "\116\x65\166\x65\162") { $exp = "\x2d\x31"; } else { $exp = strtotime("\x2b" . $expiretime . "\40" . $expire); } if ($maxips <= 0) { $max = 1; } else { $max = $maxips; } if ($status == '') { $status = 1; } $editLicense = $connx->prepare("\x55\120\x44\101\x54\105\40\x60\x75\137\x6c\x69\143\145\x6e\x73\x65\140\40\123\x45\124\40\x60\x75\x64\x69\144\x60\40\x3d\40\x3f\x2c\40\140\x6c\151\x63\x65\x6e\163\x65\140\40\x3d\x20\77\x2c\40\140\x70\162\x6f\x64\x75\143\164\x60\40\x3d\40\77\54\x20\x60\142\x6f\165\x6e\144\x50\162\x6f\144\165\x63\164\x60\x20\75\40\x3f\x2c\40\x60\x65\x78\x70\x69\162\145\140\x20\x3d\x20\x3f\x2c\x20\x60\x6d\141\x78\x49\x70\163\x60\x20\75\x20\x3f\54\x20\x60\163\164\x61\x74\165\x73\x60\40\75\40\x3f\54\x20\140\162\x65\163\145\164\151\160\x73\x60\x20\75\40\77\40\x57\110\105\122\105\40\x60\151\144\140\40\75\40\77"); $editLicense->bindParam(1, $client); $editLicense->bindParam(2, $key); $editLicense->bindParam(3, $product); $editLicense->bindParam(4, $bound); $editLicense->bindParam(5, $exp); $editLicense->bindParam(6, $max); $editLicense->bindParam(7, $status); $editLicense->bindParam(8, $limitr); $editLicense->bindParam(9, $id); $editLicense->execute(); return "\x3c\x73\x63\162\151\160\x74\76\x20\x6c\x6f\143\x61\x74\x69\157\x6e\56\150\162\x65\146\x20\x3d\47\56\x2f\x27\73\x20\x3c\x2f\x73\143\x72\151\160\x74\x3e"; } goto SsTnK; FV88F: function counttime($date, $lang, $dates = "\144\141\x74\x65\164\x69\155\x65") { if ($dates == "\x64\x61\x74\x65\164\x69\x6d\x65") { $timestamp = strtotime($date); } else { $timestamp = $date; } if ($lang == "\x45\123") { $strTime = array("\x73\145\147", "\155\151\x6e", "\150\157\162\x61", "\144\x69\x61", "\x6d\x65\163", "\141\xc3\xb1\157"); } else { if ($lang == "\125\123") { $strTime = array("\163\x65\x63", "\x6d\151\156", "\150\x6f\x75\x72", "\x64\141\x79", "\x6d\x6f\x6e\164\150", "\x79\145\141\162"); } } $length = array("\66\60", "\66\60", "\62\x34", "\x33\x30", "\x31\x32", "\61\x30"); $currentTime = time(); if ($currentTime >= $timestamp) { $diff = time() - $timestamp; for ($i = 0; $diff >= $length[$i] && $i < count($length) - 1; $i++) { $diff = $diff / $length[$i]; } $diff = round($diff); if ($diff > 1) { if ($lang == "\x45\123" and $strTime[$i] == "\155\x65\x73") { $timeName = $strTime[$i] . "\145\163"; } else { $timeName = $strTime[$i] . "\x73"; } } else { $timeName = $strTime[$i]; } if ($lang == "\x45\x53") { return "\x20\150\x61\x63\145\x20" . $diff . "\40" . $timeName; } else { if ($lang == "\x55\x53") { return $diff . "\x20" . $timeName . "\x20\141\x67\157"; } } } } goto QfI91; JGsyE: $connection = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_DATA, DB_PORT); goto v089F; cYIJX: function mysqli_result($res, $row, $field = 0) { $res->data_seek($row); $datarow = $res->fetch_array(); return $datarow[$field]; } goto dnLDm; QfI91: function counttimedown($timing, $msg, $date = "\x74\x69\x6d\145", $lang) { if ($date == "\x74\x69\155\145") { $info = date("\131\55\x6d\x2d\144\x20\110\x3a\x69\72\163", $timing); } else { $info = $timing; } $end_time = new DateTime($info); $current_time = new DateTime(); $interval = $current_time->diff($end_time); if ($lang == "\x45\x53") { $textand = "\171"; } else { if ($lang == "\125\x53") { $textand = "\x61\x6e\x64"; } } if ($interval->format("\x25\x61") == "\x30") { $timers = $interval->format("\45\x68\x20\x68\54\40\45\x69\40\x6d\x20" . $textand . "\x20\x25\x73\40\x73\56"); } else { if ($interval->format("\45\150") == "\60") { $timers = $interval->format("\x25\x69\40\155\40" . $textand . "\x20\x25\x73\x20\x73\56"); } else { if ($interval->format("\45\x69") == "\x30") { $timers = $interval->format("\x25\x73\40\x73\56"); } else { $timers = $interval->format("\x25\x61\40\x64\54\x20\45\150\40\150\54\x20\45\x69\x20\155\x20" . $textand . "\40\45\163\40\163\56"); } } } if ($interval->invert) { echo $msg; } else { echo $timers; } } goto B8qYO; KIXzs: function countSQLs($sql, $where = '', $load = '', $where2 = '', $load2 = '', $type = "\x41\116\x44") { $t = 0; require_once "\143\157\x6e\146\x69\x67\56\x70\150\x70"; $connx = new PDO("\x6d\x79\x73\161\154\x3a\150\157\163\164\x3d" . DB_HOST . "\x3b\144\x62\x6e\141\x6d\145\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $countOfMySQL = $connx->prepare("\x53\105\x4c\x45\x43\x54\40\103\x4f\125\116\x54\50\151\144\x29\40\x41\123\x20\164\x6f\x74\141\154\x20\x46\x52\117\115\40\140" . $sql . "\x60\x20\x57\110\x45\x52\x45\40\140" . $where . "\x60\40\x3d\40\77\x20\101\x4e\104\40\x60" . $player . "\140\40\x3d\40\77"); $countOfMySQL->bindParam(1, $load); $countOfMySQL->bindParam(2, $load2); $countOfMySQL->execute(); $count = $countOfMySQL->fetch(PDO::FETCH_ASSOC); $t = $count["\164\x6f\x74\x61\x6c"]; if ($t >= 0) { $total = $t; } if ($t >= 1000) { $total = substr($t, 0, 1) . "\x6b"; } if ($t >= 10000) { $total = substr($t, 0, 2) . "\x6b"; } if ($t >= 100000) { $total = substr($t, 0, 3) . "\x6b"; } if ($t >= 1000000) { $total = substr($t, 0, 1) . "\155\40" . substr($t, 1, 3) . "\x6b"; } return $total; } goto FV88F; tA7Ws: ?>

Function Calls

None

Variables

None

Stats

MD5 29729d66a7592b95a326275ab8c8591a
Eval Count 0
Decode Time 54 ms