Metasploit mailing list archives
Re: db_import error importing XML log
From: Tod Beardsley <todb () packetfu com>
Date: Thu, 28 Jun 2012 13:15:14 -0500
Alfonso posted:
[*] Import: Parsing with 'Nokogiri v1.4.0'[*] Importing host 1.1.1.1
Alfonso -- can you update your Nokogiri installation? I've tried to reproduce your error, and can't. However, I'm on a much later version of Nokogiri. You will want to make sure you are on Ruby 1.9.3-p125 (we like rvm at https://rvm.io/rvm/install/ ) , and have a recent installation of Nokogiri ("gem install nokogiri" should do it). Here are my results: =[ metasploit v4.4.0-dev [core:4.4 api:1.0] + -- --=[ 891 exploits - 484 auxiliary - 149 post + -- --=[ 251 payloads - 28 encoders - 8 nops msf > resource /home/todb/rc/db.rc [*] Processing /home/todb/rc/db.rc for ERB directives. resource (/home/todb/rc/db.rc)> sleep 1 resource (/home/todb/rc/db.rc)> db_connect msf3:xxxxxxxxx@localhost:5432/msf_framework resource (/home/todb/rc/db.rc)> workspace -a hax [*] Added workspace: hax msf > db_import /tmp/test_nmap.xml [*] Importing 'Nmap XML' data [*] Import: Parsing with 'Nokogiri v1.5.2' [*] Importing host 1.1.1.1 [*] Successfully imported /tmp/test_nmap.xml msf > _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- db_import error importing XML log alfonso caponi (Jun 28)
- Re: db_import error importing XML log Tod Beardsley (Jun 28)
- Re: db_import error importing XML log alfonso caponi (Jun 29)
- Re: db_import error importing XML log Tod Beardsley (Jun 28)