Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 11:45:33 GMT
From:      Guilherme Oliveira <guilherme.oliveira@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163831: Metasploit doesn't run
Message-ID:  <201201051145.q05BjXuK040810@red.freebsd.org>
Resent-Message-ID: <201201051150.q05Bo93Z031008@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163831
>Category:       ports
>Synopsis:       Metasploit doesn't run
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 05 11:50:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Guilherme Oliveira
>Release:        8.2-RELEASE-p3
>Organization:
>Environment:
nessus# uname -a
FreeBSD nessus.visionware.pt 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
After installing a clean Metasploit port it fails to run executing the command "msfconsole".
It looks the problem is the absense of ruby-iconv software.
>How-To-Repeat:
# msfconsole
/usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require': no such file to load -- iconv (LoadError)
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/zip/zip.rb:3
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/zip.rb:1
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/core/db.rb:23
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/core/db_manager.rb:2
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/core/framework.rb:68
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/core.rb:33
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/ui/console/driver.rb:1
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/ui/console.rb:10
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/share/metasploit/lib/msf/ui.rb:10
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `fastlib_original_require'
        from /usr/local/share/metasploit/lib/fastlib.rb:352:in `require'
        from /usr/local/bin/msfconsole:122

>Fix:
cd /usr/ports/converters/ruby-iconv && make install clean

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201051145.q05BjXuK040810>