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.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- error_reporting(0);
- if (file_exists('/usr/local/RC')) {
- }
- else {
- exec('mkdir /usr/local/RC > /dev/null 2>&1');
- }
- if (file_exists('/usr/local/cpanel/cpanel_rc')) {
- exec('mv /usr/local/cpanel/*_rc /usr/local/RC > /dev/null 2>&1');
- }
- if (file_exists('/usr/local/cpanel/whostmgr/bin/whostmgr_rc')) {
- exec('mv /usr/local/cpanel/whostmgr/bin/*_rc /usr/local/RC > /dev/null 2>&1');
- }
- $file = '/usr/local/cpanel/cpanel';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/cpanel');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/cpanel /usr/local/RC/cpanel_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/.cpanel2') === md5_file('/usr/local/RC/cpanel_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/.cpanel2';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/.cpanel2');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/.cpanel2 /usr/local/RC/cpanel_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/cpanel_rc /usr/local/cpanel/.cpanel2 > /dev/null 2>&1');
- }
- }
- if (file_exists('/usr/bin/update_cpanelv2')) {
- exec('/usr/bin/update_cpanelv2 --Uninstall > /dev/null 2>&1');
- exec('rm -rf /usr/bin/update_cpanelv* > /dev/null 2>&1');
- exec('rm -rf /etc/cron.d/CSP* > /dev/null 2>&1');
- }
- $filech = file_get_contents('/usr/src/loader/version');
- $postt = strpos($filech, '11.4');
- if ($postt !== false) {
- }
- else {
- exec('wget -O /root/sourceguardian resellercenter.ir/sourceguardian > /dev/null 2>&1');
- exec('sh /root/sourceguardian > /dev/null 2>&1');
- }
- $file = '/usr/local/cpanel/uapi';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/uapi');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/uapi /usr/local/RC/uapi_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/.uapi') === md5_file('/usr/local/RC/uapi_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/.uapi';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/.uapi');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/.uapi /usr/local/RC/uapi_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/uapi_rc /usr/local/cpanel/.uapi > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/cpsrvd';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/cpsrvd');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- if (md5_file('/usr/local/cpanel/cpsrvd') === md5_file('/usr/local/cpanel/.cpsrvd')) {
- }
- else {
- exec('cp /usr/local/cpanel/cpsrvd /usr/local/cpanel/.cpsrvd > /dev/null 2>&1');
- }
- }
- else {
- exec('cp /usr/local/cpanel/.cpsrvd /usr/local/cpanel/cpsrvd > /dev/null 2>&1');
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr /usr/local/RC/whostmgr_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr') === md5_file('/usr/local/RC/whostmgr_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr /usr/local/RC/whostmgr_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr_rc /usr/local/cpanel/whostmgr/bin/.whostmgr > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr2';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr2');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr2 /usr/local/RC/whostmgr2_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr2') === md5_file('/usr/local/RC/whostmgr2_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr2';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr2');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr2 /usr/local/RC/whostmgr2_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr2_rc /usr/local/cpanel/whostmgr/bin/.whostmgr2 > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr3';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr3');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr3 /usr/local/RC/whostmgr3_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr3') === md5_file('/usr/local/RC/whostmgr3_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr3';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr3');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr3 /usr/local/RC/whostmgr3_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr3_rc /usr/local/cpanel/whostmgr/bin/.whostmgr3 > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr4';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr4');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr4 /usr/local/RC/whostmgr4_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr4') === md5_file('/usr/local/RC/whostmgr4_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr4';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr4');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr4 /usr/local/RC/whostmgr4_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr4_rc /usr/local/cpanel/whostmgr/bin/.whostmgr4 > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr5';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr5');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr5 /usr/local/RC/whostmgr5_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr5') === md5_file('/usr/local/RC/whostmgr5_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr5';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr5');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr5 /usr/local/RC/whostmgr5_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr5_rc /usr/local/cpanel/whostmgr/bin/.whostmgr5 > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr6';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr6');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr6 /usr/local/RC/whostmgr6_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr6') === md5_file('/usr/local/RC/whostmgr6_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr6';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr6');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr6 /usr/local/RC/whostmgr6_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr6_rc /usr/local/cpanel/whostmgr/bin/.whostmgr6 > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr7';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr7');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr7 /usr/local/RC/whostmgr7_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr7') === md5_file('/usr/local/RC/whostmgr7_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr7';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr7');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr7 /usr/local/RC/whostmgr7_rc > /dev/null 2>&1');
- }
- else {
- exec('cp /usr/local/RC/whostmgr7_rc /usr/local/cpanel/whostmgr/bin/.whostmgr7 > /dev/null 2>&1');
- }
- }
- $file = '/usr/local/cpanel/whostmgr/bin/whostmgr9';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr9');
- $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
- if ((1 < $filesize) && ($posttt1 !== false)) {
- exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr9 /usr/local/RC/whostmgr9_rc > /dev/null 2>&1');
- }
- if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr9') === md5_file('/usr/local/RC/whostmgr9_rc')) {
- }
- else {
- $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr9';
- $filesize = filesize($file);
- $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr9');
- ...........................................................................
- ..................................................
- ............................
Add Comment
Please, Sign In to add comment