Skip to content

Commit 3167103

Browse files
committed
Fix field.value
1 parent 5d18de2 commit 3167103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/windows/gather/enum_ad_computers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def run
8888
if db && datastore['STORE_DB']
8989
case fields[i]
9090
when 'dNSHostName'
91-
dns = field.value
91+
dns = field
9292
report[:name] = dns
9393
hostnames << dns
9494
when 'operatingSystem'

0 commit comments

Comments
 (0)