!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/local/webmail2/src/   drwxr-xr-x
Free 318.38 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * $Source: /cvsroot/squirrelmail/squirrelmail/src/view_html.php,v $
 * Displays html message parts
 *
 * File is used to display html message parts. Usually inside iframe.
 * It should be called with passed_id, ent_id and mailbox options in
 * GET request. passed_ent_id and view_unsafe_images options are
 * optional. User must be authenticated ($key in cookie. $username and
 * $onetimepad in session).
 *
 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version $Id: view_html.php,v 1.8 2006/01/28 15:58:30 stekkel Exp $
 * @package squirrelmail
 */

/**
 * Path for SquirrelMail required files.
 * @ignore
 */
define('SM_PATH','../');

/** SquirrelMail required files. */
include_once(SM_PATH 'include/validate.php');
include_once(
SM_PATH 'functions/imap.php');

/** Get globals */
sqgetGlobalVar('key',        $key,          SQ_COOKIE);
sqgetGlobalVar('username',   $username,     SQ_SESSION);
sqgetGlobalVar('onetimepad'$onetimepad,   SQ_SESSION);
sqgetGlobalVar('messages',   $messages,     SQ_SESSION);
sqgetGlobalVar('mailbox',    $mailbox,      SQ_GET);
sqgetGlobalVar('ent_id',     $ent_id,       SQ_GET);
sqgetGlobalVar('passed_ent_id'$passed_ent_idSQ_GET);
if (
sqgetGlobalVar('passed_id'$tempSQ_GET)) {
    
$passed_id = (int) $temp;
}

global 
$view_unsafe_images;
if (
sqgetGlobalVar('view_unsafe_images'$tempSQ_GET)) {
    
$view_unsafe_images = (bool) $temp;
} else {
    
$view_unsafe_images false;
}

// TODO: add required var checks here.

$imap_stream sqimap_login($username$key$imapServerAddress$imapPort0);
$mbx_response sqimap_mailbox_select($imap_stream$mailbox);

$message = &$messages[$mbx_response['UIDVALIDITY']][$passed_id];
if (!
is_object($message)) {
    
$message sqimap_get_message($imap_stream$passed_id$mailbox);
}
$message_ent $message->getEntity($ent_id);
if (
$passed_ent_id) {
    
$message $message->getEntity($passed_ent_id);
}
$header   $message_ent->header;
$type0    $header->type0;
$type1    $header->type1;
$charset  $header->getParameter('charset');
$encoding strtolower($header->encoding);

$body mime_fetch_body($imap_stream$passed_id$ent_id);
$body decodeBody($body$encoding);

/**
 * TODO: check if xtra_code is needed.
if (isset($languages[$squirrelmail_language]['XTRA_CODE']) &&
    function_exists($languages[$squirrelmail_language]['XTRA_CODE'].'_decode')) {
    if (mb_detect_encoding($body) != 'ASCII') {
        $body = call_user_func($languages[$squirrelmail_language]['XTRA_CODE'] . '_decode', $body);
    }
}
*/

/** TODO: provide reduced version of MagicHTML() */
$body MagicHTML$body$passed_id$message$mailbox);

/** TODO: charset might be part of html code. */
header('Content-Type: text/html; charset=' $charset);
echo 
$body;

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0251 ]--