Metasploit mailing list archives

problem running metasploit 4


From: Vojtěch Polášek <krecoun () gmail com>
Date: Fri, 12 Aug 2011 10:00:05 +0200

Greetings,
I'm usinv ubuntu 10.10 and installed metasploit through backtrack 5
repositories. But it had some problems with gems and postgres so I
purged it and downloaded metasploit 4 from your sites.
Installation went well, All seemed to work, untill I tried to run db_nmap.
This is my result. I'm running msfconsole as sudo.
vojta@ofelie:~$ sudo msfconsole
[sudo] password for vojta:


Unable to handle kernel NULL pointer dereference at virtual address
0xd34db33f
EFLAGS: 00010046
eax: 00000001 ebx: f77c8c00 ecx: 00000000 edx: f77f0001
esi: 803bf014 edi: 8023c755 ebp: 80237f84 esp: 80237f60
ds: 0018   es: 0018  ss: 0018
Process Swapper (Pid: 0, process nr: 0, stackpage=80377000)


Stack: 90909090990909090990909090
       90909090990909090990909090
       90909090.90909090.90909090
       90909090.90909090.90909090
       90909090.90909090.09090900
       90909090.90909090.09090900
       ..........................
       cccccccccccccccccccccccccc
       cccccccccccccccccccccccccc
       ccccccccc.................
       cccccccccccccccccccccccccc
       cccccccccccccccccccccccccc
       .................ccccccccc
       cccccccccccccccccccccccccc
       cccccccccccccccccccccccccc
       ..........................
       ffffffffffffffffffffffffff
       ffffffff..................
       ffffffffffffffffffffffffff
       ffffffff..................
       ffffffff..................
       ffffffff..................


Code: 00 00 00 00 M3 T4 SP L0 1T FR 4M 3W OR K! V3 R5 I0 N4 00 00 00 00
Aiee, Killing Interrupt handler
Kernel panic: Attempted to kill the idle task!
In swapper task - not syncing



       =[ metasploit v4.0.1-dev [core:4.0 api:1.0]
+ -- --=[ 721 exploits - 365 auxiliary - 74 post
+ -- --=[ 226 payloads - 27 encoders - 8 nops
       =[ svn r13530 updated today (2011.08.11)

msf > db_nmap 127.0.0.1
[*] Nmap: Starting Nmap 5.51SVN ( http://nmap.org ) at 2011-08-12 09:51 CEST
[*] Nmap: Nmap scan report for localhost.localdomain (127.0.0.1)
[*] Nmap: Host is up (0.000019s latency).
[*] Nmap: Not shown: 996 closed ports
[*] Nmap: PORT     STATE SERVICE
[*] Nmap: 22/tcp   open  ssh
[*] Nmap: 631/tcp  open  ipp
[*] Nmap: 5432/tcp open  postgresql
[*] Nmap: 9050/tcp open  tor-socks
[*] Nmap: Nmap done: 1 IP address (1 host up) scanned in 0.21 seconds
[-] Error while running command db_nmap: Validation failed: %{errors}

Call stack:
/opt/framework-4.0.0/msf3/lib/active_record/validations.rb:1089:in
`save_with_validation!'
/opt/framework-4.0.0/msf3/lib/active_record/dirty.rb:87:in
`save_with_dirty!'
/opt/framework-4.0.0/msf3/lib/active_record/transactions.rb:200:in
`block (2 levels) in save_with_transactions!'
/opt/framework-4.0.0/msf3/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
`transaction'
/opt/framework-4.0.0/msf3/lib/active_record/transactions.rb:182:in
`transaction'
/opt/framework-4.0.0/msf3/lib/active_record/transactions.rb:200:in
`block in save_with_transactions!'
/opt/framework-4.0.0/msf3/lib/active_record/transactions.rb:208:in
`rollback_active_record_state!'
/opt/framework-4.0.0/msf3/lib/active_record/transactions.rb:200:in
`save_with_transactions!'
/opt/framework-4.0.0/msf3/lib/msf/core/db.rb:311:in `report_host'
/opt/framework-4.0.0/msf3/lib/rex/parser/nokogiri_doc_mixin.rb:135:in
`db_report'
/opt/framework-4.0.0/msf3/lib/rex/parser/nmap_nokogiri.rb:342:in
`report_host'
/opt/framework-4.0.0/msf3/lib/rex/parser/nmap_nokogiri.rb:88:in
`end_element'
/opt/framework-4.0.0/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.3/lib/nokogiri/xml/sax/document.rb:125:in
`end_element_namespace'
/opt/framework-4.0.0/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.3/lib/nokogiri/xml/sax/parser.rb:110:in
`parse_with'
/opt/framework-4.0.0/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.3/lib/nokogiri/xml/sax/parser.rb:110:in
`parse_memory'
/opt/framework-4.0.0/ruby/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.3/lib/nokogiri/xml/sax/parser.rb:83:in
`parse'
/opt/framework-4.0.0/msf3/lib/msf/core/db.rb:3899:in
`import_nmap_noko_stream'
/opt/framework-4.0.0/msf3/lib/msf/core/db.rb:3916:in `import_nmap_xml'
/opt/framework-4.0.0/msf3/lib/msf/core/db.rb:3869:in `import_nmap_xml_file'
/opt/framework-4.0.0/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1609:in
`cmd_db_nmap'
/opt/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in
`run_command'
/opt/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:338:in
`block in run_single'
/opt/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in `each'
/opt/framework-4.0.0/msf3/lib/rex/ui/text/dispatcher_shell.rb:332:in
`run_single'
/opt/framework-4.0.0/msf3/lib/rex/ui/text/shell.rb:199:in `run'
/opt/framework-4.0.0/msf3/msfconsole:130:in `<main>'
msf >

I absolutelly don't know what can be bad. I thought that metasploit has
its own ruby installed, I have ruby 1.9 installed through normal ubuntu
packaging system.
Can you please help me?
Thank you,
Vojta
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: