Guest User

Untitled

a guest
Jan 23rd, 2021
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/share/goba/php/711-sg/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 : 4.1.0.1
  9. * @ Author : DeZender
  10. * @ Release on : 29.08.2020
  11. * @ Official site : http://DeZender.Net
  12. *
  13. */
  14.  
  15. function remove_trial()
  16. {
  17. system('echo "" > /usr/local/cpanel/whostmgr/docroot/templates/menu/_trial.tmpl &> /dev/null');
  18. system('sed -i -e "s/CPANEL.CPFLAGS.item(\'trial\')/False/g" "/usr/local/cpanel/base/frontend/paper_lantern/_assets/master_retro/master_content.html.tt" &> /dev/null');
  19. system('sed -i -e "s/CPANEL.CPFLAGS.item(\'trial\')/False/g" "/usr/local/cpanel/base/frontend/paper_lantern/_assets/master_content.html.tt" &> /dev/null');
  20. }
  21.  
  22. function check_license_expire()
  23. {
  24. global $key;
  25. system('mkdir -p /usr/local/GB > /dev/null 2>&1');
  26. $private = '-----BEGIN PRIVATE KEY-----' . "\r\n" . 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC5Hq/0a7g3fR9Y' . "\r\n" . '7IteOpM9FIgocmBa/V7TkURXdT+5y3OpVED/FGyQ+WoBWi5bym6CgTlp5bM6QvTe' . "\r\n" . 'QAoVNvDyRjxB4dENBhls/Gr9B1JBcuG6pm1Ruizhu8NsfL5hiCbyZGzSu7L7LKaz' . "\r\n" . '457RoJ01pH7p8IVKxJdW1vNsTiCLgTLgjePkO/hTQJMwO6MvXnpQ3ViI8kECThVS' . "\r\n" . 'lkhrz4UveenmJXBaop038MW2Y0VtVWFaDBdJ+HFN6tueKhIEGbgkB//TyGBuPAS4' . "\r\n" . 'XDe7MQVzg8OUz8NAFrWcJBmVUep8qiDJwVm2m5AvMiUHN4SVyk5wgVZ6XtGeiuOZ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h03W9F6fGzo6MRtKIu7NYLpVMMQkn8UpOOdGnhiG+XnNWlhGzsDgWS' . "\r\n" . '9asQltK1IH0Hx0W0TG8Q5+UevurUbj638g3nVlwHTHDbcwraZs7b8LVT/f25gH14' . "\r\n" . '2esMvNiMYs+eyc54CFl7Qx62Lnj2nma9kFUMwucCgYEAsE/NPUBp/lLuGqSR+quj' . "\r\n" . 'sgdTIbttscOF5K+CYThJjBIAI4sMHC1qxgDgf0BAhUiL2NciQ6aIniSCkIoF5bpM' . "\r\n" . 'V7YU+L/ugiOfGVhFsji4X8E00dkqWHUZ1EaDCccoMV/gKKAbnsofUF6w4U/mk3bH' . "\r\n" . 'p2uA5sF5fX+kO3sqKGwfgoI=' . "\r\n" . '-----END PRIVATE KEY-----';
  27.  
  28. if (!file_exists('/usr/local/GB/.licensekeycp')) {
  29. exec('wget -O /usr/local/GB/.licensekeycp https://api.license4.host/api/' . $key . '/getlicense > /dev/null 2>&1');
  30. $getdata = file_get_contents('/usr/local/GB/.licensekeycp');
  31. $file = json_decode($getdata, true);
  32. $data = base64_decode($file['sig']);
  33. $decrypted = openssl_private_decrypt($data, $decrypted_1, $private);
  34. $json = json_decode($decrypted_1, true);
  35. $valid = $json['second'];
  36. $validdate = date('m/d/Y h:i:s a', time());
  37. $valid2 = strtotime($validdate);
  38. }
  39. else {
  40. $getdata = file_get_contents('/usr/local/GB/.licensekeycp');
  41. $file = json_decode($getdata, true);
  42. $data = base64_decode($file['sig']);
  43. $decrypted = openssl_private_decrypt($data, $decrypted_1, $private);
  44. $json = json_decode($decrypted_1, true);
  45. $valid = $json['second'];
  46. $validdate = date('m/d/Y h:i:s a', time());
  47. .......................................................................................
  48. ..............................................
  49. ....................
RAW Paste Data