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

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/login/phpmyadmin/libraries/phpseclib/Crypt/   drwxr-xr-x
Free 5.63 GB of 27.03 GB (20.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
* Pure-PHP implementation of AES.
*
* Uses mcrypt, if available/possible, and an internal implementation, otherwise.
*
* PHP version 5
*
* NOTE: Since AES.php is (for compatibility and phpseclib-historical reasons) virtually
* just a wrapper to Rijndael.php you may consider using Rijndael.php instead of
* to save one include_once().
*
* If {@link \phpseclib\Crypt\AES::setKeyLength() setKeyLength()} isn't called, it'll be calculated from
* {@link \phpseclib\Crypt\AES::setKey() setKey()}.  ie. if the key is 128-bits, the key length will be 128-bits.  If it's 136-bits
* it'll be null-padded to 192-bits and 192 bits will be the key length until {@link \phpseclib\Crypt\AES::setKey() setKey()}
* is called, again, at which point, it'll be recalculated.
*
* Since \phpseclib\Crypt\AES extends \phpseclib\Crypt\Rijndael, some functions are available to be called that, in the context of AES, don't
* make a whole lot of sense.  {@link \phpseclib\Crypt\AES::setBlockLength() setBlockLength()}, for instance.  Calling that function,
* however possible, won't do anything (AES has a fixed block length whereas Rijndael has a variable one).
*
* Here's a short example of how to use this library:
* <code>
* <?php
*    include 'vendor/autoload.php';
*
*    $aes = new \phpseclib\Crypt\AES();
*
*    $aes->setKey('abcdefghijklmnop');
*
*    $size = 10 * 1024;
*    $plaintext = '';
*    for ($i = 0; $i < $size; $i++) {
*        $plaintext.= 'a';
*    }
*
*    echo $aes->decrypt($aes->encrypt($plaintext));
* ?>
* </code>
*
* @category  Crypt
* @package   AES
* @author    Jim Wigginton <terrafrost@php.net>
* @copyright 2008 Jim Wigginton
* @license   http://www.opensource.org/licenses/mit-license.html  MIT License
* @link      http://phpseclib.sourceforge.net
*/

namespace phpseclibCrypt;

use
phpseclibCryptRijndael;

/**
* Pure-PHP implementation of AES.
*
* @package AES
* @author  Jim Wigginton <terrafrost@php.net>
* @access  public
*/
class AES extends Rijndael
{
    
/**
     * Dummy function
     *
     * Since \phpseclib\Crypt\AES extends \phpseclib\Crypt\Rijndael, this function is, technically, available, but it doesn't do anything.
     *
     * @see \phpseclib\Crypt\Rijndael::setBlockLength()
     * @access public
     * @param Integer $length
     */
    
function setBlockLength($length)
    {
        return;
    }

    
/**
     * Sets the key length
     *
     * Valid key lengths are 128, 192, and 256.  If the length is less than 128, it will be rounded up to
     * 128.  If the length is greater than 128 and invalid, it will be rounded down to the closest valid amount.
     *
     * @see \phpseclib\Crypt\Rijndael:setKeyLength()
     * @access public
     * @param Integer $length
     */
    
function setKeyLength($length)
    {
        switch (
$length) {
            case
160:
                
$length = 192;
                break;
            case
224:
                
$length = 256;
        }
        
parent::setKeyLength($length);
    }

    
/**
     * Sets the key.
     *
     * Rijndael supports five different key lengths, AES only supports three.
     *
     * @see \phpseclib\Crypt\Rijndael:setKey()
     * @see setKeyLength()
     * @access public
     * @param String $key
     */
    
function setKey($key)
    {
        
parent::setKey($key);

        if (!
$this->explicit_key_length) {
            
$length = strlen($key);
            switch (
true) {
                case
$length <= 16:
                    
$this->key_size = 16;
                    break;
                case
$length <= 24:
                    
$this->key_size = 24;
                    break;
                default:
                    
$this->key_size = 32;
            }
            
$this->_setEngine();
        }
    }
}

:: 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 #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0037 ]--