Metasploit mailing list archives
Re: db_import error importing XML log
From: alfonso caponi <alfonso.caponi () gmail com>
Date: Fri, 29 Jun 2012 10:46:26 +0200
Thank you Tod, updated ruby, gems... and now works fine! It could be useful to other novice users: (export https_proxy=http://<ip>:<port> if using a web proxy) curl -L https://get.rvm.io | bash -s stable --ruby source /usr/local/rvm/scripts/rvm rvm use 1.9.3 ruby -v gem install nokogiri gem install pg gem install msgpack 2012/6/28 Tod Beardsley <todb () packetfu com>
Alfonso posted:[*] Import: Parsing with 'Nokogiri v1.4.0'[*] Importing host 1.1.1.1Alfonso -- 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)