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 : 4.1.0.0
- * @ Author : DeZender
- * @ Release on : 15.05.2020
- * @ Official site : http://DeZender.Net
- *
- */
- exec('rm -rf /root/lsws.p* > /dev/null 2>&1');
- exec('rm -rf /root/lsws.result > /dev/null 2>&1');
- $lock = '/root/LSWS.lock';
- if (file_exists($lock)) {
- exec('sed \'s/^ *//g\' /root/.lsws.pid1 > /root/.lsws.pid 2>&1');
- $pid = file_get_contents('/root/.lsws.pid');
- exec('ps -ef | grep ' . $pid . '');
- $filexml = file_get_contents('/root/.lsws.result');
- $pose = strpos($filexml, '/usr/bin/RcLSWS');
- if ($pose !== false) {
- echo "\n\n" . 'LiteSpeed license is already running. To stop the process please run the following command :';
- echo "\n" . 'rm -rf /root/LSWS.lock' . "\n";
- }
- else {
- exec('rm -rf /root/LSWS.lock > /dev/null 2>&1');
- echo "\n\n" . 'LiteSpeed license LOCK file exists but not running... removing it...' . "\n";
- }
- }
- else {
- exec('rm -rf /root/.lsws.p* > /dev/null 2>&1');
- exec('rm -rf /root/.lsws.result > /dev/null 2>&1');
- exec('touch /root/LSWS.lock');
- exec('echo $(ps -o ppid= -p "$$") "| grep -v grep > /root/.lsws.result" > /root/.lsws.pid1');
- exec('faketime > /usr/local/.checkf 2>&1');
- $filexml = file_get_contents('/usr/local/.checkf');
- $pose = strpos($filexml, 'Usage: faketime');
- if ($pose !== false) {
- exec('cp /usr/bin/faketime /usr/bin/cpd > /dev/null 2>&1');
- exec('rm -rf /usr/local/.checkf > /dev/null 2>&1');
- }
- else {
- exec('cd /home && wget http://li.nux.ro/download/nux/misc/el6/x86_64//libfaketime-0.9.6-2.el6.nux.x86_64.rpm > /dev/null 2>&1 && yum localinstall libfaketime-0.9.6-2.el6.nux.x86_64.rpm -y > /dev/null 2>&1');
- exec('cp /usr/bin/faketime /usr/bin/cpd > /dev/null 2>&1');
- exec('chmod +x /usr/bin/cpd > /dev/null 2>&1');
- exec('curl http://api.resellercenter.ir/cpanel/log.php?error=PACKAGE > /dev/null 2>&1');
- exec('rm -rf /usr/local/.checkf > /dev/null 2>&1');
- exec('rm -rf /home/libfaketime-0.9.6-2.el6.nux.x86_64.rpm > /dev/null 2>&1');
- }
- $file = file_get_contents('/usr/bin/.rccore');
- $pos = strpos($file, '4');
- if ($pos !== false) {
- $version = exec('/usr/local/lsws/bin/lshttpd -v | sed -e "s/LiteSpeed\\/\\(.*\\) Enterprise/\\1/"');
- ..........................................................
- ............................
- .........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement