We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa1fec7 commit b1517e6Copy full SHA for b1517e6
modules/auxiliary/gather/eventlog_cred_disclosure.rb
@@ -84,7 +84,7 @@ def run
84
85
slid_host_ary = []
86
doc.elements.each('Details/HostDetails') do |ele|
87
- if ele.attributes["password"] != nil
+ if ele.attributes["password"]
88
# If an element doesn't have a password, then we don't care about it.
89
# Otherwise store the slid and host_id to use later.
90
slid_host_ary << [ele.attributes["slid"], ele.attributes["host_id"]]
0 commit comments