!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)

E:\xampp\xampp\htdocs\jaime\Xcode\SPLIB\ExampleApps\   drwxrwxrwx
Free 7.26 GB of 239.26 GB (3.04%)
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:     XMLRPCArticleServer.php (2.36 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
* @package SPLIB
* @version $Id: XMLRPCArticleServer.php,v 1.1 2003/12/12 08:06:06 kevin Exp $
*/
/**
* Include the Incutio XML RPC library
* http://scripts.incutio.com/xmlrpc/
*/
require_once('ThirdParty/xmlrpc/IXR_Library.inc.php');
/**
* XML-RPC Article Server class<br />
* Builds an XML-RPC server for the articles database using
* Simon Wilsons XML-RPC implementation<br />
* http://scripts.incutio.com/xmlrpc/
* @access public
* @package SPLIB
*/
class XMLRPCArticleServer extends IXR_Server {
    
/**
    * Database access object
    * @access private
    * @var  object
    */
    
var $db;

    
/**
    * XMLRPCArticleServer constructor
    * @param object instance of database access class
    * @access public
    */
    
function XMLRPCArticleServer(& $db) {
        
$this->db = & $db;
        
// Define the XML-RPC methods
        
$this->IXR_Server(array(
            
'articles.getArticles' => 'this:getArticles',
            
'articles.getArticleById' => 'this:getArticleById'
            
));
    }

    
/**
    * Returns an array of articles
    * @return array
    * @access public
    */
    
function getArticles () {
        
$sql="SELECT
                article_id, title, author
              FROM
                articles
              WHERE
                public = '1'
              ORDER BY
                title"
;

        
$result=$this->db->query($sql);

        if ( 
$result->isError() )
            return new 
IXR_Error(-2'Problem fetching data');

        while ( 
$row $result->fetch() ) {
            
$articles[]=$row;
        }
        return 
$articles;
    }

    
/**
    * Return a single article
    * @param int article_id
    * @return array
    * @access public
    */
    
function getArticleById($articleID) {
        if ( !
is_numeric($articleID) )
            return new 
IXR_Error(-1'Expecting numeric article ID');

        
$articleID=addslashes($articleID);

        
$sql="SELECT
                title, author, body
              FROM
                articles
              WHERE
                article_id = '"
.$articleID."'
              AND
                public = '1'"
;
        
$result=$this->db->query($sql);

        if ( 
$result->isError() )
            return new 
IXR_Error(-2'Problem fetching data');

        return 
$row $result->fetch();
    }
}
?>

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