diff --git a/lib/metasploit/framework/login_scanner/phpmyadmin.rb b/lib/metasploit/framework/login_scanner/phpmyadmin.rb index f37440857b..267b045422 100644 --- a/lib/metasploit/framework/login_scanner/phpmyadmin.rb +++ b/lib/metasploit/framework/login_scanner/phpmyadmin.rb @@ -40,6 +40,8 @@ module Metasploit def do_login(username, password) session_info = get_session_info + # Failed to retrieve session info + return session_info if session_info.is_a?(Hash) protocol = ssl ? 'https' : 'http' peer = "#{host}:#{port}"