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 offbug/bundler_fix
parent
7dc58d060e
commit
818bd1946d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue