Skip to content

Commit 818bd19

Browse files
David MaloneyDavid Maloney
authored andcommitted
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
1 parent 7dc58d0 commit 818bd19

File tree

1 file changed

+0
-3
lines changed
  • lib/metasploit/framework/login_scanner

1 file changed

+0
-3
lines changed

lib/metasploit/framework/login_scanner/base.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ def each_credential
104104
second_cred.realm_key = nil
105105
yield second_cred
106106
else
107-
# Strip any realm off here, as we don't want it
108-
credential.realm = nil
109-
credential.realm_key = nil
110107
yield credential
111108
end
112109
end

0 commit comments

Comments
 (0)