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 ionCube Encoder)
- *
- * @ Version : 4.0.10.0
- * @ Author : DeZender
- * @ Release on : 09.04.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function autoloader($className)
- {
- $classFile = realpath('.') . '/app/classes/class.' . strtolower($className) . '.php';
- if (file_exists($classFile)) {
- require $classFile;
- }
- }
- session_start();
- ob_start();
- require 'system/config.php';
- if (base64_decode($config['licence']['key'], true)) {
- $licence = explode('::', base64_decode($config['licence']['key']), 2);
- if (isset($licence[0]) && isset($licence[1])) {
- $iv = $licence[1];
- $licence = $licence[0];
- $licence = json_decode(openssl_decrypt($licence, 'aes-256-cbc', md5('*-*mgLisansKontrolgm*-*'), 0, $iv), true);
- $_site_url = (substr($_SERVER['HTTP_HOST'], 0, 4) == 'www.' ? substr($_SERVER['HTTP_HOST'], 4) : $_SERVER['HTTP_HOST']);
- if (!isset($licence['site_url']) || ($licence['site_url'] != $_site_url)) {
- exit('Lisanssiz kullanim!');
- }
- }
- else {
- exit('Lisanssiz kullanim!');
- }
- }
- else {
- exit('Lisanssiz kullanim!');
- }
- spl_autoload_register('autoloader');
- Helper::Load();
- try {
- $db = new PDO('mysql:host=' . $config['db']['host'] . ';dbname=' . $config['db']['name'] . ';charset=utf8', '' . $config['db']['user'] . '', '' . $config['db']['pass'] . '');
- }
- catch (PDOException $e) {
- echo $e->getMessage();
- ..............................................................................
- ........................................................
- ..............................
Add Comment
Please, Sign In to add comment