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

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\dmz\php\pear\PHP\   drwxrwxrwx
Free 4.08 GB of 39.52 GB (10.32%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Compat.php (4.45 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// +----------------------------------------------------------------------+
// | PHP Version 4                                                        |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group                                |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available at through the world-wide-web at                           |
// | 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 world-wide-web, please send a note to          |
// | license@php.net so we can mail you a copy immediately.               |
// +----------------------------------------------------------------------+
// | Authors: Aidan Lister <aidan@php.net>                                |
// +----------------------------------------------------------------------+
//
// $Id: Compat.php,v 1.19 2005/05/10 12:05:36 aidan Exp $


/**
 * Provides missing functionality in the form of constants and functions
 *   for older versions of PHP
 *
 * Optionally, you may simply include the file.
 *   e.g. require_once 'PHP/Compat/Function/scandir.php';
 *
 * @category    PHP
 * @package     PHP_Compat
 * @version     $Revision: 1.19 $
 * @author      Aidan Lister <aidan@php.net>
 * @static
 */
class PHP_Compat
{
    
/**
     * Load a function, or array of functions
     *
     * @param   string|array    $function The function or functions to load
     * @return  bool|array      TRUE if loaded, FALSE if not
     */
    
function loadFunction($function)
    {
        
// Recursiveness
        
if (is_array($function)) {
            
$res = array();
            foreach (
$function as $singlefunc) {
                
$res[$singlefunc] = PHP_Compat::loadFunction($singlefunc);
            }

            return 
$res;
        }

        
// Load function
        
if (!function_exists($function)) {
            
$file sprintf('PHP/Compat/Function/%s.php'$function);
            if ((@include_once 
$file) !== false) {
                return 
true;
            }
        }

        return 
false;
    }


    
/**
     * Load a constant, or array of constants
     *
     * @param   string|array    $constant The constant or constants to load
     * @return  bool|array      TRUE if loaded, FALSE if not
     */
    
function loadConstant($constant)
    {
        
// Recursiveness
        
if (is_array($constant)) {
            
$res = array();
            foreach (
$constant as $singleconst) {
                
$res[$singleconst] = PHP_Compat::loadConstant($singleconst);
            }

            return 
$res;
        }

        
// Load constant
        
$file sprintf('PHP/Compat/Constant/%s.php'$constant);
        if ((@include_once 
$file) !== false) {
            return 
true;
        }

        return 
false;
    }


    
/**
     * Load components for a PHP version
     *
     * @param   string      $version    PHP Version to load
     * @return  array       An associative array of component names loaded
     */
    
function loadVersion($version null)
    {
        
// Include list of components
        
require 'PHP/Compat/Components.php';

        
// Include version_compare to work with older versions
        
PHP_Compat::loadFunction('version_compare');

        
// Init
        
$phpversion phpversion();
        
$methods = array(
            
'function' => 'loadFunction',
            
'constant' => 'loadConstant');
        
$res = array();

        
// Iterate each component
        
foreach ($components as $type => $slice) {
            foreach (
$slice as $component => $compversion) {
                if ((
$version === null &&
                        
=== version_compare($compversion$phpversion)) ||    // C > PHP
                       
(=== version_compare($compversion$version) ||        // C = S
                        
=== version_compare($compversion$phpversion))) {    // C > PHP
                    
                    
$res[$type][$component] =
                        
call_user_func(array('PHP_Compat'$methods[$type]), $component);
                }
            }
        }

        return 
$res;
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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