PMA Scanner Check Error Condition

GSoC/Meterpreter_Web_Console
Jacob Robles 2018-08-14 06:16:55 -05:00
parent 47a3fe64e7
commit a956f675ff
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
1 changed files with 2 additions and 0 deletions

View File

@ -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}"