Skip to content

Commit 0919f74

Browse files
committed
Delete unused variable
1 parent 22b875d commit 0919f74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/auxiliary/gather/eventlog_cred_disclosure.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def run
128128
doc.elements.each('Details/Hosts') do |ele|
129129
# Add an empty string if a variable doesn't exist, we have to check it
130130
# somewhere and it's easier to do it here.
131-
dns_name = (ele.attributes["dns_name"] != nil ? ele.attributes["dns_name"] : "")
132131
host_ipaddress = (ele.attributes["host_ipaddress"] != nil ? ele.attributes["host_ipaddress"] : "")
133132

134133
ele.elements.each('HostDetails') do |details|

0 commit comments

Comments
 (0)