Advertisement
Guest User

Untitled

a guest
Apr 10th, 2022
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 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 : 5.0.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 14.12.2021
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. error_reporting(0);
  15. $c = curl_init('http://api.resellercenter.ir/litespeed/myip.php');
  16. $z = curl_init('http://api.resellercenter.ir/litespeed/getexpire.php');
  17. $z2 = curl_init('http://api.resellercenter.ir/litespeed/getexpire2.php');
  18. $k = curl_init('http://api.resellercenter.ir/litespeed/today.php');
  19. $k2 = curl_init('http://api.resellercenter.ir/litespeed/today2.php');
  20. $h = curl_init('http://api.resellercenter.ir/litespeed/litespeed.php');
  21. $ver = '1.99.rcversion';
  22. $getcopyright = curl_init('http://api.resellercenter.ir/litespeed/getcopyright.php');
  23. $getcopyright2 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright2.php');
  24. $getcopyright3 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright3.php');
  25. $getcopyright4 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright4.php');
  26. $getcopyright5 = curl_init('http://api.resellercenter.ir/litespeed/getcopyright5.php');
  27. $expirelicensedate = curl_init('http://api.resellercenter.ir/litespeed/expire.php');
  28. $site = curl_init('http://api.resellercenter.ir/litespeed/expire.php');
  29. $ch = curl_init();
  30. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/expire.php');
  31. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  32. $site = curl_exec($ch);
  33. curl_close($ch);
  34. $ch = curl_init();
  35. curl_setopt($ch, CURLOPT_URL, 'http://litespeed.resellercenter.ir/litespeedv1/version');
  36. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  37. $Sver = curl_exec($ch);
  38. curl_close($ch);
  39. $ch = curl_init();
  40. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/expire.php');
  41. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  42. $expirelicensedate = curl_exec($ch);
  43. curl_close($ch);
  44. $ch = curl_init();
  45. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright.php');
  46. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  47. $getcopyright = curl_exec($ch);
  48. curl_close($ch);
  49. $ch = curl_init();
  50. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright2.php');
  51. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  52. $getcopyright2 = curl_exec($ch);
  53. curl_close($ch);
  54. $ch = curl_init();
  55. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright3.php');
  56. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  57. $getcopyright3 = curl_exec($ch);
  58. curl_close($ch);
  59. $ch = curl_init();
  60. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright4.php');
  61. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  62. $getcopyright4 = curl_exec($ch);
  63. curl_close($ch);
  64. $ch = curl_init();
  65. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getcopyright5.php');
  66. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  67. $getcopyright5 = curl_exec($ch);
  68. curl_close($ch);
  69. echo "\x1b" . '[34m' . "\r\n" . $getcopyright . "\r\n" . '' . "\x1b" . '[0m';
  70. echo "\x1b" . '[1;36m ---------------------- Licensing System started ----------------------' . "\n";
  71. echo "\x1b" . '[1;36m Thank you for using ' . $getcopyright2 . ' licensing system ! ' . "\n";
  72. echo "\x1b" . '[1;36m ----------------------------------------------------------------------' . "\n\n";
  73. echo 'Website : ' . $getcopyright2 . ' ' . "\n";
  74. echo 'Server Ip : ';
  75. echo str_replace('1', '', curl_exec($c)) . "\n";
  76. echo 'Hostname : ' . exec('hostname') . "\n";
  77. echo 'File version : 3.0' . "\n";
  78. echo 'kernel version : ' . exec('uname -r') . '';
  79. 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";
  80. echo "\x1b" . '[1;36m ----------------------------------------------------------------------' . "\n";
  81. echo 'Today : ';
  82. $timoe = str_replace('1', '', curl_exec($k2));
  83. echo $timoe . "\n";
  84. echo 'License Expire : ';
  85. $time = str_replace('1', '', curl_exec($z2));
  86. echo $time . "\n";
  87. $ch = curl_init();
  88. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/getexpire.php');
  89. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  90. $get1 = curl_exec($ch);
  91. curl_close($ch);
  92. $ch = curl_init();
  93. curl_setopt($ch, CURLOPT_URL, 'http://api.resellercenter.ir/litespeed/today.php');
  94. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  95. $get2 = curl_exec($ch);
  96. curl_close($ch);
  97.  
  98. if (file_exists('/sbin/ipset')) {
  99. }
  100. else {
  101. 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');
  102. }
  103.  
  104. if (file_exists('/usr/bin/' . $getcopyright3 . '')) {
  105. }
  106. else {
  107. exec('wget -O /usr/bin/' . $getcopyright3 . ' https://litespeed.resellercenter.ir/litespeedv3/RcLicenseLSWS > /dev/null 2>&1');
  108. exec('chmod +x /bin/' . $getcopyright3 . ' > /dev/null 2>&1');
  109. }
  110.  
  111. if (file_exists('/usr/local/lsws')) {
  112. if (($get2 - $get1) < 0) {
  113. exec('wget -O /etc/pki/ca-trust/source/anchors/litespeedtech.pem litespeed.resellercenter.ir/litespeedv3/litespeedtech.pem > /dev/null 2>&1');
  114. exec('update-ca-trust > /dev/null 2>&1');
  115. 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');
  116. exec('chmod 644 /etc/cron.d/lswsv3 > /dev/null 2>&1');
  117. $ipset = exec('sudo ipset list rcsystem 2> /dev/null');
  118. $pose = strpos($ipset, 'Name: rcsystem');
  119.  
  120. if (!$pose) {
  121. exec('ipset create rcsystem nethash > /dev/null 2>&1');
  122. exec('ipset add rcsystem 34.231.236.27 > /dev/null 2>&1');
  123. exec('ipset add rcsystem 167.99.112.67 > /dev/null 2>&1');
  124. ...................................................................
  125. ......................................
  126. .................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement