!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/lib/php/PEAR/   drwxr-xr-x
Free 318.31 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:     Frontend.php (4.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * PEAR_Frontend, the singleton-based frontend for user input/output
 *
 * PHP versions 4 and 5
 *
 * LICENSE: This source file is subject to version 3.0 of the PHP license
 * that is available through the world-wide-web at the following URI:
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 * the PHP License and are unable to obtain it through the web, please
 * send a note to license@php.net so we can mail you a copy immediately.
 *
 * @category   pear
 * @package    PEAR
 * @author     Greg Beaver <cellog@php.net>
 * @copyright  1997-2005 The PHP Group
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
 * @version    CVS: $Id: Frontend.php,v 1.4 2005/04/13 04:17:45 cellog Exp $
 * @link       http://pear.php.net/package/PEAR
 * @since      File available since Release 1.4.0a1
 */

/**
 * Which user interface class is being used.
 * @var string class name
 */
$GLOBALS['_PEAR_FRONTEND_CLASS'] = 'PEAR_Frontend_CLI';

/**
 * Instance of $_PEAR_Command_uiclass.
 * @var object
 */
$GLOBALS['_PEAR_FRONTEND_SINGLETON'] = null;

/**
 * Singleton-based frontend for PEAR user input/output
 * @category   pear
 * @package    PEAR
 * @author     Greg Beaver <cellog@php.net>
 * @copyright  1997-2005 The PHP Group
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
 * @version    Release: 1.4.4
 * @link       http://pear.php.net/package/PEAR
 * @since      Class available since Release 1.4.0a1
 */
class PEAR_Frontend extends PEAR
{
    
/**
     * Retrieve the frontend object
     * @return PEAR_Frontend_CLI|PEAR_Frontend_Web|PEAR_Frontend_Gtk
     * @static
     */
    
function &singleton($type null)
    {
        if (
$type === null) {
            if (!isset(
$GLOBALS['_PEAR_FRONTEND_SINGLETON'])) {
                
$a false;
                return 
$a;
            }
            return 
$GLOBALS['_PEAR_FRONTEND_SINGLETON'];
        } else {
            
$a PEAR_Frontend::setFrontendClass($type);
            return 
$a;
        }
    }

    function &
setFrontendClass($uiclass)
    {
        if (
is_object($GLOBALS['_PEAR_FRONTEND_SINGLETON']) &&
              
is_a($GLOBALS['_PEAR_FRONTEND_SINGLETON'], $uiclass)) {
            return 
$GLOBALS['_PEAR_FRONTEND_SINGLETON'];
        }
        if (!
class_exists($uiclass)) {
            
$file str_replace('_''/'$uiclass) . '.php';
            if (
PEAR_Frontend::isIncludeable($file)) {
                include_once 
$file;
            }
        }
        if (
class_exists($uiclass)) {
            
$obj = &new $uiclass;
            
// quick test to see if this class implements a few of the most
            // important frontend methods
            
if (method_exists($obj'userConfirm')) {
                
$GLOBALS['_PEAR_FRONTEND_SINGLETON'] = &$obj;
                
$GLOBALS['_PEAR_FRONTEND_CLASS'] = $uiclass;
                return 
$obj;
            } else {
                
$err PEAR::raiseError("not a frontend class: $uiclass");
                return 
$err;
            }
        }
        
$err PEAR::raiseError("no such class: $uiclass");
        return 
$err;
    }

    
/**
     * @param string $path relative or absolute include path
     * @return boolean
     * @static
     */
    
function isIncludeable($path)
    {
        if (
file_exists($path) && is_readable($path)) {
            return 
true;
        }
        
$ipath explode(PATH_SEPARATORini_get('include_path'));
        foreach (
$ipath as $include) {
            
$test realpath($include DIRECTORY_SEPARATOR $path);
            if (!
$test) { // support wrappers like phar (realpath just don't work with them)
                
$test $include DIRECTORY_SEPARATOR $path;
            }
            if (
file_exists($test) && is_readable($test)) {
                return 
true;
            }
        }
        return 
false;
    }

    
/**
     * @param PEAR_Config
     */
    
function setConfig(&$config)
    {
    }

    
/**
     * This can be overridden to allow session-based temporary file management
     *
     * By default, all files are deleted at the end of a session.  The web installer
     * needs to be able to sustain a list over many sessions in order to support
     * user interaction with install scripts
     */
    
function addTempFile($file)
    {
        
$GLOBALS['_PEAR_Common_tempfiles'][] = $file;
    }

    function 
log($level$msg$append_crlf true)
    {
    }
}
?>

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