Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.0.8.0
- * @ Author : DeZender
- * @ Release on : 25.09.2017
- * @ Official site : http://DeZender.Net
- *
- */
- class Installer
- {
- const ACTION_1_UNZIP_DATA = 1;
- const ACTION_2_CUSTOMER_DETAILS = 2;
- const ACTION_3_ENTER_DATABASE = 3;
- const ACTION_4_INIT_DB = 4;
- const ACTION_4B_DOWNLOAD_FILES = 5;
- const ACTION_5_CREATE_ADMIN = 5;
- const ACTION_6_CRON = 6;
- const ACTION_7_CLEANUP = 7;
- const ACTION_AJAX_CHECK_CUSTOMER_DETAILS = 'ajax-checkcustomerdetails';
- const ACTION_AJAX_CHECK_DB_DETAILS = 'ajax-checkdb';
- const ACTION_AJAX_INIT_DB = 'ajax-initdb';
- const ACTION_AJAX_CREATE_ADMIN = 'ajax-createadmin';
- const ACTION_AJAX_DOWNLOAD_MAXMIND_FILES = 'ajax-downloadmaxmind';
- const PARAM_ACTION = 'action';
- const PARAM_NEXT = 'next';
- const ERROR_STYLE = 'color:red; font-weight:bold;';
- private static $currentAction = null;
- private static function getCommandPath($spb87e8b)
- {
- exec( 'which ' . $spb87e8b . ' 2> /dev/null', $sp4f1f44 );
- $spd36a40 = ((empty( $sp4f1f44 ) ? NULL : $sp4f1f44[0]));
- return $spd36a40;
- }
- public static function process($spf0c916)
- {
- $sp940358 = 'extracting-process';
- $sp422068 = 'extracting-done';
- if (!($spf0c916)) {
- $spf0c916 = self::ACTION_1_UNZIP_DATA;
- }
- self::$currentAction = $spf0c916;
- self::checkCurrentActionValidity( );
- switch ($spf0c916) {
- case self::ACTION_1_UNZIP_DATA:
- if (strlen( decbin( ~(0) ) ) < 64) {
- echo 'A 64-bit system is required to install FunnelFlux<br>';
- exit( );
- }
- if (PHP_VERSION_ID < 50600) {
- echo 'PHP 5.6+ is required to install FunnelFlux<br>';
- exit( );
- }
- if (!(defined( 'AF_INET6' ))) {
- echo 'PHP was compiled with --disable-ipv6 option. You must enable back IPv6 support<br>';
- exit( );
- }
- $spb3abd1 = array(
- 'eval',
- 'exec',
- 'base64_decode',
- 'base64_encode',
- 'copy'
- );
- $sp9fe4b4 = array_map( 'trim', explode( ',', ini_get( 'disable_functions' ) ) );
- $sp88591c = array_intersect( $spb3abd1, $sp9fe4b4 );
- if (count( $sp88591c )) {
- echo 'Your hosting company has disabled the following required PHP functions:<br/>'.'<ul>';
- foreach ($sp88591c as $sp3aa3f0) {
- echo '<li>' . $sp3aa3f0 . '</li>';
- }
- 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.';
- exit( );
- }
- $sp6a830c = array(
- 'ionCube Loader',
- 'mcrypt',
- 'mbstring',
- 'json',
- 'hash',
- 'curl',
- 'mysqli',
- 'sockets',
- 'zip',
- 'xml',
- 'pdo_sqlite',
- 'sqlite3',
- 'gd'
- );
- $sp264496 = array( );
- $sp3b1f62 = array( );
- foreach ($sp6a830c as $sp6dd12a) {
- if (!(extension_loaded( $sp6dd12a ))) {
- $sp264496[] = $sp6dd12a;
- }
- }
- $sp5ce847 = realpath( dirname( __FILE__ ) . '/custom-php.flux' );
- if (file_exists( $sp5ce847 )) {
- $sp2f6cea = trim( file_get_contents( $sp5ce847 ) );
- }
- else {
- $sp2f6cea = self::getCommandPath( 'php-cli' );
- if (!($sp2f6cea)) {
- $sp2f6cea = 'php';
- }
- }
- exec( $sp2f6cea . ' -m', $sp6c5f2d );
- foreach ($sp6a830c as $sp6dd12a) {
- if (!(in_array( $sp6dd12a, $sp6c5f2d ))) {
- $sp3b1f62[] = $sp6dd12a . ' for PHP CLI';
- }
- }
- $sp787452 = array_merge( $sp264496, $sp3b1f62 );
- ........................................................................
- ...................................
- ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement