[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.144.252.243: ~ $
# Following variables should be set:
# $USER                 Name of the user
# $PASSWORD             Password to be supplied
# $SUCCESS              Whether a successful connection is expected or not
# $DELAY_STATS           Expected value of Connection_control_delay_generated
# $USE_AUTH_PLUGIN      Whether an authentication plugin is to be used or not
# $CLIENT_AUTH_PLUGIN   Authentication plugin

connection default;
disable_query_log;
disable_result_log;

if ($SUCCESS == 0)
{
  --echo # Connection attempt should fail.
  if ($USE_AUTH_PLUGIN == 0)
  {
    --error 1
    --exec $MYSQL -u$USER -p$PASSWORD -e "SELECT 1;" 2>&1
  }
  if ($USE_AUTH_PLUGIN == 1)
  {
    --error 1
    --exec $MYSQL -u$USER $CLIENT_AUTH_PLUGIN -p$PASSWORD -e "SELECT 1;" 2>&1
  }
}

if ($SUCCESS != 0)
{
  --echo # Connection attempt should succeed.
    if ($USE_AUTH_PLUGIN == 0)
  {
    --exec $MYSQL -u$USER -p$PASSWORD -e "SELECT 1;" 2>&1
  }
  if ($USE_AUTH_PLUGIN == 1)
  {
    --exec $MYSQL -u$USER $CLIENT_AUTH_PLUGIN -p$PASSWORD -e "SELECT 1;" 2>&1
  }
}

enable_result_log;
--echo Connection_control_delay_generated should be $DELAY_STATS
SHOW STATUS LIKE 'Connection_control_delay_generated';
enable_query_log;

Filemanager

Name Type Size Permission Actions
check_connection_delay.inc File 1.18 KB 0644
cleanup_proxy_accounts.inc File 688 B 0644
have_connection_control_plugin.inc File 819 B 0644
have_test_plugin.inc File 396 B 0644
install_connection_control_plugin.inc File 345 B 0644
set_after_marker.inc File 307 B 0644
set_before_marker.inc File 136 B 0644
setup_proxy_accounts.inc File 1.02 KB 0644
uninstall_connection_control_plugin.inc File 171 B 0644