!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\UML\Output\   drwxrwxrwx
Free 4.1 GB of 39.52 GB (10.37%)
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:     XmiDocument.php (1.98 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * PHP_UML
 *
 * PHP version 5
 *
 * @category PHP
 * @package  PHP_UML
 * @author   Baptiste Autin <ohlesbeauxjours@yahoo.fr> 
 * @license  http://www.gnu.org/licenses/lgpl.html LGPL License 3
 * @version  SVN: $Revision: 175 $
 * @link     http://pear.php.net/package/PHP_UML
 * @since    $Date: 2011-09-15 17:07:58 +0200 (jeu., 15 sept. 2011) $
 */

/**
 * Wrapper for an XMI document
 * 
 * @category   PHP
 * @package    PHP_UML
 * @subpackage Output
 * @author     Baptiste Autin <ohlesbeauxjours@yahoo.fr> 
 * @license    http://www.gnu.org/licenses/lgpl.html LGPL License 3
 */
class PHP_UML_Output_XmiDocument
{
    
/**
     * The XMI code of the XMI document
     * @var string
     */
    
private $xmi;
    
    
/**
     * Constructor
     * 
     * @param string $code XMI code as string 
     */
    
public function __construct($code '')
    {
        
$this->xmi $code;
    }
    
    
/**
     * Return the code XMI as a string
     */
    
public function dump()
    {
        return 
$this->xmi;
    }
    
    
/** 
     * Load XMI from a file
     * 
     * @param string $filepath Filepath
     */
    
public function load($filepath)
    {
        if (
file_exists($filepath)) {
            
$this->xmi file_get_contents($filepath);
        } else {
            throw new 
PHP_UML_Exception('Could not open '.$filepath);
        }

        
$xmlDom = new DomDocument;
        
$xmlDom->loadXML($this->xmi);
        if (
self::isVersion1($xmlDom)) {
            
$this->xmi PHP_UML_Output_ExporterXSL::convertTo2($this->xmi);
        }
    }
    
    
/**
     * Return true if the document is in XMI version 1.x
     * 
     * @param DOMDocument $d DOM document
     * 
     * @return boolean
     */
    
static function isVersion1(DOMDocument $d)
    {
        
$version $d->getElementsByTagName('XMI')->item(0)->getAttribute('xmi.version');
        if (
$version=='')
            
$version $d->getElementsByTagName('XMI')->item(0)->getAttribute('xmi:version');
        return (
$version<2);
    }
}
?>

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