Advertisement
Guest User

Untitled

a guest
Aug 18th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Loader)
  6. *
  7. * @ Version : 2.0.0.4
  8. * @ Author : DeZender
  9. * @ Release on : 21.10.2015
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. Checker::process();
  15.  
  16.  
  17. class Checker {
  18.  
  19.  
  20. private static function getCommandPath($sp053132) {
  21.  
  22. exec("which " . $sp053132 . " 2> /dev/null", $sp84caa4);
  23. $sp35dcb8 = empty($sp84caa4) ? null : ($sp84caa4[0]);
  24. return $sp35dcb8;
  25. }
  26.  
  27. public static function process() {
  28.  
  29. if (PHP_VERSION_ID < 50400)
  30. {
  31. echo "PHP 5.4+ is required to install Funnel Flux<br>";
  32. exit();
  33. }
  34. $spc9d9a3 = array("eval", "exec", "base64_decode", "base64_encode");
  35. $sp356d34 = array_map("trim", explode(",", ini_get("disable_functions")));
  36. $sp66ea21 = array_intersect($spc9d9a3, $sp356d34);
  37. if (count($sp66ea21))
  38. {
  39. echo "Your hosting company has disabled the following required PHP functions:<br/>";
  40. echo "<ul>";
  41. foreach ($sp66ea21 as $sp28eea7)
  42. {
  43. echo "<li>" . $sp28eea7 . "</li>";
  44. continue;
  45. }
  46. echo "</ul>";
  47. echo "Ask them to remove all the listed functions above from the 'disable_functions' directive in the system's php.ini file, then refresh this page.";
  48. exit();
  49. }
  50. $spe99c86 = array("ionCube Loader", "mcrypt", "mbstring", "json", "hash", "curl", "mysqli", "sockets", "zip");
  51. $sp0d72e3 = array();
  52. $sp9be0b5 = array();
  53. foreach ($spe99c86 as $sp95ebb6)
  54. {
  55. if (!!extension_loaded($sp95ebb6))
  56. {
  57. continue;
  58. }
  59. $sp0d72e3[] = $sp95ebb6;
  60. continue;
  61. }
  62. $spb4712c = realpath(dirname(__FILE__) . "/custom-php.flux");
  63. if (file_exists($spb4712c))
  64. {
  65. $sp50c4e3 = trim(file_get_contents($spb4712c));
  66. }
  67. else
  68. {
  69. $sp50c4e3 = self::getCommandPath("php-cli");
  70. if (!$sp50c4e3)
  71. {
  72. $sp50c4e3 = "php";
  73. }
  74. }
  75. exec($sp50c4e3 . " -m", $sp1acc72);
  76. foreach ($spe99c86 as $sp95ebb6)
  77. {
  78. if (!!in_array($sp95ebb6, $sp1acc72))
  79. {
  80. continue;
  81. }
  82. $sp9be0b5[] = $sp95ebb6 . " for PHP CLI";
  83. continue;
  84. }
  85. $sp0e678c = array_merge($sp0d72e3, $sp9be0b5);
  86. if (count($sp0e678c))
  87. {
  88. echo "The following PHP extensions are required and not available on the current system:<br/>";
  89. echo "<ul>";
  90. foreach ($sp0e678c as $sp95ebb6)
  91. {
  92. echo "<li>" . $sp95ebb6 . "</li>";
  93. continue;
  94. }
  95. echo "</ul>";
  96. echo "Please contact your hosting support and ask them to install these required extensions. (They should normally come as default)";
  97. exit();
  98. }
  99. else
  100. {
  101. $sp681e8e = 40400;
  102. if (!(!function_exists("ioncube_loader_iversion")) && ioncube_loader_iversion() < $sp681e8e)
  103. {
  104. if (function_exists("ioncube_loader_version"))
  105. {
  106. $sp100f08 = ioncube_loader_version();
  107. }
  108. else
  109. {
  110. if (function_exists("ioncube_loader_iversion"))
  111. {
  112. $sp100f08 = ioncube_loader_iversion();
  113. }
  114. else
  115. {
  116. $sp100f08 = "Version unknown";
  117. }
  118. }
  119. echo "Your 'ionCube Loader' extension is too old (" . $sp100f08 . "). Please upgrade to version 4.4 or higher.";
  120. exit();
  121. }
  122. }
  123. $spc811cc = self::getCommandPath("wget");
  124. if (!$spc811cc)
  125. {
  126. $spc811cc = "wget";
  127. }
  128. $sp21188a = self::getCommandPath("curl");
  129. if (!$sp21188a)
  130. {
  131. ...................................................................
  132. ..................................
  133. .........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement