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


Viewing file:     display_create_database.lib.php (1.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* $Id: display_create_database.lib.php,v 1.5 2006/01/17 17:02:30 cybot_tm Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

// Displays form for creating database (if user has privileges for that)

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

if (
$is_create_db_priv) {
    
// The user is allowed to create a db
    
?>
        <form method="post" action="db_create.php"><b>
            <?php echo '<label for="text_create_db">' $strCreateNewDatabase '</label>&nbsp;' PMA_showMySQLDocu('SQL-Syntax''CREATE_DATABASE'); ?></b><br />
            <?php echo PMA_generate_common_hidden_inputs(''''5); ?>
            <input type="hidden" name="reload" value="1" />
            <input type="text" name="db" value="<?php echo $db_to_create?>" maxlength="64" class="textfield" id="text_create_db"/>
            <?php
    
if (PMA_MYSQL_INT_VERSION >= 40101) {
        require_once(
'./libraries/mysql_charsets.lib.php');
        echo 
PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION'db_collation'nullnullTRUE5);
    }
            
?>
            <input type="submit" value="<?php echo $strCreate?>" id="buttonGo" />
        </form>
    <?php
} else {
    
?>
    <!-- db creation no privileges message -->
        <b><?php echo $strCreateNewDatabase ':&nbsp;' PMA_showMySQLDocu('SQL-Syntax''CREATE_DATABASE'); ?></b><br />
        <?php
              
echo '<span class="noPrivileges">'
                 
. ($cfg['ErrorIconic'] ? '<img src="' $pmaThemeImage 's_error2.png" width="11" height="11" hspace="2" border="0" align="middle" />' '')
                 . 
'' $strNoPrivileges .'</span>';
// end create db form or message
?>

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