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 : 5.0.1.0
- * @ Author : DeZender
- * @ Release on : 22.04.2022
- * @ Official site : http://DeZender.Net
- *
- */
- error_reporting(0);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/cln/info.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $licensing_info = curl_exec($ch);
- $http_status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- if ($http_status !== 200) {
- echo "\x1b" . '[1;36m # ' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;36m # ' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;36m # Cannot connect to our licensing servers, Server might be busy' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;36m # Or might be under update, or your server has connection issues. ' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;36m # Please contact our support' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;33m # TIP : you can wait few minutes then try running licensing command again.' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;36m # ' . "\x1b" . '[0m' . "\n";
- echo "\x1b" . '[1;36m # ' . "\x1b" . '[0m' . "\n";
- curl_close($ch);
- exit();
- }
- curl_close($ch);
- $licensing_info = json_decode($licensing_info);
- $getcopyright = $licensing_info->copyright1;
- $getcopyright2 = $licensing_info->copyright2;
- $getcopyright3 = $licensing_info->copyright3;
- $k2 = $licensing_info->today2;
- $z2 = $licensing_info->expire2;
- $get1 = $licensing_info->expire;
- $get2 = $licensing_info->today;
- $c = $licensing_info->ip;
- echo "\x1b" . '[34m' . "\r\n" . $getcopyright . "\r\n" . '' . "\x1b" . '[0m';
- echo "\x1b" . '[1;36m ---------------------- Licensing System started ----------------------' . "\n";
- echo "\x1b" . '[1;36m Thank you for using ' . $getcopyright2 . ' licensing system ! ' . "\n";
- echo "\x1b" . '[1;36m ----------------------------------------------------------------------' . "\n\n";
- echo 'Product type : CLoudLinux Shared Pro ' . "\n";
- echo 'Website : ' . $getcopyright2 . ' ' . "\n";
- echo 'Server Ip : ';
- echo $c . "\n";
- echo 'Hostname : ' . exec('hostname') . "\n";
- echo 'File version : 3.0' . "\n";
- echo 'kernel version : ' . exec('uname -r') . '';
- echo "\n\n" . '' . "\x1b" . '[33m If you have any question connect us on our website.' . "\r\n" . 'Copyright 2017-2020 ' . $getcopyright2 . ' - All rights reserved. ' . "\x1b" . '[0m ' . "\n";
- echo "\x1b" . '[1;36m ----------------------------------------------------------------------' . "\n";
- echo 'Today : ';
- echo $k2 . "\n";
- echo 'License Expire : ';
- echo $z2 . "\n";
- $target = '/usr/local/RCBIN/php.d/ixed.7.4.lin';
- $tmp = '/usr/local/RCBIN/php.d/ixed.7.4.lin.new';
- $url = 'https://mirror.resellercenter.ir/loader/ixed.7.4.lin';
- $expected_md5 = '9dd7f25d1d81dd937ec067b64aac7f38';
- if (file_exists($tmp)) {
- @unlink($tmp);
- }
- if ($expected_md5 === md5_file($target)) {
- }
- else {
- exec('umount /usr/local/RCBIN/php.d/ixed.7.4.lin > /dev/null 2>&1');
- exec('chattr -ia /usr/local/RCBIN/php.d/ixed.7.4.lin > /dev/null 2>&1');
- exec('chattr2 -ia /usr/local/RCBIN/php.d/ixed.7.4.lin > /dev/null 2>&1');
- exec('comp0 -ia /usr/local/RCBIN/php.d/ixed.7.4.lin > /dev/null 2>&1');
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
- $server_output = curl_exec($ch);
- ...........................................................
- ...............................
- ..................
Advertisement
Add Comment
Please, Sign In to add comment