Module: NmapDataProxy

Included in:
DataProxyAutoLoader
Defined in:
lib/metasploit/framework/data_service/proxy/nmap_data_proxy.rb

Instance Method Summary collapse

Instance Method Details

#import_nmap_xml_file(args = {}) ⇒ Object


3
4
5
6
7
8
9
10
11
12
# File 'lib/metasploit/framework/data_service/proxy/nmap_data_proxy.rb', line 3

def import_nmap_xml_file(args = {})
  begin
    self.data_service_operation do |data_service|
      add_opts_workspace(args)
      data_service.import_nmap_xml_file(args)
    end
  rescue => e
    self.log_error(e, "Problem importing Nmap XML file")
  end
end