From 818bd1946d861194c371a044262565bf9a30fed9 Mon Sep 17 00:00:00 2001 From: David Maloney Date: Thu, 10 Jul 2014 12:39:01 -0500 Subject: [PATCH] final tweak for the http case the only scenario in our final else that would have a realm in the credential is the http case in which case we want the realm to be there still. otherwise the credential in this case has no realm anyways so there is no need to strip one off --- lib/metasploit/framework/login_scanner/base.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/metasploit/framework/login_scanner/base.rb b/lib/metasploit/framework/login_scanner/base.rb index c072e74fa1..eeaba5c829 100644 --- a/lib/metasploit/framework/login_scanner/base.rb +++ b/lib/metasploit/framework/login_scanner/base.rb @@ -104,9 +104,6 @@ module Metasploit second_cred.realm_key = nil yield second_cred else - # Strip any realm off here, as we don't want it - credential.realm = nil - credential.realm_key = nil yield credential end end