Land #5857, use correct deserialization for hosts data

bug/bundler_fix
Brent Cook 2015-08-17 17:33:07 -05:00
commit 98f6c7f01f
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ module Msf::DBManager::Import::MetasploitFramework::XML
host_data = {} host_data = {}
host_data[:task] = args[:task] host_data[:task] = args[:task]
host_data[:workspace] = wspace 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] if bl.include? host_data[:host]
next next
else else