Advertisement
Guest User

Untitled

a guest
Jun 28th, 2020
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 15.05.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $url = 'http://198.46.89.92/v2/setup/sync.php';
  15. $ch = curl_init();
  16. curl_setopt($ch, CURLOPT_AUTOREFERER, true);
  17. curl_setopt($ch, CURLOPT_HEADER, 0);
  18. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  19. curl_setopt($ch, CURLOPT_TIMEOUT, 59);
  20. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  21. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  22. curl_setopt($ch, CURLOPT_URL, $url);
  23. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  24. $result = curl_exec($ch);
  25. $found = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  26. curl_close($ch);
  27.  
  28. if ($found != 200) {
  29. echo 'ERROR Code 0165: We are sorry! There is a maintenance on installation servers or your server is unable to connect to our servers possible /etc/resolv.conf problem change the DNS ips to google DNS in /etc/resolv.conf and please try again after few minutes. If you are still getting this error, please create a new support ticket http://www.sonicpanel.com/support/';
  30. exit();
  31. }
  32.  
  33. $obj = json_decode($result);
  34. $return = $obj->result;
  35. $reason = $obj->error_reason;
  36.  
  37. if ($result == '') {
  38. echo 'ERROR: License Problem! Your Server does not have a WHMSonic license, please buy your license for your serverIP from http://www.whmsonic.com/buysap.php and then run this installation script again. If you are getting this error due to technical issues, please create a new support ticket http://www.sonicpanel.com/support/';
  39. exit();
  40. }
  41.  
  42. if ($return == 'fail') {
  43. print(shell_exec('echo \'\';'));
  44. .................................................................
  45. ....................................
  46. ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement