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)