!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/usr/share/phpmyadmin/setup/frames/   drwxr-xr-x
Free 1.47 GB of 7.22 GB (20.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.inc.php (6.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Overview (main page)
 *
 * @package phpMyAdmin-setup
 */

if (!defined('PHPMYADMIN')) {
    exit;
}

/**
 * Core libraries.
 */
require_once './libraries/display_select_lang.lib.php';
require_once 
'./libraries/config/FormDisplay.class.php';
require_once 
'./setup/lib/index.lib.php';

// prepare unfiltered language list
$all_languages PMA_langList();
uasort($all_languages'PMA_language_cmp');

$cf ConfigFile::getInstance();
$separator PMA_get_arg_separator('html');

// message handling
messages_begin();

//
// Check phpMyAdmin version
//
if (isset($_GET['version_check'])) {
    
PMA_version_check();
}

//
// Perform various security, compatibility and consistency checks
//
perform_config_checks();

//
// Check https connection
//
$is_https = !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on';
if (!
$is_https) {
    
$text __('You are not using a secure connection; all data (including potentially sensitive information, like passwords) is transferred unencrypted!');

    if (!empty(
$_SERVER['REQUEST_URI']) && !empty($_SERVER['HTTP_HOST'])) {
        
$strInsecureConnectionMsg2 __('If your server is also configured to accept HTTPS requests follow [a@%s]this link[/a] to use a secure connection.');
        
$text .= ' ' PMA_lang($strInsecureConnectionMsg2,
            
'https://' htmlspecialchars($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']));
    }
    
messages_set('notice''no_https'__('Insecure connection'), $text);
}
?>

<form id="select_lang" method="post" action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>">
    <?php echo PMA_generate_common_hidden_inputs() ?>
    <bdo xml:lang="en" dir="ltr"><label for="lang">
    <?php echo __('Language') . (__('Language') != 'Language' ' - Language' ''?>
    </label></bdo><br />
    <select id="lang" name="lang" onchange="this.form.submit();" xml:lang="en" dir="ltr">
    <?php
    
// create language list
    
$lang_list = array();
    foreach (
$all_languages as $each_lang_key => $each_lang) {
        
$lang_name PMA_langName($each_lang);
        
//Is current one active?
        
$selected = ($GLOBALS['lang'] == $each_lang_key) ? ' selected="selected"' '';
        echo 
'<option value="' $each_lang_key '"' $selected '>' $lang_name
            
'</option>' "\n";
    }
    
?>
    </select>
</form>

<h2><?php echo __('Overview'?></h2>

<?php
// message handling
messages_end();
messages_show_html();
?>

<a href="#" id="show_hidden_messages" style="display:none"><?php echo __('Show hidden messages (#MSG_COUNT)'?></a>

<h3><?php echo __('Servers'?></h3>
<?php
//
// Display server list
//
display_form_top('index.php''get', array(
    
'page' => 'servers',
    
'mode' => 'add'
));
?>
<div class="form">
<?php if ($cf->getServerCount() > 0): ?>
<table cellspacing="0" class="datatable" style="table-layout: fixed">
<tr>
    <th>#</th>
    <th><?php echo __('Name'?></th>
    <th><?php echo __('Authentication type'?></th>
    <th colspan="2">DSN</th>
</tr>
<?php foreach ($cf->getServers() as $id => $server): ?>
<tr>
    <td><?php echo $id ?></td>
    <td><?php echo htmlspecialchars($cf->getServerName($id)) ?></td>
    <td><?php echo htmlspecialchars($cf->getValue("Servers/$id/auth_type")) ?></td>
    <td><?php echo htmlspecialchars($cf->getServerDSN($id)) ?></td>
    <td style="white-space: nowrap">
        <small>
        <a href="<?php echo "?" PMA_generate_common_url() . $separator "page=servers{$separator}mode=edit{$separator}id=$id?>"><?php echo __('Edit'?></a>
        | <a href="<?php echo "?" PMA_generate_common_url() . $separator "page=servers{$separator}mode=remove{$separator}id=$id?>"><?php echo __('Delete'?></a>
        </small>
    </td>
</tr>
<?php endforeach; ?>
</table>
<?php else: ?>
<table width="100%">
<tr>
    <td>
        <i><?php echo __('There are no configured servers'?></i>
    </td>
</tr>
</table>
<?php endif; ?>
<table width="100%">
<tr>
    <td class="lastrow" style="text-align: left">
        <input type="submit" name="submit" value="<?php echo __('New server'?>" />
    </td>
</tr>
</table>
</div>
<?php
display_form_bottom
();
?>

<h3><?php echo __('Configuration file'?></h3>
<?php
//
// Display config file settings and load/save form
//
$form_display = new FormDisplay();

display_form_top('config.php');
display_fieldset_top(''''null, array('class' => 'simple'));

// Display language list
$opts = array(
    
'doc' => $form_display->getDocLink('DefaultLang'),
    
'wiki' => $form_display->getWikiLink('DefaultLang'),
    
'values' => array(),
    
'values_escaped' => true);
foreach (
$all_languages as $each_lang_key => $each_lang) {
    
$lang_name PMA_langName($each_lang);
    
$opts['values'][$each_lang_key] = $lang_name;
}
display_input('DefaultLang'__('Default language'), '''select',
    
$cf->getValue('DefaultLang'), true$opts);

// Display server list
$opts = array(
    
'doc' => $form_display->getDocLink('ServerDefault'),
    
'wiki' => $form_display->getWikiLink('ServerDefault'),
    
'values' => array(),
    
'values_disabled' => array());
if (
$cf->getServerCount() > 0) {
    
$opts['values']['0'] = __('let the user choose');
    
$opts['values']['-'] = '------------------------------';
    if (
$cf->getServerCount() == 1) {
        
$opts['values_disabled'][] = '0';
    }
    
$opts['values_disabled'][] = '-';

    foreach (
$cf->getServers() as $id => $server) {
        
$opts['values'][(string)$id] = $cf->getServerName($id) . " [$id]";
    }
} else {
    
$opts['values']['1'] = __('- none -');
    
$opts['values_escaped'] = true;
}
display_input('ServerDefault'__('Default server'), '''select',
    
$cf->getValue('ServerDefault'), true$opts);

// Display EOL list
$opts = array(
    
'values' => array(
        
'unix' => 'UNIX / Linux (\n)',
        
'win' => 'Windows (\r\n)'),
    
'values_escaped' => true);
$eol PMA_ifSetOr($_SESSION['eol'], (PMA_IS_WINDOWS 'win' 'unix'));
display_input('eol'__('End of line'), '''select',
    
$eoltrue$opts);
?>
<tr>
    <td colspan="2" class="lastrow" style="text-align: left">
        <input type="submit" name="submit_display" value="<?php echo __('Display'?>" />
        <input type="submit" name="submit_download" value="<?php echo __('Download'?>" />
        &nbsp; &nbsp;
        <input type="submit" name="submit_clear" value="<?php echo __('Clear'?>" class="red" />
    </td>
</tr>
<?php
display_fieldset_bottom_simple
();
display_form_bottom();
?>
<div id="footer">
    <a href="http://phpmyadmin.net"><?php echo __('phpMyAdmin homepage'?></a>
    <a href="http://sourceforge.net/donate/index.php?group_id=23067"><?php echo __('Donate'?></a>
    <a href="?version_check=1<?php echo "{$separator}token=" $_SESSION[' PMA_token '?>"><?php echo __('Check for latest version'?></a>
</div>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0122 ]--