Advertisement
ps2gamer

Untitled

Sep 11th, 2015
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for SourceGuardian & phpSHIELD)
  6. *
  7. * @ Version : 1.1.6.0
  8. * @ Author : DeZender
  9. * @ Release on : 02.06.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. echo ' ';
  15. $licensecheckfrequency = 259200;
  16.  
  17. if (( !is_file( '/var/cpanel/license' ) && !is_file( '/var/cpanel/licenseinfo' ) )) {
  18. go( 'changekey.php' );
  19. exit( );
  20. }
  21.  
  22. iniParser;
  23. new ( '/var/cpanel/license' );
  24. $ini = ;
  25. $key = $ini->get( 'License', 'key' );
  26. $serverip = file_get_contents( '/var/cpanel/mainip' );
  27. $serverip = str_replace( '_', '', $serverip );
  28. $serverip = trim( $serverip );
  29. $hostname = shell_exec( 'hostname' );
  30. $hostname = trim( $hostname );
  31.  
  32. if (!is_file( '/var/cpanel/licenseinfo' )) {
  33. if (is_file( '/var/cpanel/license' )) {
  34. $output = get_meta_tags( . 'http://whmphp.com/cp/api.php?action=checkkey&license=' . $key . '&ip=' . $serverip );
  35.  
  36. if (!$output) {
  37. go( 'licerror.php?id=unabletoconnect' );
  38. exit( );
  39. }
  40.  
  41. $licensedip = $output['ip'];
  42. $branding = $output['branding'];
  43.  
  44. if ($licensedip == '') {
  45. $output2 = get_meta_tags( . 'http://whmphp.com/cp/api.php?action=setlicense&hostname=' . $hostname . '&license=' . $key . '&ip=' . $serverip );
  46.  
  47. if (!$output2) {
  48. ........................................................
  49. ..........................
  50. .........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement