[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.16.203.9: ~ $

============================================================================================================
Checking the global and session value of old_passwords when server default plugin is mysql_native_password.
=============================================================================================================

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 'mysql_old_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'mysql_old_password';
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
set @@session.old_passwords=2;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
set @@session.old_passwords=1;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
set @@global.secure_auth=0;
set @@global.secure_auth=0;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
1
0 for GLOBAL and 1 for SESSION Expected
set @@global.secure_auth=1;
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';
CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'mysql_native_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'mysql_native_password';
set @@session.old_passwords=1;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
set @@session.old_passwords=2;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
set @@session.old_passwords=0;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
set @@global.secure_auth=0;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
set @@global.secure_auth=1;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
0
0 for GLOBAL and 0 for SESSION Expected
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';
CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'sha256_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'sha256_password';
set @@session.old_passwords=1;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
set @@session.old_passwords=0;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
set @@session.old_passwords=2;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
set @@global.secure_auth=0;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
set @@global.secure_auth=1;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
0
@@session.old_passwords
2
0 for GLOBAL and 2 for SESSION Expected
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';


============================================================================================================
Checking the global and session value of old_passwords when server default plugin is sha256_password.
=============================================================================================================

# 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 'mysql_old_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'mysql_old_password';
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
set @@session.old_passwords=2;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 16-digit hexadecimal number
set @@session.old_passwords=1;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
Warnings:
Warning	1287	'pre-4.1 password hash' is deprecated and will be removed in a future release. Please use post-4.1 password hash instead
set @@global.secure_auth=0;
set @@global.secure_auth=0;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
1
2 for GLOBAL and 1 for SESSION Expected
set @@global.secure_auth=1;
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
**** connecting Tanjotuser1 with server
**** connecting Tanjotuser2 with server
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';
CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'mysql_native_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'mysql_native_password';
set @@session.old_passwords=1;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
set @@session.old_passwords=2;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: Password hash should be a 41-digit hexadecimal number
set @@session.old_passwords=0;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
set @@global.secure_auth=0;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
set @@global.secure_auth=1;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
0
2 for GLOBAL and 0 for SESSION Expected
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';
CREATE USER 'Tanjotuser1'@'localhost' IDENTIFIED WITH 'sha256_password';
CREATE USER 'Tanjotuser2'@'127.0.0.1' IDENTIFIED WITH 'sha256_password';
set @@session.old_passwords=1;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
set @@session.old_passwords=0;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
ERROR HY000: The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.
set @@session.old_passwords=2;
SET PASSWORD FOR 'Tanjotuser1'@'localhost'=PASSWORD('abc');
SET PASSWORD FOR 'Tanjotuser2'@'127.0.0.1'=PASSWORD('abc');
set @@global.secure_auth=0;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
set @@global.secure_auth=1;
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser1 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
**** connecting Tanjotuser2 with server 
@@Global.old_passwords
2
@@session.old_passwords
2
2 for GLOBAL and 2 for SESSION Expected
DROP USER 'Tanjotuser1'@'localhost';
DROP USER 'Tanjotuser2'@'127.0.0.1';
set @@global.old_passwords=default;
set @@session.old_passwords=default;
set @@global.secure_auth=default;

Filemanager

Name Type Size Permission Actions
access_credential_control.result File 30.47 KB 0644
cert_verify.result File 304 B 0644
have_mysql_upgrade.result File 21 B 0644
have_ssl.require File 33 B 0644
key_value_auth.result File 21.85 KB 0644
mysql_native_plugin.result File 11.18 KB 0644
mysql_no_login.result File 1.75 KB 0644
mysql_old_passwords.result File 19.09 KB 0644
mysql_old_plugin.result File 15.43 KB 0644
mysql_sha256_plugin.result File 11.1 KB 0644
not_embedded.require File 16 B 0644
not_openssl.require File 36 B 0644
not_ssl.require File 32 B 0644
openssl.require File 37 B 0644
password_expired.result File 27.84 KB 0644
secure_file_priv_error.result File 358 B 0644
secure_file_priv_null.result File 1.08 KB 0644
secure_file_priv_warnings.result File 876 B 0644
secure_file_priv_warnings_not_win.result File 582 B 0644
secure_file_priv_warnings_win.result File 454 B 0644
server_withssl_client_withoutssl.result File 14.53 KB 0644
server_withssl_client_withssl.result File 14.33 KB 0644