403Webshell
Server IP : 172.67.216.182  /  Your IP : 162.158.170.231
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,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,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/src/mysql-test/suite/auth_sec/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/auth_sec/r/mysql_sha256_plugin.result

===========================================================================================================================================
Checking the password authentication using the sha256_password plugin at the client and mysql_native_password plugin at the server side
===========================================================================================================================================

select @@Global.old_passwords;
@@Global.old_passwords
0
0 Expected
select @@session.old_passwords;
@@session.old_passwords
0
0 Expected
CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'sha256_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'sha256_password';
select (select plugin from mysql.user where User='Tanjotuser1' and Host='localhost')='sha256_password';
(select plugin from mysql.user where User='Tanjotuser1' and Host='localhost')='sha256_password'
1
1 Expected
select (select plugin from mysql.user where User='Tanjotuser2' and Host='127.0.0.1')='sha256_password';
(select plugin from mysql.user where User='Tanjotuser2' and Host='127.0.0.1')='sha256_password'
1
1 Expected
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
set @@session.old_passwords=2;
Warnings:
Warning	1681	'old_passwords' is deprecated and will be removed in a future release.
SET PASSWORD FOR 'Tanjotuser1'@'localhost'='abc';
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'='abc';
**** connecting Tanjotuser1 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser2 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser1 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser2 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser1 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser2 with server 
@@session.old_passwords
2
2 Expected
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';


====================================================================================================
checking the integrity of long password (more than 40 chars) using sha256_password plugin
====================================================================================================

CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'sha256_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'sha256_password';
SET @@session.old_passwords=2;
Warnings:
Warning	1681	'old_passwords' is deprecated and will be removed in a future release.
SET PASSWORD FOR 'Tanjotuser1'@'localhost'='$$$$$$$$$$^^^^^^^^^^&&&&&&&&&&**********((((((((((##########!!!!!!!!!!@@@@@@@@@@          @@@@@@@@@@__________';
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'='$$$$$$$$$$^^^^^^^^^^&&&&&&&&&&**********((((((((((##########!!!!!!!!!!@@@@@@@@@@          @@@@@@@@@@__________';
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';


============================================================================================================================================
Checking the password authentication using the sha256_password plugin at the client and sha256_password plugin at the server side
============================================================================================================================================

# Restart server with default-authentication-plugin=sha256_password;
select @@Global.old_passwords;
@@Global.old_passwords
2
2 Expected
select @@session.old_passwords;
@@session.old_passwords
0
0 Expected
CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'sha256_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'sha256_password';
select (select plugin from mysql.user where User='Tanjotuser1' and Host='localhost')='sha256_password';
(select plugin from mysql.user where User='Tanjotuser1' and Host='localhost')='sha256_password'
1
1 Expected
select (select plugin from mysql.user where User='Tanjotuser2' and Host='127.0.0.1')='sha256_password';
(select plugin from mysql.user where User='Tanjotuser2' and Host='127.0.0.1')='sha256_password'
1
1 Expected
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
SET @@session.old_passwords=2;
Warnings:
Warning	1681	'old_passwords' is deprecated and will be removed in a future release.
SET PASSWORD FOR 'Tanjotuser1'@'localhost'='abc';
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'='abc';
**** connecting Tanjotuser1 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser2 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser1 with server 
@@session.old_passwords
2
2 Expected
**** connecting Tanjotuser2 with server 
@@session.old_passwords
2
2 Expected
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';


====================================================================================================
checking the integrity of long password (more than 40 chars) using sha256_password plugin
====================================================================================================

CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'sha256_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'sha256_password';
SET @@session.old_passwords=2;
Warnings:
Warning	1681	'old_passwords' is deprecated and will be removed in a future release.
SET PASSWORD FOR 'Tanjotuser1'@'localhost'='$$$$$$$$$$^^^^^^^^^^&&&&&&&&&&**********((((((((((##########!!!!!!!!!!@@@@@@@@@@          @@@@@@@@@@__________';
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'='$$$$$$$$$$^^^^^^^^^^&&&&&&&&&&**********((((((((((##########!!!!!!!!!!@@@@@@@@@@          @@@@@@@@@@__________';
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser1'@'localhost' (using password: )
ERROR 28000: Access denied for user 'Tanjotuser2'@'localhost' (using password: )
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';
SET @@global.old_passwords=default;
Warnings:
Warning	1681	'old_passwords' is deprecated and will be removed in a future release.
SET @@session.old_passwords=default;
Warnings:
Warning	1681	'old_passwords' is deprecated and will be removed in a future release.

Youez - 2016 - github.com/yon3zu
LinuXploit