Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for SourceGuardian Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function getDecodedString($str)
- {
- $encryptKeyPosition = getEncryptKeyPosition(substr($str, -2, 1));
- $encryptKeyPosition2 = getEncryptKeyPosition(substr($str, -1));
- $substring = substr($str, 0, -2);
- return trim(utf8_decode(base64_decode(substr($substring, 0, $encryptKeyPosition) . substr($substring, $encryptKeyPosition + $encryptKeyPosition2))));
- }
- function getEncryptKeyPosition($str)
- {
- return strpos(ALLOWED_CHARACTERS, $str);
- }
- function getEncodedString($str)
- {
- $encryptKeyPosition = getEncryptKeyPosition(substr($str, -2, 1));
- $encryptKeyPosition2 = getEncryptKeyPosition(substr($str, -1));
- $encodedString = base64_encode(utf8_encode($str));
- $substring = substr($encodedString, 0, $encryptKeyPosition) . substr($encodedString, $encryptKeyPosition + $encryptKeyPosition2);
- return $substring . substr(ALLOWED_CHARACTERS, $encryptKeyPosition, 1) . substr(ALLOWED_CHARACTERS, $encryptKeyPosition2, 1);
- }
- function lang()
- {
- $language_json = file_get_contents('./json/language.json');
- return $language_json;
- }
- function getUserData($mac_address)
- {
- $db = new SQLite3('./.db.db');
- $mac_address = strtolower($mac_address);
- $ibo_query = $db->query('SELECT * FROM ibo WHERE LOWER(mac_address)="' . $mac_address . '"');
- $urls = [];
- while ($ibo_row = $ibo_query->fetchArray()) {
- $urls[] = ['is_protected' => $ibo_row['protection'], 'id' => md5($ibo_row['password']) . 'RTXREBRAND' . $ibo_row['id'], 'url' => $ibo_row['url'] . '/get.php?username=' . $ibo_row['username'] . '&password=' . $ibo_row['password'] . '&type=m3u_plus&output=ts', 'name' => $ibo_row['title'], 'created_at' => '2023-04-15 00:06:09', 'updated_at' => '2023-04-15 00:06:09'];
- }
- return ['urls' => json_encode($urls)];
- }
- function getExpired($mac_address)
- {
- $db = new SQLite3('./.db.db');
- $mac_address = strtolower($mac_address);
- .................................................................
- ...............................................
- ...........................
Add Comment
Please, Sign In to add comment