Fix field.value
parent
5d18de2ebf
commit
316710329b
|
@ -88,7 +88,7 @@ class Metasploit3 < Msf::Post
|
||||||
if db && datastore['STORE_DB']
|
if db && datastore['STORE_DB']
|
||||||
case fields[i]
|
case fields[i]
|
||||||
when 'dNSHostName'
|
when 'dNSHostName'
|
||||||
dns = field.value
|
dns = field
|
||||||
report[:name] = dns
|
report[:name] = dns
|
||||||
hostnames << dns
|
hostnames << dns
|
||||||
when 'operatingSystem'
|
when 'operatingSystem'
|
||||||
|
|
Loading…
Reference in New Issue