Land #5857, use correct deserialization for hosts data
commit
98f6c7f01f
|
@ -241,7 +241,7 @@ module Msf::DBManager::Import::MetasploitFramework::XML
|
|||
host_data = {}
|
||||
host_data[:task] = args[:task]
|
||||
host_data[:workspace] = wspace
|
||||
host_data[:host] = nils_for_nulls(host.elements["address"].text.to_s.strip)
|
||||
host_data[:host] = nils_for_nulls(unserialize_object(host.elements["address"]))
|
||||
if bl.include? host_data[:host]
|
||||
next
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue