!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:\Intranet\C\xampp\php\PEAR\HTML\AJAX\Serializer\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.35%)
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:     JSON.php (2.4 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once 'HTML/AJAX/JSON.php';
// $Id$
/**
 * JSON Serializer
 *
 * @category   HTML
 * @package    AJAX
 * @author     Joshua Eichorn <josh@bluga.net>
 * @copyright  2005 Joshua Eichorn
 * @license    http://www.opensource.org/licenses/lgpl-license.php  LGPL
 * @version    Release: 0.5.0
 * @link       http://pear.php.net/package/PackageName
 */
// {{{ class HTMLA_AJAX_Serialize_JSON
class HTML_AJAX_Serializer_JSON 
{
    
// {{{ variables-properties
    /**
     * JSON instance
     * @var HTML_AJAX_JSON
     * @access private
     */
    
var $_json;

    
/**
     * use json php extension http://www.aurore.net/projects/php-json/
     * @access private
     */
    
var $_jsonext;

    
/**
     * use loose typing to decode js objects into php associative arrays
     * @access public
     */
    
var $loose_type;
    
    
// }}}
    // {{{ constructor
    
function HTML_AJAX_Serializer_JSON($use_loose_type true
    {
        
$this->loose_type = (bool) $use_loose_type;
        
$this->_jsonext $this->_detect();
        if(!
$this->_jsonext) {
            
$use_loose_type = ($this->loose_type) ? SERVICES_JSON_LOOSE_TYPE 0;
            
$this->_json =& new HTML_AJAX_JSON($use_loose_type);
        }
    }
    
// }}}
    // {{{ serialize
    /**
     * This function serializes and input passed to it.
     *
     * @access public
     * @param  string $input   The input to serialize.
     * @return string $input   The serialized input.
     */
    
function serialize($input
    {
        if(
$this->_jsonext) {
            return 
json_encode($input);
        } else {
            return 
$this->_json->encode($input);
        }
    }
    
// }}}
    // {{{ unserialize
    /**
     * this function unserializes the input passed to it.
     *
     * @access public
     * @param  string $input   The input to unserialize
     * @return string $input   The unserialized input.
     */
    
function unserialize($input
    {
        if(
$this->_jsonext) {
            return 
json_decode($input$this->loose_type);
        } else {
            return 
$this->_json->decode($input);
        }
    }
    
// }}}
    // {{{ _detect
    /**
     * detects the loaded extension
     */
    
function _detect()
    {
        return 
extension_loaded('json');
    }
    
// }}}
}
// }}}
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
?>

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