Advertisement
Guest User

Untitled

a guest
Feb 1st, 2022
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. #!/usr/local/RCBIN/bin/php
  2. <?php
  3. /**
  4. *
  5. * @ This file is created by http://DeZender.Net
  6. * @ deZender (PHP7 Decoder for SourceGuardian Encoder)
  7. *
  8. * @ Version : 5.0.0.0
  9. * @ Author : DeZender
  10. * @ Release on : 14.12.2021
  11. * @ Official site : http://DeZender.Net
  12. *
  13. */
  14.  
  15. function exec_output($cmd)
  16. {
  17. exec($cmd, $output, $return_var);
  18. return $output[0];
  19. }
  20.  
  21. function get_http_response_code($domain1)
  22. {
  23. $ch = curl_init($domain1);
  24. curl_setopt($ch, CURLOPT_HEADER, true);
  25. curl_setopt($ch, CURLOPT_NOBODY, true);
  26. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  27. curl_setopt($ch, CURLOPT_TIMEOUT, 30);
  28. $output = curl_exec($ch);
  29. $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  30. curl_close($ch);
  31. return $httpcode;
  32. }
  33.  
  34. $RED = '\\033[31m';
  35. $Green = '\\033[32m';
  36. $Cyan = '\\033[36m';
  37. $NC = '\\033[0m';
  38. $key = 'fleetssl';
  39. $api = 'https://api.licenses4host.com/api/getinfo?key=' . $key;
  40. $api_license = 'https://api.licenses4host.com/api/license?key=' . $key;
  41. $status_code = get_http_response_code((string) $api);
  42. $plast_bin = '/usr/bin/plast';
  43. $current_ip = exec_output('curl -s https://ipinfo.io/ip');
  44. $domain_show = 'licenses4host.com';
  45. $brand_show = 'Licenses4Host';
  46. $hostname_show = exec_output('hostname');
  47. $server_type = 'Individual';
  48. $status = false;
  49. $server_range = 0;
  50. $firewall_stop = false;
  51. $firewall_stop_1 = false;
  52. $force = false;
  53. $action = (1 < count($argv) ? $argv[1] : '');
  54. ................................................................
  55. .....................................
  56. ...........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement