bug/bundler_fix
sinn3r 2015-03-17 11:54:38 -05:00
parent f95b783193
commit 608bf55b79
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ module Metasploit
})
unless res
return {:status => LOGIN_STATUS::UNABLE_TO_CONNECT, :proof => res.body}
return {:status => LOGIN_STATUS::UNABLE_TO_CONNECT, :proof => res.to_s}
end
# After login, the application should give us a new SID
@ -118,10 +118,10 @@ module Metasploit
@last_sid = sid # Update our SID
if res.headers['Location'].to_s.include?('executive_summary.php') && !sid.blank?
return {:status => LOGIN_STATUS::SUCCESSFUL, :proof => res.body}
return {:status => LOGIN_STATUS::SUCCESSFUL, :proof => res.to_s}
end
{:status => LOGIN_STATUS::INCORRECT, :proof => res.body}
{:status => LOGIN_STATUS::INCORRECT, :proof => res.to_s}
end