!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/usr/share/roundcube/plugins/help/   drwxr-xr-x
Free 1.44 GB of 7.22 GB (19.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     help.php (2.55 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Help Plugin
 *
 * @author Aleksander 'A.L.E.C' Machniak
 * @license GNU GPLv3+
 *
 * Configuration (see config.inc.php.dist)
 * 
 **/

class help extends rcube_plugin
{
    
// all task excluding 'login' and 'logout'
    
public $task '?(?!login|logout).*';
    
// we've got no ajax handlers
    
public $noajax true;
    
// skip frames
    
public $noframe true;

    function 
init()
    {
        
$rcmail rcmail::get_instance();

        
$this->add_texts('localization/'false);

        
// register task
        
$this->register_task('help');

        
// register actions
        
$this->register_action('index', array($this'action'));
        
$this->register_action('about', array($this'action'));
        
$this->register_action('license', array($this'action'));

        
// add taskbar button
        
$this->add_button(array(
            
'command'    => 'help',
            
'class'      => 'button-help',
            
'classsel'   => 'button-help button-selected',
            
'innerclass' => 'button-inner',
            
'label'      => 'help.help',
        ), 
'taskbar');

        
// add style for taskbar button (must be here) and Help UI
        
$skin_path $this->local_skin_path();
        if (
is_file($this->home "/$skin_path/help.css")) {
            
$this->include_stylesheet("$skin_path/help.css");
        }
    }

    function 
action()
    {
        
$rcmail rcmail::get_instance();

        
$this->load_config();

        
// register UI objects
        
$rcmail->output->add_handlers(array(
            
'helpcontent' => array($this'content'),
        ));

        if (
$rcmail->action == 'about')
            
$rcmail->output->set_pagetitle($this->gettext('about'));
        else if (
$rcmail->action == 'license')
            
$rcmail->output->set_pagetitle($this->gettext('license'));
        else
            
$rcmail->output->set_pagetitle($this->gettext('help'));

        
$rcmail->output->send('help.help');
    }

    function 
content($attrib)
    {
        
$rcmail rcmail::get_instance();

        if (
$rcmail->action == 'about') {
            return @
file_get_contents($this->home.'/content/about.html');
        }
        else if (
$rcmail->action == 'license') {
            return @
file_get_contents($this->home.'/content/license.html');
        }

        
// default content: iframe
        
if ($src $rcmail->config->get('help_source'))
            
$attrib['src'] = $src;

        if (empty(
$attrib['id']))
            
$attrib['id'] = 'rcmailhelpcontent';

        
$attrib['name'] = $attrib['id'];

        return 
$rcmail->output->frame($attrib);
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0386 ]--