!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/show_additional_headers/   drwxr-xr-x
Free 1.48 GB of 7.22 GB (20.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * Show additional message headers
 *
 * Proof-of-concept plugin which will fetch additional headers
 * and display them in the message view.
 *
 * Enable the plugin in config/main.inc.php and add your desired headers:
 *   $rcmail_config['show_additional_headers'] = array('User-Agent');
 *
 * @version @package_version@
 * @author Thomas Bruederli
 * @website http://roundcube.net
 */
class show_additional_headers extends rcube_plugin
{
  public 
$task 'mail';

  function 
init()
  {
    
$rcmail rcmail::get_instance();
    if (
$rcmail->action == 'show' || $rcmail->action == 'preview') {
      
$this->add_hook('storage_init', array($this'storage_init'));
      
$this->add_hook('message_headers_output', array($this'message_headers'));
    } else if (
$rcmail->action == '') {
      
// with enabled_caching we're fetching additional headers before show/preview
      
$this->add_hook('storage_init', array($this'storage_init'));
    }
  }

  function 
storage_init($p)
  {
    
$rcmail rcmail::get_instance();
    if (
$add_headers = (array)$rcmail->config->get('show_additional_headers', array()))
      
$p['fetch_headers'] = trim($p['fetch_headers'].' ' strtoupper(join(' '$add_headers)));

    return 
$p;
  }

  function 
message_headers($p)
  {
    
$rcmail rcmail::get_instance();
    foreach ((array)
$rcmail->config->get('show_additional_headers', array()) as $header) {
      if (
$value $p['headers']->get($header))
        
$p['output'][$header] = array('title' => $header'value' => $value);
    }

    return 
$p;
  }
}

:: 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.0392 ]--