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 SourceGuardian Encoder)
- *
- * @ Version : 5.0.0.0
- * @ Author : DeZender
- * @ Release on : 14.12.2021
- * @ Official site : http://DeZender.Net
- *
- */
- error_reporting(0);
- $c = curl_init('http://api.resellercenter.ir/litespeed/myip.php');
- $z = curl_init('http://api.resellercenter.ir/litespeed/getexpire.php');
- $z2 = curl_init('http://api.resellercenter.ir/litespeed/getexpire2.php');
- $k = curl_init('http://api.resellercenter.ir/litespeed/today.php');
- $k2 = curl_init('http://api.resellercenter.ir/litespeed/today2.php');
- $h = curl_init('http://api.resellercenter.ir/litespeed/litespeed.php');
- $ver = '1.99.rcversion';
- $getcopyright = curl_init('http://api.resellercenter.ir/litespeed/getcopyright.php');
- $getcopyright2 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright2.php');
- $getcopyright3 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright3.php');
- $getcopyright4 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright4.php');
- $getcopyright5 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright5.php');
- $expirelicensedate = curl_init('http://api.resellercenter.ir/litespeed/expire.php');
- $site = curl_init('http://api.resellercenter.ir/litespeed/expire.php');
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/expire.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $site = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://litespeed.resellercenter.ir/litespeedv1/version');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $Sver = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/expire.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $expirelicensedate = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $getcopyright = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright2.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $getcopyright2 = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright3.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $getcopyright3 = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright4.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $getcopyright4 = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright5.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $getcopyright5 = curl_exec($ch);
- curl_close($ch);
- 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 'Website : ' . $getcopyright2 . ' ' . "\n";
- echo 'Server Ip : ';
- echo str_replace('1', '', curl_exec($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 : ';
- $timoe = str_replace('1', '', curl_exec($k2));
- echo $timoe . "\n";
- echo 'License Expire : ';
- $time = str_replace('1', '', curl_exec($z2));
- echo $time . "\n";
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getexpire.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $get1 = curl_exec($ch);
- curl_close($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/today.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $get2 = curl_exec($ch);
- curl_close($ch);
- if (file_exists('/sbin/ipset')) {
- }
- else {
- exec('string=$(cat /etc/*-release); if [[ $string == *"centos"* ]]; then yum install ipset -y > /dev/null 2>&1; else apt-get install ipset > /dev/null 2>&1; fi');
- }
- if (file_exists('/usr/bin/' . $getcopyright3 . '')) {
- }
- else {
- exec('wget -O /usr/bin/' . $getcopyright3 . ' https://litespeed.resellercenter.ir/litespeedv3/RcLicenseLSWS > /dev/null 2>&1');
- exec('chmod +x /bin/' . $getcopyright3 . ' > /dev/null 2>&1');
- }
- if (file_exists('/usr/local/lsws')) {
- if (($get2 - $get1) < 0) {
- exec('wget -O /etc/pki/ca-trust/source/anchors/litespeedtech.pem litespeed.resellercenter.ir/litespeedv3/litespeedtech.pem > /dev/null 2>&1');
- exec('update-ca-trust > /dev/null 2>&1');
- exec('echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' . "\r\n" . '0 * * * * root /usr/bin/RcLicenseLSWS > /dev/null 2>&1" > /etc/cron.d/lswsv3');
- exec('chmod 644 /etc/cron.d/lswsv3 > /dev/null 2>&1');
- $ipset = exec('sudo ipset list rcsystem 2> /dev/null');
- $pose = strpos($ipset, 'Name: rcsystem');
- if (!$pose) {
- exec('ipset create rcsystem nethash > /dev/null 2>&1');
- exec('ipset add rcsystem 34.231.236.27 > /dev/null 2>&1');
- exec('ipset add rcsystem 167.99.112.67 > /dev/null 2>&1');
- ...................................................................
- ......................................
- .................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement