!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:\nuevo\htdocs\boletinlegal\admin\report\sqlbuddy\   drwxrwxrwx
Free 1.16 GB of 239.26 GB (0.48%)
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:     home.php (6.39 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*

SQL Buddy - Web based MySQL administration
http://www.sqlbuddy.com/

home.php
- create a new database, links, etc

MIT license

2008 Calvin Lough <http://calv.in>

*/

include "functions.php";

loginCheck();

?>
<table class="hometable">
<tr>
    <td>
    <h4><?php echo __("Welcome to SQL Buddy!"); ?></h4>
    </td>
</tr>
<tr>
    <td style="padding: 0 0 13px 10px">
    
    <?php
    
    $dbVersion 
$conn->getVersion();
    
    if (
$conn->getAdapter() == "mysql") {    
        
        if (isset(
$_SESSION['SB_LOGIN_USER']) && $conn->getOptionValue("host")) {
            
$message sprintf(__("You are connected to MySQL %s with the user %s."), $dbVersion$_SESSION['SB_LOGIN_USER'] . "@" $conn->getOptionValue("host"));
        }
        
    } else if (
$conn->getAdapter() == "sqlite") {
        
$message sprintf(__("You are connected to %s."), "SQLite " $dbVersion);
    }
    
    echo 
"<p>" $message "</p>";
    
    
?>
    
    <table cellspacing="0" cellpadding="0">
    <?php
    
    
if (function_exists("curl_init") && ((isset($sbconfig['EnableUpdateCheck']) && $sbconfig['EnableUpdateCheck'] == true) || !isset($sbconfig['EnableUpdateCheck']))) {
        
        
//check for a new version
        
$crl curl_init();
        
$url "http://www.sqlbuddy.com/versioncheck2.php";
        
curl_setopt($crlCURLOPT_URL$url);
        
curl_setopt($crlCURLOPT_RETURNTRANSFER1);
        
curl_setopt($crlCURLOPT_CONNECTTIMEOUT5); // 5 seconds
        
$content curl_exec($crl);
        
curl_close($crl);
        
        if (
strlen($content) > 0) {
            
$content strip_tags($content);
            
            list(
$version$notes) = explode("\n"$content2);
            
            
?>
            <tr>
            <td class="inputfield">
            <?php echo __("Updates"); ?>:
            </td>
            <td>
            <?php
            
            
if (version_compare($versionVERSION_NUMBER">")) {
                echo 
'<span style="background-color: rgb(255, 255, 200); padding: 1px 3px 1px 4px">' __("A new version of SQL Buddy is available!") . '</span> <a href="http://www.sqlbuddy.com/download/dl.php">' __("Download") . ' &raquo;</a>';
            } else {
                echo 
__("There are no updates available") . ".";
            }
            
            
?>
            </td>
            </tr>
            <?php
            
        
}
    }
    
    
?>
    <tr>
        <td class="inputfield">
        <?php echo __("Language"); ?>:
        </td>
        <td>
        <?php
        
        
if (sizeof($langList) > 0) {
            
            echo 
'<select id="langSwitcher" onchange="switchLanguage()">';
            
            foreach (
$langList as $langCode => $langName) {
                echo 
'<option value="' $langCode '"';
                
                if (
$lang == $langCode)
                    echo 
" selected";
                
                echo 
'>' $langName '</option>';
            }
            
            echo 
'</select>';
            
        }
        
        
?>
        </td>
    </tr>
    <tr>
        <td class="inputfield">
        <?php echo __("Theme"); ?>:
        </td>
        <td>
        <select id="themeSwitcher" onchange="switchTheme()">
        <?php
        
        
foreach ($themeList as $t => $n) {
            echo 
'<option value="' $t '"';
            
            if (
$theme == $t) {
                echo 
" selected";
            }
            
            echo 
'>' $n '</option>';
        }
        
        
?>
        </select>
        </td>
    </tr>
    </table>
    
    </td>
</tr>
<tr>
    <td>
    <h4><?php echo __("Getting started"); ?></h4>
    </td>
</tr>
<tr>
    <td style="padding: 1px 0 15px 10px">
    
    <ul>
    <li><a href="http://www.sqlbuddy.com/help/"><?php echo __("Help"); ?></a></li>
    <li><a href="http://www.sqlbuddy.com/translations/"><?php echo __("Translations"); ?></a></li>
    <li><a href="http://www.sqlbuddy.com/contact/"><?php echo __("Contact"); ?></a></li>
    </ul>
    
    </td>
</tr>
<?php

if ($conn->getAdapter() != "sqlite") {

?>
<tr>
    <td>
    <h4><?php echo __("Create a new database"); ?></h4>
    </td>
</tr>
<tr>
    <td style="padding: 0px 0 20px 10px">
    
    <form onsubmit="createDatabase(); return false;">
    <table cellspacing="0" cellpadding="0">
    <tr>
    <td class="inputfield">
        <?php echo __("Name"); ?>:
    </td>
    <td>
        <input type="text" class="text" id="DBNAME">
    </td>
    </tr>
    <?php
    
    
if (isset($charsetList)) {
        echo 
"<tr>";
        echo 
"<td class=\"inputfield\">";
        echo 
__("Charset") . ":";
        echo 
"</td>";
        echo 
"<td>";
        echo 
"<select id=\"DBCHARSET\">";
        echo 
"<option></option>";
        
        
$defaultCharSql $conn->query("SHOW VARIABLES LIKE 'character_set_server'");
        
        if (
$conn->isResultSet($defaultCharSql)) {
            
$defaultCharset $conn->result($defaultCharSql0"Value");
        }
        
        foreach (
$charsetList as $charset) {
            echo 
"<option value=\"" $charset "\"";
            
            if (isset(
$defaultCharset) && $charset == $defaultCharset) {
                echo 
' selected="selected"';
            }
            
            echo 
">" $charset "</option>";
        }
        echo 
"</select>";
        echo 
"</td>";
        echo 
"</tr>";
    }
    
    
?>
    <tr>
        <td></td>
        <td>
        <input type="submit" class="inputbutton" value="<?php echo __("Submit"); ?>" />
        </td>
    </tr>
    </table>
    </form>
    
    </td>
</tr>
<?php

}

?>
<tr>
    <td>
    <h4><?php echo __("Did you know..."); ?></h4>
    </td>
</tr>
<tr>
    <td style="padding: 0 0 10px 10px;">
    
    <p><?php
    
    $didYouKnow
[] = __("There is an easier way to select a large group of items when browsing table rows. Check the first row, hold the shift key, and check the final row. The checkboxes between the two rows will be automatically checked for you.");
    
$didYouKnow[] = __("The columns in the browse and query tabs are resizable. Adjust them to as wide or narrow as you like.");
    
$didYouKnow[] = __("The login page is based on a default user of root@localhost. By editing config.php, you can change the default user and host to whatever you want.");
    
    
$rand rand(0count($didYouKnow) - 1);
    
    echo 
$didYouKnow[$rand];
    
    
?></p>
            
    </td>
</tr>
<tr>
    <td>
    <h4><?php echo __("Keyboard shortcuts"); ?></h4>
    </td>
</tr>
<tr>
    <td style="padding: 4px 0 5px 10px">
    
    <table class="keyboardtable">
    <tr>
        <th><?php echo __("Press this key..."); ?></th>
        <th><?php echo __("...and this will happen"); ?></th>
    </tr>
    <tr>
        <td>a</td>
        <td><?php echo __("select all"); ?></td>
    </tr>
    <tr>
        <td>n</td>
        <td><?php echo __("select none"); ?></td>
    </tr>
    <tr>
        <td>e</td>
        <td><?php echo __("edit selected items"); ?></td>
    </tr>
    <tr>
        <td>d</td>
        <td><?php echo __("delete selected items"); ?></td>
    </tr>
    <tr>
        <td>r</td>
        <td><?php echo __("refresh page"); ?></td>
    </tr>
    <tr>
        <td>q</td>
        <td><?php echo __("load the query tab"); ?></td>
    </tr>
    <tr>
        <td>f</td>
        <td><?php echo __("browse tab - go to first page of results"); ?></td>
    </tr>
    <tr>
        <td>l</td>
        <td><?php echo __("browse tab - go to last page of results"); ?></td>
    </tr>
    <tr>
        <td>g</td>
        <td><?php echo __("browse tab - go to previous page of results"); ?></td>
    </tr>
    <tr>
        <td>h</td>
        <td><?php echo __("browse tab - go to next page of results"); ?></td>
    </tr>
    <tr>
        <td>o</td>
        <td><?php echo __("optimize selected tables"); ?></td>
    </tr>
    </table>
</tr>
</table>

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