mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
Fix the parameters for the nexpose plugin to match the new DB api
git-svn-id: file:///home/svn/framework3/trunk@9603 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
5f9680d902
commit
48732165f3
@ -390,9 +390,9 @@ class Plugin::Nexpose < Msf::Plugin
|
||||
def process_nexpose_data(fmt, data)
|
||||
case fmt
|
||||
when 'raw-xml'
|
||||
framework.db.import_nexpose_rawxml(data)
|
||||
framework.db.import({:data => data})
|
||||
when 'ns-xml'
|
||||
framework.db.import_nexpose_simplexml(data)
|
||||
framework.db.import({:data => data})
|
||||
else
|
||||
print_error("Unsupported NeXpose data format: #{fmt}")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user