daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version         :   3.0.8.0
  8. * @ Author          :   DeZender
  9. * @ Release on      :   25.09.2017
  10. * @ Official site   :   http://DeZender.Net
  11. *
  12. */
  13.  
  14. class Installer
  15. {
  16.     const ACTION_1_UNZIP_DATA = 1;
  17.     const ACTION_2_CUSTOMER_DETAILS = 2;
  18.     const ACTION_3_ENTER_DATABASE = 3;
  19.     const ACTION_4_INIT_DB = 4;
  20.     const ACTION_4B_DOWNLOAD_FILES = 5;
  21.     const ACTION_5_CREATE_ADMIN = 5;
  22.     const ACTION_6_CRON = 6;
  23.     const ACTION_7_CLEANUP = 7;
  24.     const ACTION_AJAX_CHECK_CUSTOMER_DETAILS = 'ajax-checkcustomerdetails';
  25.     const ACTION_AJAX_CHECK_DB_DETAILS = 'ajax-checkdb';
  26.     const ACTION_AJAX_INIT_DB = 'ajax-initdb';
  27.     const ACTION_AJAX_CREATE_ADMIN = 'ajax-createadmin';
  28.     const ACTION_AJAX_DOWNLOAD_MAXMIND_FILES = 'ajax-downloadmaxmind';
  29.     const PARAM_ACTION = 'action';
  30.     const PARAM_NEXT = 'next';
  31.     const ERROR_STYLE = 'color:red; font-weight:bold;';
  32.  
  33.     private static $currentAction = null;
  34.  
  35.     private static function getCommandPath($spb87e8b)
  36.     {
  37.         exec( 'which ' . $spb87e8b . ' 2> /dev/null', $sp4f1f44 );
  38.         $spd36a40 = ((empty( $sp4f1f44 ) ? NULL : $sp4f1f44[0]));
  39.         return $spd36a40;
  40.     }
  41.  
  42.     public static function process($spf0c916)
  43.     {
  44.         $sp940358 = 'extracting-process';
  45.         $sp422068 = 'extracting-done';
  46.  
  47.         if (!($spf0c916)) {
  48.             $spf0c916 = self::ACTION_1_UNZIP_DATA;
  49.         }
  50.  
  51.         self::$currentAction = $spf0c916;
  52.         self::checkCurrentActionValidity(  );
  53.  
  54.         switch ($spf0c916) {
  55.         case self::ACTION_1_UNZIP_DATA:
  56.             if (strlen( decbin( ~(0) ) ) < 64) {
  57.                 echo 'A 64-bit system is required to install FunnelFlux<br>';
  58.                 exit(  );
  59.             }
  60.  
  61.             if (PHP_VERSION_ID < 50600) {
  62.                 echo 'PHP 5.6+ is required to install FunnelFlux<br>';
  63.                 exit(  );
  64.             }
  65.  
  66.             if (!(defined( 'AF_INET6' ))) {
  67.                 echo 'PHP was compiled with --disable-ipv6 option. You must enable back IPv6 support<br>';
  68.                 exit(  );
  69.             }
  70.  
  71.             $spb3abd1 = array(
  72.                 'eval',
  73.                 'exec',
  74.                 'base64_decode',
  75.                 'base64_encode',
  76.                 'copy'
  77.             );
  78.             $sp9fe4b4 = array_map( 'trim', explode( ',', ini_get( 'disable_functions' ) ) );
  79.             $sp88591c = array_intersect( $spb3abd1, $sp9fe4b4 );
  80.  
  81.             if (count( $sp88591c )) {
  82.                 echo 'Your hosting company has disabled the following required PHP functions:<br/>'.'<ul>';
  83.  
  84.                 foreach ($sp88591c as $sp3aa3f0) {
  85.                     echo '<li>' . $sp3aa3f0 . '</li>';
  86.                 }
  87.  
  88.                 echo '</ul>'.'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.';
  89.                 exit(  );
  90.             }
  91.  
  92.             $sp6a830c = array(
  93.                 'ionCube Loader',
  94.                 'mcrypt',
  95.                 'mbstring',
  96.                 'json',
  97.                 'hash',
  98.                 'curl',
  99.                 'mysqli',
  100.                 'sockets',
  101.                 'zip',
  102.                 'xml',
  103.                 'pdo_sqlite',
  104.                 'sqlite3',
  105.                 'gd'
  106.             );
  107.             $sp264496 = array(  );
  108.             $sp3b1f62 = array(  );
  109.  
  110.             foreach ($sp6a830c as $sp6dd12a) {
  111.                 if (!(extension_loaded( $sp6dd12a ))) {
  112.                     $sp264496[] = $sp6dd12a;
  113.                 }
  114.             }
  115.  
  116.             $sp5ce847 = realpath( dirname( __FILE__ ) . '/custom-php.flux' );
  117.  
  118.             if (file_exists( $sp5ce847 )) {
  119.                 $sp2f6cea = trim( file_get_contents( $sp5ce847 ) );
  120.             }
  121.             else {
  122.                 $sp2f6cea = self::getCommandPath( 'php-cli' );
  123.  
  124.                 if (!($sp2f6cea)) {
  125.                     $sp2f6cea = 'php';
  126.                 }
  127.             }
  128.  
  129.             exec( $sp2f6cea . ' -m', $sp6c5f2d );
  130.  
  131.             foreach ($sp6a830c as $sp6dd12a) {
  132.                 if (!(in_array( $sp6dd12a, $sp6c5f2d ))) {
  133.                     $sp3b1f62[] = $sp6dd12a . ' for PHP CLI';
  134.                 }
  135.             }
  136.  
  137.             $sp787452 = array_merge( $sp264496, $sp3b1f62 );
  138. ........................................................................
  139. ...................................
  140. ............
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top