From 9857bac6b1cbfb9d5be5e4afdcd5e4e9f3b83b2d Mon Sep 17 00:00:00 2001 From: David Maloney Date: Tue, 15 Jul 2014 14:38:41 -0500 Subject: [PATCH] add NO_AUTH_REQUIRED --- lib/metasploit/framework/login_scanner/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metasploit/framework/login_scanner/http.rb b/lib/metasploit/framework/login_scanner/http.rb index e3e45e7347..6a909ed2ac 100644 --- a/lib/metasploit/framework/login_scanner/http.rb +++ b/lib/metasploit/framework/login_scanner/http.rb @@ -77,7 +77,7 @@ module Metasploit result_opts.merge!(status: Metasploit::Model::Login::Status::SUCCESSFUL, proof: response.headers) end else - result_opts.merge!(status: :no_auth_required) + result_opts.merge!(status: Metasploit::Model::Login::Status::NO_AUTH_REQUIRED) end rescue ::EOFError, Rex::ConnectionError, ::Timeout::Error result_opts.merge!(status: Metasploit::Model::Login::Status::UNABLE_TO_CONNECT)