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

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/admin/webmail/program/steps/mail/   drwxr-xr-x
Free 9.18 GB of 93.48 GB (9.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     viewsource.inc (2.02 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/*
 +-----------------------------------------------------------------------+
 | program/steps/mail/viewsource.inc                                     |
 |                                                                       |
 | This file is part of the RoundCube Webmail client                     |
 | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland                 |
 | Licensed under the GNU GPL                                            |
 |                                                                       |
 | PURPOSE:                                                              |
 |   Display a mail message similar as a usual mail application does     |
 |                                                                       |
 +-----------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+

 $Id: viewsource.inc 2613 2009-06-05 13:34:07Z alec $

*/

ob_end_clean();

// similar code as in program/steps/mail/get.inc
if ($uid get_input_value('_uid'RCUBE_INPUT_GET))
{
  
$headers $IMAP->get_headers($uid);
  
$charset $headers->charset $headers->charset $IMAP->default_charset;
  
header("Content-Type: text/plain; charset={$charset}");

  if (!empty(
$_GET['_save'])) {
    
$filename = ($headers->subject $IMAP->decode_header($headers->subject) : 'roundcube') . '.eml';
    
$browser = new rcube_browser;
    
    if (
$browser->ie && $browser->ver 7)
      
$filename rawurlencode(abbreviate_string($filename55));
    else if (
$browser->ie)
      
$filename rawurlencode($filename);
    else
      
$filename addcslashes($filename'"');

    
header("Content-Length: {$headers->size}");
    
header("Content-Disposition: attachment; filename=\"$filename\"");
  }
  
  
$IMAP->print_raw_body($uid);
}
else
{
  
raise_error(array(
      
'code' => 500,
      
'type' => 'php',
      
'message' => 'Message UID '.$uid.' not found'),
    
true,
    
true);
}

exit;
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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