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 require_once "\x63\x6f\156\146\x69\x67\56\160\150\x70"; $versions = "\61\56\65"; i..

Decoded Output download

<?php 
 require_once "config.php"; $versions = "1.5"; if (!INSTALLATION_MODE) { if (DB_TYPE == "MONGODB") { require_once "database/mongodb.php"; } else { require_once "database/mysql.php"; } } use Exception; use MongoDB\Client; use MongoDB\Driver\ServerApi; goto Odue3; AeCWk: function ul_page($page, $name) { if ($page == $name) { return "active"; } } goto YmiMX; v40Er: $timezone = ''; goto gBI8v; eg9Ta: function icon_config($icon, $status) { if (!$status) { return; } return "<i class="icon_navbar fa fa-" . $icon . ""></i>"; } goto BkaM1; YmiMX: 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 ZkIz8; sbyug: function theme($in, $dark, $light) { if ($in == "dark") { $themes = $dark; } else { $themes = $light; } return $themes; } goto gr2p7; RY6Pp: function checkGroup($user) { require_once "config.php"; if (DB_TYPE == "MONGODB") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("serverApi" => $apiVersion)); $database = $client->unique; $groups_db = $database->groups; $groups_user_db = $database->groups_user; $filter = array("user" => $user); $document = $groups_user_db->findOne($filter); if ($document) { $filter = array("id" => $document["group"]); $group = $groups_db->findOne($filter); return $group["name"]; } } else { if (DB_TYPE == "MYSQL") { $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("SELECT * FROM `u_groups_user` WHERE `user` = ? ORDER BY id DESC"); $permtype->bindParam(1, $user); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { $groupSQL = $connx->prepare("SELECT * FROM `u_groups` WHERE `id` = ?"); $groupSQL->bindParam(1, $perms["group"]); $groupSQL->execute(); $group = $groupSQL->fetch(PDO::FETCH_ASSOC); return $group["name"]; } } } return "Unknown"; } goto awHJ3; MIGlM: function unique_perm($perm) { require_once "config.php"; if (DB_TYPE == "MONGODB") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("serverApi" => $apiVersion)); $database = $client->unique; $perms_db = $database->assss_permission; $groups_db = $database->groups; $groups_user_db = $database->groups_user; $groups_permission_db = $database->groups_permission; $filters = array("udid" => $_SESSION["u_user"]["udid"], "permission" => "unique.*"); $uniqueperm = $perms_db->findOne($filters); if ($uniqueperm) { return true; } $filter = array("udid" => $_SESSION["u_user"]["udid"], "permission" => $perm); $document = $perms_db->findOne($filter); if ($document) { return true; } $groupFilter = array("user" => $_SESSION["u_user"]["udid"]); $groups = $groups_user_db->find($groupFilter); foreach ($groups as $group) { $filterAll = array("user" => $_SESSION["u_user"]["udid"], "permission" => "unique.*"); $groupPermsAll = $groups_permission_db->findOne($filterAll); if ($groupPermsAll) { return true; } $filterOne = array("user" => $_SESSION["u_user"]["udid"], "permission" => $perm); $groupPerms = $groups_permission_db->findOne($filterOne); if ($groupPerms) { return true; } } } elseif (DB_TYPE == "MYSQL") { $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $userVerify = $connx->prepare("SELECT * FROM `u_user` WHERE `udid` = ?"); $userVerify->execute(array($_SESSION["u_user"]["udid"])); $user = $userVerify->fetch(PDO::FETCH_ASSOC); $verifyGroup = $connx->prepare("SELECT * FROM `u_groups_user` WHERE `user` = ?"); $verifyGroup->execute(array($user["udid"])); $userAllPermission = $connx->prepare("SELECT * FROM `u_user_permissions` WHERE `udid` = ? AND `permission` = 'unique.*'"); $userAllPermission->bindParam(1, $user["udid"]); $userAllPermission->execute(); if ($userAllPermission->fetch(PDO::FETCH_ASSOC)) { return true; } $userPermissions = $connx->prepare("SELECT * FROM `u_user_permissions` WHERE `udid` = ? AND `permission` = ?"); $userPermissions->bindParam(1, $user["udid"]); $userPermissions->bindParam(2, $perm); $userPermissions->execute(); if ($userPermissions->fetch(PDO::FETCH_ASSOC)) { return true; } while ($group = $verifyGroup->fetch(PDO::FETCH_ASSOC)) { $allPerms = $connx->prepare("SELECT * FROM `u_groups_permissions` WHERE `group` = ? AND `permission` = 'unique.*'"); $allPerms->bindParam(1, $group["group"]); $allPerms->execute(); if ($allPerms->fetch(PDO::FETCH_ASSOC)) { return true; } $permtype = $connx->prepare("SELECT * FROM `u_groups_permissions` WHERE `group` = ? AND `permission` = ?"); $permtype->bindParam(1, $group["group"]); $permtype->bindParam(2, $perm); $permtype->execute(); if ($permtype->fetch(PDO::FETCH_ASSOC)) { return true; } } } return false; } goto O1pXv; D5Vlw: function pwlCount($product) { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("SELECT COUNT(id) AS total FROM `u_license` WHERE `product` = ?"); $countProduct->execute(array($product)); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["total"]; } goto ECbcV; vSiYB: function productCount() { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("SELECT COUNT(id) AS total FROM `u_product`"); $countProduct->execute(); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["total"]; } goto Y_ajF; awHJ3: function userInfo($userid, $type) { require_once "config.php"; if (DB_TYPE == "MONGODB") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("serverApi" => $apiVersion)); $database = $client->unique; $user_db = $database->assss_user; $filter = array("udid" => $userid); $document = $user_db->findOne($filter); if ($document) { return $document[$type]; } else { return "Unknown"; } return false; } else { if (DB_TYPE == "MYSQL") { $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $userInfo = $connx->prepare("SELECT * FROM `u_user` WHERE `udid` = ?"); $userInfo->bindParam(1, $userid); $userInfo->execute(); if ($userInfo->RowCount() > 0) { $user = $userInfo->fetch(PDO::FETCH_ASSOC); return $user[$type]; } else { return "Unknown"; } } } } goto b80Bk; EsG_l: function discordinfo() { $discordinformation = json_decode(file_get_contents("https://discordapp.com/api/users/623308343582130187")); $discord_info_name = $discordinformation->name; return $discord_info_name; } goto AeCWk; J3Q77: function getNextAutoIncrement($database, $collectionName, $counter) { $counterCollection = $database->{$counter}; $filter = array("_id" => $collectionName); $update = array("$inc" => array("seq" => 1)); $options = array("upsert" => true, "returnDocument" => MongoDB\Operation\FindOneAndUpdate::RETURN_DOCUMENT_AFTER); $result = $counterCollection->findOneAndUpdate($filter, $update, $options); return $result->seq; } goto i0cMC; ECbcV: function userCount() { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("SELECT COUNT(id) AS total FROM `u_user`"); $countProduct->execute(); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["total"]; } goto sbyug; ZkIz8: function licenseCount($client) { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countLicense = $connx->prepare("SELECT COUNT(id) AS total FROM `u_license` WHERE `udid` = ?"); $countLicense->bindParam(1, $client); $countLicense->execute(); $doc = $countLicense->fetch(PDO::FETCH_ASSOC); return $doc["total"]; } goto Plute; hEh84: if ($timezone !== '') { date_default_timezone_set($timezone); } goto CYHZb; gr2p7: function is_animated($image) { $ext = substr($image, 0, 2); if ($ext == "a_") { return ".gif"; } else { return ".png"; } } goto QInYt; lVUPa: function registerTotal($sql, $total, $searching = '', $search = '', $search2 = '', $search3 = '', $type = '') { require_once "config.php"; if (DB_TYPE == "MONGODB") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("serverApi" => $apiVersion)); $database = $client->unique; $license_db = $database->u_license; $user_db = $database->assss_user; $product_db = $database->product; $plataform_db = $database->plataformed; $groups_db = $database->groups; $groups_user_db = $database->groups_user; $groups_permission_db = $database->groups_permission; $filter = $searching; if ($sql == "license") { return ceil($license_db->count($filter) / $total); } if ($sql == "user") { return ceil($user_db->count($filter) / $total); } if ($sql == "product") { return ceil($product_db->count($filter) / $total); } if ($sql == "plataform") { return ceil($plataform_db->count($filter) / $total); } if ($sql == "group") { return ceil($groups_db->count($filter) / $total); } if ($sql == "group_permission") { return ceil($groups_permission_db->count($filter) / $total); } if ($sql == "group_user") { return ceil($groups_user_db->count($filter) / $total); } } else { if (DB_TYPE == "MYSQL") { $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); if (!empty($search) and !empty($search2) and !empty($search3)) { if (empty($type)) { $type = array("%" . $search . "%", "%" . $search2 . "%", "%" . $search3 . "%"); } if (!empty($type)) { $type = array($search, $search2, $search3); } $docList = $connx->prepare("SELECT * FROM `" . $sql . "`" . $searching); $docList->execute(array($type)); } if (!empty($search) and !empty($search2) and empty($search3)) { if (empty($type)) { $type = array("%" . $search . "%", "%" . $search2 . "%"); } if (!empty($type)) { $type = array($search, $search2); } $docList = $connx->prepare("SELECT * FROM `" . $sql . "`" . $searching); $docList->execute(array($type)); } if (!empty($search) and empty($search2) and empty($search3)) { if (empty($type)) { $type = "%" . $search . "%"; } if (!empty($type)) { $type = $search; } $docList = $connx->prepare("SELECT * FROM `" . $sql . "`" . $searching); $docList->execute(array($type)); } if (empty($search) and empty($search2) and empty($search3)) { $docList = $connx->prepare("SELECT * FROM `" . $sql . "`"); $docList->execute(); } return ceil($docList->RowCount() / $total); } } } goto fLYQU; Odue3: if (!isset($_SESSION["lang"]) and !isset($_COOKIE["lang"])) { $_SESSION["lang"] = $default_lang; setcookie("lang", $default_lang, time() + 3600, "/"); } else { if (isset($_SESSION["lang"]) and !isset($_COOKIE["lang"])) { setcookie("lang", $_SESSION["lang"], time() + 3600, "/"); } else { if (!isset($_SESSION["lang"]) and isset($_COOKIE["lang"])) { $_SESSION["lang"] = $_COOKIE["lang"]; } } } goto rzWk_; ni1bO: if (file_exists("./message/")) { if (!file_exists("message/" . $lang . ".php")) { $lang = $default_lang; } require_once "message/" . $lang . ".php"; } else { if (!file_exists("../message/" . $lang . ".php")) { $lang = $default_lang; } require_once "../message/" . $lang . ".php"; } goto xrxDD; i0cMC: function randomCodes($length = 10) { $characters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $charactersLength = strlen($characters); $randomString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charactersLength - 1)]; } return $randomString; } goto eg9Ta; rzWk_: $lang = $_SESSION["lang"]; goto ni1bO; fLYQU: function paginationButtons($TotalRegistro, $compag, $total, $action = "updatePage") { $IncrimentNum = $compag + 1 <= $TotalRegistro ? $compag + 1 : 1; $DecrementNum = $compag - 1 < 1 ? 1 : $compag - 1; if (empty($action)) { $action = "updatePage"; } else { $action = $action; } echo "<ul class="pagination text-center"><li class="btn btn-primary btn-sm btn-rounded" style="margin-right: 5px;" onclick="" . $action . "(" . $DecrementNum . ");"></li>"; $Desde = $compag - (ceil($total / 2) - 1); $Hasta = $compag + (ceil($total / 2) - 1); $Desde = $Desde < 1 ? 1 : $Desde; $Hasta = $Hasta < 1 ? 10 : $Hasta; for ($i = $Desde; $i <= $Hasta; $i++) { if ($i <= $TotalRegistro) { if ($i == $compag) { echo "<li class="btn btn-outline-primary btn-sm" style="margin-right: 5px;" onclick="" . $action . "('" . $i . "');">" . $i . "</li>"; } else { echo "<li class="btn btn-primary btn-sm" style="margin-right: 5px;" onclick="" . $action . "('" . $i . "');">" . $i . "</li>"; } } } echo "<li class="btn btn-primary btn-sm btn-rounded" style="margin-right: 5px;" onclick="" . $action . "('" . $IncrimentNum . "');"></li></ul>"; } goto ZRNp1; QInYt: function counttime($date, $lang, $dates = "datetime") { if ($dates == "datetime") { $timestamp = strtotime($date); } else { $timestamp = $date; } $strTime = array(langSystem($lang, "counttime", "second"), langSystem($lang, "counttime", "minute"), langSystem($lang, "counttime", "hour"), langSystem($lang, "counttime", "day"), langSystem($lang, "counttime", "month"), langSystem($lang, "counttime", "year")); $strTimes = array(langSystem($lang, "counttime", "seconds"), langSystem($lang, "counttime", "minutes"), langSystem($lang, "counttime", "hours"), langSystem($lang, "counttime", "days"), langSystem($lang, "counttime", "months"), langSystem($lang, "counttime", "years")); $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) { $timeName = $strTimes[$i]; } else { $timeName = $strTime[$i]; } $type_lang = langSystem($lang, "counttime", "ago-type"); if ($type_lang == 1) { return langSystem($lang, "counttime", "ago") . " " . $diff . " " . $timeName; } else { if ($type_lang == 2) { return $diff . " " . $timeName . " " . langSystem($lang, "counttime", "ago"); } } } } goto SoSOL; cLgbg: function url() { return sprintf("%s://%s%s", isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "off" ? "https" : "http", $_SERVER["SERVER_NAME"], $_SERVER["REQUEST_URI"]); } goto lVUPa; xrxDD: $country = "AR"; goto v40Er; gBI8v: switch ($country) { case "US": $timezone = "America/New_York"; break; case "UK": $timezone = "Europe/London"; break; case "AR": $timezone = "America/Argentina/Buenos_Aires"; break; case "Bolivia": $timezone = "America/La_Paz"; break; case "Brasil": $timezone = "America/Sao_Paulo"; break; case "Chile": $timezone = "America/Santiago"; break; case "Colombia": $timezone = "America/Bogota"; break; case "Ecuador": $timezone = "America/Guayaquil"; break; case "Guyana": $timezone = "America/Guyana"; break; case "Paraguay": $timezone = "America/Asuncion"; break; case "Per": $timezone = "America/Lima"; break; case "Surinam": $timezone = "America/Paramaribo"; break; case "Uruguay": $timezone = "America/Montevideo"; break; case "Venezuela": $timezone = "America/Caracas"; break; } goto hEh84; CYHZb: $fecha = date("Y-m-d H:i:s"); goto J3Q77; b80Bk: function mysqli_result($res, $row, $field = 0) { $res->data_seek($row); $datarow = $res->fetch_array(); return $datarow[$field]; } goto EsG_l; SoSOL: 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); $textand = langSystem($lang, "counttime", "separator"); 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 JnJ9d; Y_ajF: function plataformCount() { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("SELECT COUNT(id) AS total FROM `u_plataform`"); $countProduct->execute(); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["total"]; } goto D5Vlw; Plute: function licenseCounts() { require_once "config.php"; $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $countLicense = $connx->prepare("SELECT COUNT(id) AS total FROM `u_license`"); $countLicense->execute(); $doc = $countLicense->fetch(PDO::FETCH_ASSOC); return $doc["total"]; } goto vSiYB; O1pXv: function unique_perm_other($id, $perm) { require_once "config.php"; if (DB_TYPE == "MONGODB") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("serverApi" => $apiVersion)); $database = $client->unique; $perms_db = $database->assss_permission; $filter = array("udid" => $id, "permission" => $perm); $document = $perms_db->findOne($filter); if ($document) { return true; } else { return false; } return false; } else { if (DB_TYPE == "MYSQL") { $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";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 RY6Pp; JnJ9d: if ($pageload != "Install") { $url = "https://vuhp.vanityproyect.fun/Unique/wrequest?v2=" . LICENSE . "&pl=VanityLicense"; $response = file_get_contents($url); 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 cLgbg; BkaM1: function langSystem($lenguage_section, $page, $section) { require_once "config.php"; if (DB_TYPE == "MONGODB") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("serverApi" => $apiVersion)); $database = $client->unique; $license_db = $database->u_license; $user_db = $database->assss_user; $product_db = $database->product; $perms_db = $database->assss_permission; $server_db = $database->server; $plataform_db = $database->plataformed; $mylicenses = $license_db->count(array("udid" => $_SESSION["u_user"]["udid"])); $alllicenses = $license_db->count(); $allusers = $user_db->count(); $allproduct = $product_db->count(); $allperms = $perms_db->count(); $allservers = $server_db->count(); $allplataform = $plataform_db->count(); } else { if (DB_TYPE == "MYSQL") { $mylicenses = licenseCount($_SESSION["u_user"]["udid"]); $alllicenses = licenseCounts(); $allusers = userCount(); $allproduct = productCount(); $allplataform = plataformCount(); } } if (isset($lenguage_section[$page][$section])) { $variable = array("<count:my:licenses>", "<count:licenses>", "<count:user>", "<count:product>", "<count:plataform>"); $str_variable = array($mylicenses, $alllicenses, $allusers, $allproduct, $allplataform); $complet_variable = str_replace($variable, $str_variable, $lenguage_section[$page][$section]); return $complet_variable; } else { return "Not results found of message."; } } goto MIGlM; ZRNp1: ?>

Did this file decode correctly?

Original Code

<?php
 require_once "\x63\x6f\156\146\x69\x67\56\160\150\x70"; $versions = "\61\56\65"; if (!INSTALLATION_MODE) { if (DB_TYPE == "\115\117\116\x47\117\104\x42") { require_once "\144\x61\x74\141\142\x61\x73\145\57\x6d\x6f\x6e\147\157\144\142\56\160\150\160"; } else { require_once "\x64\141\164\141\x62\141\x73\145\57\x6d\x79\163\x71\154\x2e\160\x68\x70"; } } use Exception; use MongoDB\Client; use MongoDB\Driver\ServerApi; goto Odue3; AeCWk: function ul_page($page, $name) { if ($page == $name) { return "\x61\x63\164\x69\166\145"; } } goto YmiMX; v40Er: $timezone = ''; goto gBI8v; eg9Ta: function icon_config($icon, $status) { if (!$status) { return; } return "\x3c\x69\x20\x63\x6c\x61\163\x73\75\x22\x69\x63\x6f\156\137\156\x61\x76\x62\x61\162\x20\x66\141\x20\146\x61\x2d" . $icon . "\42\76\x3c\x2f\x69\x3e"; } goto BkaM1; YmiMX: function give_role($serverid, $bottoken, $roleid, $userid) { $discordlink = "\x68\164\164\x70\163\x3a\57\57\144\151\x73\143\157\162\x64\56\x63\157\155"; $datas = json_encode(array("\162\157\x6c\145\x73" => array($roleid))); $urle = $discordlink . "\x2f\x61\x70\x69\57\147\x75\x69\154\144\x73\57" . $serverid . "\x2f\155\145\155\142\145\162\x73\x2f" . $userid . "\x2f\x72\157\x6c\145\x73\57" . $roleid; $headeres = array("\103\x6f\156\164\x65\156\x74\x2d\124\171\x70\145\72\40\141\160\x70\154\151\143\141\x74\151\x6f\156\x2f\152\163\157\156", "\x41\x75\164\150\157\162\151\172\141\x74\x69\x6f\156\72\40\x42\x6f\164\x20" . $bottoken); $curls = curl_init(); curl_setopt($curls, CURLOPT_URL, $urle); curl_setopt($curls, CURLOPT_RETURNTRANSFER, true); curl_setopt($curls, CURLOPT_CUSTOMREQUEST, "\x50\x55\x54"); 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 ZkIz8; sbyug: function theme($in, $dark, $light) { if ($in == "\144\x61\162\153") { $themes = $dark; } else { $themes = $light; } return $themes; } goto gr2p7; RY6Pp: function checkGroup($user) { require_once "\x63\157\156\x66\x69\x67\56\160\150\x70"; if (DB_TYPE == "\x4d\117\116\107\x4f\x44\x42") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("\x73\x65\162\166\145\162\x41\160\151" => $apiVersion)); $database = $client->unique; $groups_db = $database->groups; $groups_user_db = $database->groups_user; $filter = array("\x75\x73\x65\x72" => $user); $document = $groups_user_db->findOne($filter); if ($document) { $filter = array("\151\144" => $document["\x67\x72\x6f\x75\x70"]); $group = $groups_db->findOne($filter); return $group["\156\x61\155\145"]; } } else { if (DB_TYPE == "\115\131\x53\121\x4c") { $connx = new PDO("\155\171\163\x71\x6c\72\x68\157\x73\164\x3d" . DB_HOST . "\x3b\x70\x6f\x72\x74\75" . DB_PORT . "\73\x64\142\x6e\x61\155\x65\75" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("\x53\x45\x4c\x45\x43\x54\40\52\40\106\122\x4f\x4d\x20\x60\x75\x5f\x67\x72\x6f\165\160\163\137\165\163\x65\x72\140\40\x57\110\x45\122\105\40\140\165\163\x65\x72\140\x20\x3d\40\x3f\x20\x4f\122\104\x45\x52\x20\102\x59\40\x69\144\x20\104\105\123\x43"); $permtype->bindParam(1, $user); $permtype->execute(); while ($perms = $permtype->fetch(PDO::FETCH_ASSOC)) { $groupSQL = $connx->prepare("\123\105\114\x45\x43\x54\40\52\x20\x46\122\117\115\40\x60\165\x5f\147\x72\x6f\x75\160\x73\140\x20\127\110\105\122\105\x20\140\x69\x64\140\x20\x3d\x20\77"); $groupSQL->bindParam(1, $perms["\147\x72\x6f\x75\x70"]); $groupSQL->execute(); $group = $groupSQL->fetch(PDO::FETCH_ASSOC); return $group["\156\141\155\x65"]; } } } return "\125\x6e\153\156\157\x77\x6e"; } goto awHJ3; MIGlM: function unique_perm($perm) { require_once "\x63\157\156\x66\x69\147\x2e\x70\x68\160"; if (DB_TYPE == "\x4d\117\116\x47\x4f\104\102") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("\163\x65\162\x76\x65\x72\x41\160\151" => $apiVersion)); $database = $client->unique; $perms_db = $database->assss_permission; $groups_db = $database->groups; $groups_user_db = $database->groups_user; $groups_permission_db = $database->groups_permission; $filters = array("\x75\x64\151\144" => $_SESSION["\165\x5f\165\x73\x65\162"]["\165\144\151\144"], "\x70\145\x72\155\151\163\x73\x69\157\x6e" => "\x75\156\151\161\165\x65\x2e\52"); $uniqueperm = $perms_db->findOne($filters); if ($uniqueperm) { return true; } $filter = array("\165\x64\x69\144" => $_SESSION["\165\x5f\x75\x73\x65\162"]["\165\x64\x69\144"], "\160\x65\x72\x6d\x69\x73\163\151\x6f\156" => $perm); $document = $perms_db->findOne($filter); if ($document) { return true; } $groupFilter = array("\x75\x73\x65\x72" => $_SESSION["\165\137\x75\x73\x65\162"]["\x75\144\151\144"]); $groups = $groups_user_db->find($groupFilter); foreach ($groups as $group) { $filterAll = array("\165\x73\x65\162" => $_SESSION["\x75\x5f\165\163\x65\162"]["\165\x64\x69\144"], "\160\145\162\x6d\x69\x73\x73\151\157\156" => "\165\156\151\x71\x75\x65\56\x2a"); $groupPermsAll = $groups_permission_db->findOne($filterAll); if ($groupPermsAll) { return true; } $filterOne = array("\165\x73\145\x72" => $_SESSION["\165\x5f\165\x73\x65\x72"]["\x75\144\x69\144"], "\x70\x65\162\155\151\163\x73\x69\157\x6e" => $perm); $groupPerms = $groups_permission_db->findOne($filterOne); if ($groupPerms) { return true; } } } elseif (DB_TYPE == "\x4d\x59\x53\121\x4c") { $connx = new PDO("\x6d\171\163\x71\154\x3a\x68\x6f\x73\164\x3d" . DB_HOST . "\73\160\x6f\x72\x74\x3d" . DB_PORT . "\73\144\142\156\x61\155\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $userVerify = $connx->prepare("\x53\x45\114\x45\x43\124\x20\52\40\x46\122\x4f\x4d\40\x60\x75\137\x75\163\x65\x72\140\40\127\x48\x45\x52\105\x20\140\x75\144\151\144\140\x20\x3d\40\77"); $userVerify->execute(array($_SESSION["\x75\x5f\x75\163\x65\x72"]["\x75\144\151\x64"])); $user = $userVerify->fetch(PDO::FETCH_ASSOC); $verifyGroup = $connx->prepare("\123\x45\x4c\105\x43\124\x20\52\x20\x46\x52\x4f\115\40\140\165\137\x67\x72\157\x75\160\x73\137\x75\x73\x65\x72\140\x20\127\x48\105\x52\x45\40\x60\x75\163\145\x72\x60\40\75\40\x3f"); $verifyGroup->execute(array($user["\x75\x64\x69\144"])); $userAllPermission = $connx->prepare("\x53\105\x4c\105\x43\124\x20\x2a\40\106\122\117\x4d\x20\x60\165\137\165\x73\145\162\137\x70\x65\162\155\x69\x73\163\151\157\x6e\163\140\40\x57\110\x45\x52\105\x20\x60\x75\144\151\x64\140\x20\x3d\x20\x3f\40\101\116\104\40\140\x70\x65\162\155\x69\x73\x73\151\x6f\156\140\40\75\x20\47\165\156\151\x71\x75\x65\x2e\x2a\47"); $userAllPermission->bindParam(1, $user["\x75\144\151\144"]); $userAllPermission->execute(); if ($userAllPermission->fetch(PDO::FETCH_ASSOC)) { return true; } $userPermissions = $connx->prepare("\123\105\114\x45\x43\124\x20\52\40\x46\x52\117\x4d\x20\140\x75\137\x75\163\145\x72\137\x70\x65\x72\x6d\151\x73\163\151\x6f\156\x73\x60\x20\x57\110\x45\x52\x45\40\x60\x75\144\151\x64\140\40\x3d\x20\77\40\x41\x4e\x44\40\x60\160\145\162\155\151\x73\x73\151\157\x6e\140\40\x3d\40\77"); $userPermissions->bindParam(1, $user["\x75\144\x69\x64"]); $userPermissions->bindParam(2, $perm); $userPermissions->execute(); if ($userPermissions->fetch(PDO::FETCH_ASSOC)) { return true; } while ($group = $verifyGroup->fetch(PDO::FETCH_ASSOC)) { $allPerms = $connx->prepare("\x53\105\x4c\x45\x43\x54\x20\52\x20\106\x52\x4f\x4d\40\140\x75\137\x67\x72\157\165\160\163\x5f\x70\145\162\155\x69\x73\x73\151\x6f\x6e\x73\140\40\x57\110\105\122\105\40\140\147\162\157\x75\x70\140\40\x3d\x20\x3f\40\x41\x4e\104\40\x60\x70\145\162\x6d\x69\163\163\x69\x6f\x6e\x60\40\75\x20\x27\165\156\x69\161\165\x65\56\x2a\47"); $allPerms->bindParam(1, $group["\x67\x72\157\x75\x70"]); $allPerms->execute(); if ($allPerms->fetch(PDO::FETCH_ASSOC)) { return true; } $permtype = $connx->prepare("\123\105\x4c\x45\103\x54\x20\x2a\40\x46\122\117\x4d\40\x60\x75\x5f\x67\162\x6f\x75\160\163\137\x70\145\x72\155\151\x73\x73\x69\x6f\156\163\140\x20\x57\x48\x45\x52\105\40\140\x67\x72\157\x75\x70\140\40\x3d\x20\x3f\40\x41\116\104\x20\140\160\x65\162\155\151\163\x73\151\157\156\140\40\x3d\x20\77"); $permtype->bindParam(1, $group["\x67\162\x6f\165\x70"]); $permtype->bindParam(2, $perm); $permtype->execute(); if ($permtype->fetch(PDO::FETCH_ASSOC)) { return true; } } } return false; } goto O1pXv; D5Vlw: function pwlCount($product) { require_once "\x63\157\x6e\146\151\x67\x2e\x70\150\160"; $connx = new PDO("\155\x79\x73\x71\x6c\72\150\x6f\163\x74\75" . DB_HOST . "\73\x70\157\x72\x74\75" . DB_PORT . "\73\144\x62\156\x61\155\145\75" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("\x53\105\114\x45\x43\124\x20\x43\117\x55\116\x54\x28\151\x64\x29\x20\101\x53\40\x74\x6f\x74\x61\154\x20\x46\x52\x4f\x4d\40\140\165\x5f\x6c\151\x63\x65\x6e\163\x65\140\x20\127\x48\105\122\105\40\140\160\162\x6f\x64\x75\x63\164\140\x20\x3d\x20\x3f"); $countProduct->execute(array($product)); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["\164\157\x74\x61\154"]; } goto ECbcV; vSiYB: function productCount() { require_once "\x63\157\x6e\146\151\x67\56\160\150\160"; $connx = new PDO("\155\171\163\161\x6c\x3a\x68\157\163\x74\x3d" . DB_HOST . "\73\160\x6f\162\x74\x3d" . DB_PORT . "\73\x64\142\x6e\x61\155\145\75" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("\x53\105\x4c\105\103\x54\x20\x43\x4f\125\x4e\x54\x28\151\144\x29\x20\101\x53\40\x74\157\164\x61\154\x20\x46\122\117\x4d\40\x60\165\x5f\x70\x72\x6f\x64\x75\143\164\x60"); $countProduct->execute(); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["\164\x6f\x74\x61\154"]; } goto Y_ajF; awHJ3: function userInfo($userid, $type) { require_once "\143\x6f\156\146\x69\147\56\160\150\x70"; if (DB_TYPE == "\115\x4f\x4e\x47\117\104\x42") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("\163\x65\x72\166\145\x72\101\x70\151" => $apiVersion)); $database = $client->unique; $user_db = $database->assss_user; $filter = array("\165\x64\151\x64" => $userid); $document = $user_db->findOne($filter); if ($document) { return $document[$type]; } else { return "\x55\x6e\x6b\156\x6f\167\156"; } return false; } else { if (DB_TYPE == "\x4d\131\123\121\x4c") { $connx = new PDO("\155\171\163\x71\154\x3a\150\157\163\164\75" . DB_HOST . "\x3b\160\x6f\162\x74\x3d" . DB_PORT . "\73\x64\142\x6e\141\155\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $userInfo = $connx->prepare("\x53\105\114\105\103\x54\40\x2a\40\106\122\117\x4d\40\x60\165\137\165\x73\x65\x72\x60\40\127\x48\x45\122\105\x20\x60\x75\144\x69\x64\x60\x20\75\40\77"); $userInfo->bindParam(1, $userid); $userInfo->execute(); if ($userInfo->RowCount() > 0) { $user = $userInfo->fetch(PDO::FETCH_ASSOC); return $user[$type]; } else { return "\x55\156\x6b\156\x6f\x77\x6e"; } } } } goto b80Bk; EsG_l: function discordinfo() { $discordinformation = json_decode(file_get_contents("\x68\x74\164\160\x73\72\x2f\x2f\x64\x69\163\x63\x6f\162\144\x61\x70\160\x2e\x63\157\155\57\141\x70\151\x2f\165\163\145\162\x73\x2f\x36\x32\63\x33\60\x38\x33\64\x33\x35\x38\62\x31\x33\x30\61\70\x37")); $discord_info_name = $discordinformation->name; return $discord_info_name; } goto AeCWk; J3Q77: function getNextAutoIncrement($database, $collectionName, $counter) { $counterCollection = $database->{$counter}; $filter = array("\137\x69\144" => $collectionName); $update = array("\44\x69\x6e\143" => array("\x73\x65\161" => 1)); $options = array("\165\x70\x73\145\162\x74" => true, "\162\x65\164\x75\x72\156\x44\x6f\x63\165\155\x65\156\x74" => MongoDB\Operation\FindOneAndUpdate::RETURN_DOCUMENT_AFTER); $result = $counterCollection->findOneAndUpdate($filter, $update, $options); return $result->seq; } goto i0cMC; ECbcV: function userCount() { require_once "\x63\x6f\x6e\x66\151\x67\56\160\150\160"; $connx = new PDO("\155\x79\163\x71\154\72\150\157\163\164\75" . DB_HOST . "\x3b\x70\x6f\x72\x74\x3d" . DB_PORT . "\x3b\144\x62\156\x61\155\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("\x53\105\x4c\x45\x43\124\x20\x43\117\x55\x4e\x54\50\x69\144\x29\40\101\x53\x20\164\x6f\x74\x61\154\x20\x46\x52\x4f\115\40\x60\x75\137\165\163\x65\162\x60"); $countProduct->execute(); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["\x74\x6f\164\x61\154"]; } goto sbyug; ZkIz8: function licenseCount($client) { require_once "\143\x6f\156\146\x69\147\56\160\x68\x70"; $connx = new PDO("\x6d\x79\x73\161\x6c\x3a\x68\157\163\x74\75" . DB_HOST . "\73\x70\x6f\x72\164\75" . DB_PORT . "\73\144\x62\156\x61\155\145\75" . DB_DATA, DB_USER, DB_PASSWORD); $countLicense = $connx->prepare("\x53\105\114\105\103\124\40\x43\117\125\116\124\x28\151\144\51\x20\x41\x53\40\164\x6f\x74\x61\x6c\40\106\122\x4f\115\x20\140\165\137\x6c\x69\143\x65\156\x73\x65\x60\x20\127\x48\x45\122\x45\40\140\165\x64\151\x64\140\x20\75\x20\x3f"); $countLicense->bindParam(1, $client); $countLicense->execute(); $doc = $countLicense->fetch(PDO::FETCH_ASSOC); return $doc["\164\157\x74\141\x6c"]; } goto Plute; hEh84: if ($timezone !== '') { date_default_timezone_set($timezone); } goto CYHZb; gr2p7: function is_animated($image) { $ext = substr($image, 0, 2); if ($ext == "\141\x5f") { return "\x2e\147\x69\146"; } else { return "\x2e\x70\156\x67"; } } goto QInYt; lVUPa: function registerTotal($sql, $total, $searching = '', $search = '', $search2 = '', $search3 = '', $type = '') { require_once "\143\157\156\146\151\147\56\160\x68\160"; if (DB_TYPE == "\115\x4f\116\107\117\x44\102") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("\163\x65\x72\166\145\x72\x41\x70\151" => $apiVersion)); $database = $client->unique; $license_db = $database->u_license; $user_db = $database->assss_user; $product_db = $database->product; $plataform_db = $database->plataformed; $groups_db = $database->groups; $groups_user_db = $database->groups_user; $groups_permission_db = $database->groups_permission; $filter = $searching; if ($sql == "\x6c\x69\143\x65\x6e\163\x65") { return ceil($license_db->count($filter) / $total); } if ($sql == "\165\163\145\x72") { return ceil($user_db->count($filter) / $total); } if ($sql == "\160\162\157\144\165\x63\164") { return ceil($product_db->count($filter) / $total); } if ($sql == "\160\154\141\x74\141\146\157\x72\x6d") { return ceil($plataform_db->count($filter) / $total); } if ($sql == "\x67\162\157\x75\x70") { return ceil($groups_db->count($filter) / $total); } if ($sql == "\x67\x72\157\x75\x70\137\x70\x65\x72\155\x69\163\x73\151\x6f\156") { return ceil($groups_permission_db->count($filter) / $total); } if ($sql == "\x67\162\157\165\x70\137\x75\163\x65\162") { return ceil($groups_user_db->count($filter) / $total); } } else { if (DB_TYPE == "\115\131\123\121\114") { $connx = new PDO("\155\x79\x73\161\154\x3a\x68\x6f\x73\x74\75" . DB_HOST . "\73\x70\x6f\x72\x74\75" . DB_PORT . "\73\144\x62\x6e\141\x6d\145\x3d" . DB_DATA, DB_USER, DB_PASSWORD); if (!empty($search) and !empty($search2) and !empty($search3)) { if (empty($type)) { $type = array("\x25" . $search . "\x25", "\x25" . $search2 . "\x25", "\x25" . $search3 . "\x25"); } if (!empty($type)) { $type = array($search, $search2, $search3); } $docList = $connx->prepare("\123\x45\x4c\x45\x43\124\x20\52\40\106\122\117\115\x20\140" . $sql . "\140" . $searching); $docList->execute(array($type)); } if (!empty($search) and !empty($search2) and empty($search3)) { if (empty($type)) { $type = array("\45" . $search . "\x25", "\x25" . $search2 . "\45"); } if (!empty($type)) { $type = array($search, $search2); } $docList = $connx->prepare("\123\x45\x4c\x45\103\124\40\x2a\x20\x46\122\x4f\115\40\140" . $sql . "\140" . $searching); $docList->execute(array($type)); } if (!empty($search) and empty($search2) and empty($search3)) { if (empty($type)) { $type = "\45" . $search . "\x25"; } if (!empty($type)) { $type = $search; } $docList = $connx->prepare("\123\105\114\105\103\124\x20\x2a\40\x46\122\117\115\40\140" . $sql . "\x60" . $searching); $docList->execute(array($type)); } if (empty($search) and empty($search2) and empty($search3)) { $docList = $connx->prepare("\x53\x45\114\105\x43\124\x20\x2a\40\x46\x52\117\115\x20\x60" . $sql . "\x60"); $docList->execute(); } return ceil($docList->RowCount() / $total); } } } goto fLYQU; Odue3: if (!isset($_SESSION["\154\141\x6e\147"]) and !isset($_COOKIE["\154\141\x6e\x67"])) { $_SESSION["\x6c\x61\156\x67"] = $default_lang; setcookie("\x6c\141\156\x67", $default_lang, time() + 3600, "\57"); } else { if (isset($_SESSION["\154\x61\156\x67"]) and !isset($_COOKIE["\154\141\x6e\147"])) { setcookie("\x6c\141\x6e\147", $_SESSION["\154\141\156\147"], time() + 3600, "\57"); } else { if (!isset($_SESSION["\154\x61\x6e\x67"]) and isset($_COOKIE["\x6c\x61\156\147"])) { $_SESSION["\154\141\x6e\147"] = $_COOKIE["\154\141\x6e\147"]; } } } goto rzWk_; ni1bO: if (file_exists("\x2e\x2f\155\145\163\x73\141\x67\145\57")) { if (!file_exists("\155\145\x73\x73\141\147\x65\x2f" . $lang . "\x2e\x70\x68\x70")) { $lang = $default_lang; } require_once "\x6d\145\x73\x73\141\147\145\57" . $lang . "\56\x70\x68\160"; } else { if (!file_exists("\x2e\x2e\57\155\145\x73\x73\x61\x67\145\57" . $lang . "\x2e\x70\150\x70")) { $lang = $default_lang; } require_once "\56\56\57\155\x65\x73\x73\141\147\x65\x2f" . $lang . "\x2e\160\x68\160"; } goto xrxDD; i0cMC: function randomCodes($length = 10) { $characters = "\60\x31\x32\x33\x34\65\66\x37\x38\71\101\x42\x43\104\105\106\107\x48\111\112\113\x4c\115\116\x4f\x50\121\x52\123\124\x55\x56\127\130\131\x5a"; $charactersLength = strlen($characters); $randomString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charactersLength - 1)]; } return $randomString; } goto eg9Ta; rzWk_: $lang = $_SESSION["\154\x61\156\147"]; goto ni1bO; fLYQU: function paginationButtons($TotalRegistro, $compag, $total, $action = "\x75\160\144\141\164\x65\120\x61\x67\145") { $IncrimentNum = $compag + 1 <= $TotalRegistro ? $compag + 1 : 1; $DecrementNum = $compag - 1 < 1 ? 1 : $compag - 1; if (empty($action)) { $action = "\x75\x70\x64\x61\x74\x65\120\141\x67\x65"; } else { $action = $action; } echo "\x3c\165\x6c\40\x63\x6c\x61\163\x73\75\42\160\141\147\x69\x6e\x61\x74\x69\157\x6e\x20\x74\x65\x78\x74\55\143\x65\156\164\145\162\x22\76\74\x6c\x69\x20\x63\154\141\x73\163\x3d\x22\x62\164\156\x20\142\x74\156\55\160\x72\151\x6d\x61\162\x79\40\x62\164\156\55\163\155\40\142\164\x6e\55\x72\157\x75\x6e\144\x65\144\x22\x20\163\164\171\154\145\x3d\42\155\x61\x72\x67\151\x6e\55\162\x69\x67\x68\164\x3a\x20\x35\x70\170\73\x22\40\x6f\x6e\x63\x6c\x69\143\153\75\x22" . $action . "\x28" . $DecrementNum . "\51\73\42\x3e\342\227\x80\x3c\57\154\x69\76"; $Desde = $compag - (ceil($total / 2) - 1); $Hasta = $compag + (ceil($total / 2) - 1); $Desde = $Desde < 1 ? 1 : $Desde; $Hasta = $Hasta < 1 ? 10 : $Hasta; for ($i = $Desde; $i <= $Hasta; $i++) { if ($i <= $TotalRegistro) { if ($i == $compag) { echo "\x3c\x6c\x69\x20\x63\154\141\x73\x73\x3d\42\142\164\156\x20\x62\164\156\55\x6f\165\164\x6c\x69\156\145\x2d\x70\x72\x69\155\141\162\x79\40\142\164\156\55\x73\x6d\42\40\x73\x74\x79\x6c\x65\75\x22\x6d\x61\162\147\x69\156\x2d\x72\x69\147\150\164\x3a\x20\x35\160\x78\x3b\x22\40\157\156\143\154\151\143\x6b\75\x22" . $action . "\x28\47" . $i . "\47\x29\x3b\42\x3e" . $i . "\74\x2f\x6c\x69\x3e"; } else { echo "\74\154\151\40\x63\154\141\163\163\75\x22\142\164\x6e\x20\142\164\156\55\x70\162\x69\x6d\x61\162\x79\40\142\x74\156\x2d\x73\x6d\x22\40\x73\x74\171\x6c\145\x3d\x22\x6d\x61\162\147\151\156\x2d\x72\x69\147\150\164\x3a\x20\65\x70\170\x3b\42\40\x6f\156\x63\154\x69\x63\153\75\x22" . $action . "\x28\x27" . $i . "\47\51\x3b\x22\76" . $i . "\x3c\x2f\154\x69\x3e"; } } } echo "\74\154\x69\40\143\x6c\141\x73\x73\75\x22\x62\164\156\40\142\x74\x6e\55\x70\162\151\155\141\162\x79\x20\142\164\x6e\55\163\x6d\40\x62\164\156\x2d\x72\157\x75\156\144\145\144\42\x20\163\164\171\154\145\x3d\42\x6d\x61\x72\147\x69\x6e\x2d\x72\151\x67\150\x74\x3a\x20\65\x70\170\x3b\x22\40\x6f\x6e\143\x6c\x69\143\153\75\42" . $action . "\50\47" . $IncrimentNum . "\47\x29\x3b\42\x3e\342\226\xb6\74\57\x6c\x69\76\x3c\x2f\165\x6c\x3e"; } goto ZRNp1; QInYt: function counttime($date, $lang, $dates = "\x64\x61\164\145\164\x69\x6d\145") { if ($dates == "\x64\141\x74\145\164\x69\155\145") { $timestamp = strtotime($date); } else { $timestamp = $date; } $strTime = array(langSystem($lang, "\143\157\x75\156\x74\164\x69\155\145", "\x73\x65\143\x6f\156\x64"), langSystem($lang, "\x63\x6f\x75\156\x74\x74\151\x6d\145", "\x6d\x69\156\x75\164\x65"), langSystem($lang, "\x63\x6f\165\x6e\164\x74\x69\155\x65", "\x68\157\165\162"), langSystem($lang, "\x63\x6f\165\156\x74\x74\151\155\x65", "\x64\141\x79"), langSystem($lang, "\143\x6f\x75\156\x74\164\x69\155\145", "\x6d\x6f\x6e\164\x68"), langSystem($lang, "\x63\x6f\x75\x6e\164\x74\x69\x6d\x65", "\171\145\141\x72")); $strTimes = array(langSystem($lang, "\143\157\x75\156\164\164\x69\x6d\145", "\x73\145\143\x6f\x6e\144\163"), langSystem($lang, "\x63\x6f\x75\x6e\x74\x74\151\x6d\x65", "\x6d\151\x6e\165\164\x65\x73"), langSystem($lang, "\143\x6f\165\156\164\x74\x69\x6d\x65", "\x68\x6f\165\162\163"), langSystem($lang, "\143\x6f\165\156\x74\x74\151\x6d\x65", "\144\141\x79\163"), langSystem($lang, "\143\157\165\x6e\164\164\151\155\145", "\155\x6f\x6e\x74\150\x73"), langSystem($lang, "\x63\x6f\x75\x6e\164\x74\151\x6d\x65", "\171\x65\141\x72\x73")); $length = array("\x36\x30", "\x36\60", "\x32\64", "\63\x30", "\x31\x32", "\x31\60"); $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) { $timeName = $strTimes[$i]; } else { $timeName = $strTime[$i]; } $type_lang = langSystem($lang, "\143\157\x75\156\x74\x74\151\155\x65", "\141\147\157\55\x74\171\160\x65"); if ($type_lang == 1) { return langSystem($lang, "\143\157\165\156\164\164\x69\x6d\x65", "\x61\x67\x6f") . "\40" . $diff . "\x20" . $timeName; } else { if ($type_lang == 2) { return $diff . "\40" . $timeName . "\40" . langSystem($lang, "\143\x6f\165\156\164\x74\151\155\x65", "\x61\147\157"); } } } } goto SoSOL; cLgbg: function url() { return sprintf("\45\x73\72\57\x2f\x25\x73\45\x73", isset($_SERVER["\110\124\x54\x50\x53"]) && $_SERVER["\110\124\x54\120\123"] != "\x6f\146\146" ? "\x68\x74\164\160\163" : "\x68\164\164\x70", $_SERVER["\x53\x45\x52\126\105\122\x5f\116\x41\115\x45"], $_SERVER["\122\x45\x51\125\105\123\124\137\x55\x52\x49"]); } goto lVUPa; xrxDD: $country = "\101\122"; goto v40Er; gBI8v: switch ($country) { case "\x55\x53": $timezone = "\x41\155\145\x72\x69\143\x61\57\x4e\x65\x77\x5f\x59\157\162\153"; break; case "\125\x4b": $timezone = "\105\x75\x72\x6f\160\145\57\x4c\157\x6e\144\x6f\x6e"; break; case "\x41\122": $timezone = "\x41\155\x65\x72\x69\x63\141\57\x41\x72\147\x65\x6e\164\151\156\x61\x2f\x42\x75\145\x6e\157\x73\137\x41\151\x72\145\x73"; break; case "\102\x6f\154\x69\166\151\141": $timezone = "\101\155\x65\162\151\143\x61\57\x4c\141\x5f\120\141\172"; break; case "\102\x72\141\x73\x69\154": $timezone = "\x41\x6d\x65\x72\x69\143\x61\x2f\123\x61\x6f\x5f\x50\141\x75\x6c\157"; break; case "\103\150\151\x6c\145": $timezone = "\x41\x6d\x65\162\151\143\x61\57\x53\141\x6e\164\151\141\x67\x6f"; break; case "\103\x6f\154\157\x6d\x62\151\141": $timezone = "\101\x6d\x65\x72\151\143\x61\57\x42\x6f\147\157\x74\141"; break; case "\105\143\165\141\144\x6f\162": $timezone = "\x41\x6d\x65\x72\151\x63\141\x2f\107\165\141\171\x61\x71\165\x69\x6c"; break; case "\107\165\x79\x61\156\x61": $timezone = "\101\x6d\x65\x72\151\x63\141\57\x47\x75\x79\141\156\x61"; break; case "\x50\141\162\x61\147\x75\x61\171": $timezone = "\101\155\145\x72\x69\143\x61\57\x41\163\165\156\x63\x69\157\156"; break; case "\x50\145\162\303\272": $timezone = "\x41\155\x65\x72\151\x63\x61\57\114\151\155\141"; break; case "\x53\x75\162\x69\x6e\141\155": $timezone = "\x41\155\145\x72\x69\143\x61\57\x50\141\162\x61\155\141\x72\x69\142\157"; break; case "\125\x72\165\x67\165\x61\171": $timezone = "\x41\155\145\x72\151\143\x61\x2f\x4d\157\x6e\x74\x65\166\151\x64\x65\x6f"; break; case "\x56\145\x6e\145\x7a\165\145\154\141": $timezone = "\x41\155\145\x72\x69\x63\x61\57\103\141\162\x61\x63\141\163"; break; } goto hEh84; CYHZb: $fecha = date("\131\55\155\55\x64\x20\x48\x3a\x69\72\x73"); goto J3Q77; b80Bk: function mysqli_result($res, $row, $field = 0) { $res->data_seek($row); $datarow = $res->fetch_array(); return $datarow[$field]; } goto EsG_l; SoSOL: function counttimedown($timing, $msg, $date = "\164\151\155\x65", $lang) { if ($date == "\x74\x69\x6d\x65") { $info = date("\x59\x2d\155\x2d\144\40\x48\72\x69\72\x73", $timing); } else { $info = $timing; } $end_time = new DateTime($info); $current_time = new DateTime(); $interval = $current_time->diff($end_time); $textand = langSystem($lang, "\143\x6f\165\x6e\x74\x74\151\155\x65", "\163\145\x70\x61\162\141\164\x6f\162"); if ($interval->format("\x25\x61") == "\x30") { $timers = $interval->format("\x25\150\x20\x68\54\x20\45\151\40\x6d\x20" . $textand . "\x20\45\x73\x20\163\x2e"); } else { if ($interval->format("\45\x68") == "\x30") { $timers = $interval->format("\x25\x69\x20\155\x20" . $textand . "\x20\45\x73\x20\x73\56"); } else { if ($interval->format("\45\151") == "\60") { $timers = $interval->format("\x25\163\x20\x73\56"); } else { $timers = $interval->format("\x25\141\40\144\x2c\40\45\x68\x20\150\54\x20\x25\x69\x20\155\40" . $textand . "\40\x25\163\x20\x73\x2e"); } } } if ($interval->invert) { echo $msg; } else { echo $timers; } } goto JnJ9d; Y_ajF: function plataformCount() { require_once "\x63\x6f\x6e\x66\151\147\56\160\150\160"; $connx = new PDO("\x6d\x79\163\161\x6c\72\150\157\163\x74\75" . DB_HOST . "\x3b\160\157\162\x74\x3d" . DB_PORT . "\x3b\x64\142\x6e\x61\155\x65\75" . DB_DATA, DB_USER, DB_PASSWORD); $countProduct = $connx->prepare("\123\105\x4c\105\x43\x54\40\103\x4f\125\x4e\x54\x28\x69\144\x29\x20\101\123\40\x74\x6f\x74\x61\154\40\x46\x52\117\115\x20\x60\165\x5f\160\x6c\x61\164\x61\x66\x6f\162\155\x60"); $countProduct->execute(); $doc = $countProduct->fetch(PDO::FETCH_ASSOC); return $doc["\x74\x6f\x74\141\x6c"]; } goto D5Vlw; Plute: function licenseCounts() { require_once "\143\157\x6e\146\x69\x67\56\x70\150\160"; $connx = new PDO("\x6d\x79\x73\x71\x6c\x3a\x68\x6f\163\x74\75" . DB_HOST . "\73\160\x6f\x72\164\75" . DB_PORT . "\73\x64\x62\156\141\x6d\145\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $countLicense = $connx->prepare("\x53\x45\x4c\x45\103\x54\x20\x43\117\125\116\124\x28\151\x64\x29\x20\101\x53\40\x74\157\x74\x61\x6c\x20\x46\122\117\115\40\140\165\137\154\151\143\145\x6e\x73\x65\x60"); $countLicense->execute(); $doc = $countLicense->fetch(PDO::FETCH_ASSOC); return $doc["\x74\157\x74\141\x6c"]; } goto vSiYB; O1pXv: function unique_perm_other($id, $perm) { require_once "\143\x6f\x6e\x66\151\x67\x2e\x70\x68\x70"; if (DB_TYPE == "\115\x4f\116\x47\x4f\104\102") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("\x73\145\162\166\145\162\x41\160\x69" => $apiVersion)); $database = $client->unique; $perms_db = $database->assss_permission; $filter = array("\x75\144\151\144" => $id, "\160\145\x72\155\x69\x73\x73\x69\x6f\156" => $perm); $document = $perms_db->findOne($filter); if ($document) { return true; } else { return false; } return false; } else { if (DB_TYPE == "\x4d\x59\123\x51\x4c") { $connx = new PDO("\x6d\171\x73\161\x6c\72\x68\157\163\164\x3d" . DB_HOST . "\73\160\157\x72\x74\75" . DB_PORT . "\x3b\144\142\x6e\x61\x6d\145\x3d" . DB_DATA, DB_USER, DB_PASSWORD); $permtype = $connx->prepare("\x53\105\114\x45\103\124\x20\52\40\x46\x52\117\115\x20\x60\165\x5f\165\x73\x65\162\x5f\160\x65\x72\155\x69\x73\x73\x69\157\x6e\163\x60\40\x57\110\105\x52\105\x20\140\165\144\x69\x64\140\40\x3d\x20\x3f\40\x41\116\x44\40\140\160\145\x72\155\x69\163\x73\151\157\156\140\x20\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 RY6Pp; JnJ9d: if ($pageload != "\111\x6e\163\x74\x61\x6c\154") { $url = "\x68\x74\x74\160\163\x3a\x2f\x2f\x76\x75\x68\160\56\166\x61\156\x69\164\x79\160\x72\x6f\x79\145\143\164\56\146\165\156\57\125\156\151\x71\165\x65\x2f\167\x72\x65\x71\x75\145\163\x74\77\166\62\x3d" . LICENSE . "\x26\160\154\75\126\141\x6e\151\164\171\x4c\151\143\x65\x6e\x73\145"; $response = file_get_contents($url); if ($response === false) { echo "\105\x72\162\x6f\162\x2e\x2e\40\x50\154\145\x61\x73\145\40\x63\157\156\164\141\143\x74\40\x74\150\145\x20\x61\x64\x6d\x69\x6e\x69\x73\x74\162\x61\164\157\x72\x20\x6f\146\x20\126\x61\x6e\x69\x74\x79\40\120\162\x6f\x79\x65\143\164\56"; } else { $data = json_decode($response, true); if ($data === null) { echo "\x45\x72\x72\x6f\162\56\x2e\56\x20\120\x6c\x65\141\163\145\40\x63\x6f\156\x74\141\143\164\x20\x74\150\x65\40\x61\144\155\151\156\x69\x73\164\x72\141\x74\x6f\162\x20\x6f\x66\40\126\141\x6e\151\x74\171\x20\120\162\x6f\x79\145\x63\x74\x2e"; } else { $exito = $data["\x65\x78\151\x74\x6f"]; $mensaje = $data["\155\x65\x6e\163\141\x6a\145"]; if (!$exito) { echo $mensaje; die; } } } } goto cLgbg; BkaM1: function langSystem($lenguage_section, $page, $section) { require_once "\x63\x6f\156\x66\x69\147\56\x70\x68\x70"; if (DB_TYPE == "\x4d\117\x4e\x47\x4f\x44\102") { $uri = MONGODB_CONNECTION; $apiVersion = new ServerApi(ServerApi::V1); $client = new MongoDB\Client($uri, array(), array("\163\145\x72\x76\x65\162\101\x70\151" => $apiVersion)); $database = $client->unique; $license_db = $database->u_license; $user_db = $database->assss_user; $product_db = $database->product; $perms_db = $database->assss_permission; $server_db = $database->server; $plataform_db = $database->plataformed; $mylicenses = $license_db->count(array("\x75\x64\x69\144" => $_SESSION["\x75\137\x75\163\x65\162"]["\165\144\x69\144"])); $alllicenses = $license_db->count(); $allusers = $user_db->count(); $allproduct = $product_db->count(); $allperms = $perms_db->count(); $allservers = $server_db->count(); $allplataform = $plataform_db->count(); } else { if (DB_TYPE == "\x4d\131\123\x51\x4c") { $mylicenses = licenseCount($_SESSION["\x75\x5f\x75\163\145\162"]["\x75\x64\x69\144"]); $alllicenses = licenseCounts(); $allusers = userCount(); $allproduct = productCount(); $allplataform = plataformCount(); } } if (isset($lenguage_section[$page][$section])) { $variable = array("\74\x63\x6f\x75\156\164\72\155\171\x3a\154\x69\143\x65\156\x73\x65\x73\x3e", "\74\x63\157\x75\x6e\164\72\154\151\x63\145\x6e\163\x65\163\x3e", "\74\x63\x6f\x75\x6e\x74\x3a\x75\x73\145\x72\76", "\74\x63\157\x75\156\x74\x3a\x70\x72\x6f\x64\x75\143\x74\x3e", "\74\x63\x6f\165\156\164\x3a\x70\x6c\141\x74\x61\x66\157\x72\x6d\x3e"); $str_variable = array($mylicenses, $alllicenses, $allusers, $allproduct, $allplataform); $complet_variable = str_replace($variable, $str_variable, $lenguage_section[$page][$section]); return $complet_variable; } else { return "\116\157\x74\40\162\145\163\x75\154\x74\163\x20\146\x6f\x75\156\x64\x20\x6f\146\x20\155\x65\x73\163\141\147\x65\x2e"; } } goto MIGlM; ZRNp1: ?>

Function Calls

None

Variables

None

Stats

MD5 aa5b6c61850ba37ed678c1e132d1c5b6
Eval Count 0
Decode Time 72 ms