Skip to content

Commit 1a0200f

Browse files
David MaloneyDavid Maloney
authored andcommitted
one more strip
1 parent 25ee278 commit 1a0200f

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

lib/metasploit/framework/login_scanner/base.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ def each_cred_adjusted_for_realm(credential)
112112
second_cred.realm_key = nil
113113
yield second_cred
114114
else
115+
# Strip any realm off here, as we don't want it
116+
credential.realm = nil
117+
credential.realm_key = nil
115118
yield credential
116119
end
117120

0 commit comments

Comments
 (0)