You are not logged in.

#1 2013-06-17 22:47:57

coolcashews
Member
Registered: 2013-06-17
Posts: 10

trouble installing/running Metasploit

Hello all,

I'm having difficulty actually getting metasploit up and running for the last three days on my new arch system.  I believe the problem to be dealing with some ruby dependency, but I'm not exactly sure where to begin trying to fix it.  To start with, I installed RVM from https://rvm.io/ with

$ \curl -L [url]https://get.rvm.io[/url] | bash -s stable --rails # Or, --ruby=1.9.3

I next installed metasploit-git from the AUR using yaourt, and installed all the gem bundlers using

$ gem install bundler && bundle-install

Everything seemed to install fine, but when i run the msfconsole command to start metasploit, I get the following output

$ msfconsole
/home/tom/.rvm/gems/ruby-2.0.0-p195/gems/packetfu-1.1.8/lib/packetfu.rb:21:in `require': /home/tom/.rvm/gems/ruby-2.0.0-p195/gems/packetfu-1.1.8/lib/packetfu/protos/lldp.rb:19: invalid multibyte escape: /^\x01\x80\xc2\x00\x00[\x0e\x03\x00]/ (SyntaxError)
	from /home/tom/.rvm/gems/ruby-2.0.0-p195/gems/packetfu-1.1.8/lib/packetfu.rb:21:in `block in require_protos'
  	from /home/tom/.rvm/gems/ruby-2.0.0-p195/gems/packetfu-1.1.8/lib/packetfu.rb:18:in `each'
	from /home/tom/.rvm/gems/ruby-2.0.0-p195/gems/packetfu-1.1.8/lib/packetfu.rb:18:in `require_protos'
	from /home/tom/.rvm/gems/ruby-2.0.0-p195/gems/packetfu-1.1.8/lib/packetfu.rb:149:in `<top (required)>'
 	from /usr/src/metasploit-git/lib/msf/core/db.rb:22:in `require'
	from /usr/src/metasploit-git/lib/msf/core/db.rb:22:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core/db_manager.rb:5:in `require'
	from /usr/src/metasploit-git/lib/msf/core/db_manager.rb:5:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:69:in `require'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:69:in `<class:Framework>'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:13:in `<module:Msf>'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:5:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core.rb:34:in `require'
	from /usr/src/metasploit-git/lib/msf/core.rb:34:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui/console/driver.rb:2:in `require'
	from /usr/src/metasploit-git/lib/msf/ui/console/driver.rb:2:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui/console.rb:11:in `require'
	from /usr/src/metasploit-git/lib/msf/ui/console.rb:11:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui.rb:11:in `require'
	from /usr/src/metasploit-git/lib/msf/ui.rb:11:in `<top (required)>'
	from /usr/bin/msfconsole:157:in `require'
	from /usr/bin/msfconsole:157:in `<main>'

I've tried searching throughout these forums, the metasploit install forums, and googling a variety of things, but can't quite seem to find a solution.  If anyone could point me in the right direction, it would be much appreciated.  Thanks in advance!

Last edited by coolcashews (2013-06-18 00:03:08)

Offline

#2 2013-06-17 23:36:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,065
Website

Re: trouble installing/running Metasploit

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code

It looks like you haven't correctly set up your ruby environment to use 1.9.3 (if it does require that).


Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Online

#3 2013-06-18 00:04:35

coolcashews
Member
Registered: 2013-06-17
Posts: 10

Re: trouble installing/running Metasploit

Edited to add code tags.  Thanks for the quick reply and hint.  I'll keep researching and looking into making sure I have ruby set up correctly.

Offline

#4 2013-06-18 09:10:13

mverdu
Member
Registered: 2013-06-18
Posts: 1

Re: trouble installing/running Metasploit

I'm having the same problem...

$ ruby --version
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
msfconsole --version
/usr/lib/ruby/gems/2.0.0/gems/packetfu-1.1.8/lib/packetfu.rb:21:in `require': /usr/lib/ruby/gems/2.0.0/gems/packetfu-1.1.8/lib/packetfu/protos/lldp.rb:19: invalid multibyte escape: /^\x01\x80\xc2\x00\x00[\x0e\x03\x00]/ (SyntaxError)
	from /usr/lib/ruby/gems/2.0.0/gems/packetfu-1.1.8/lib/packetfu.rb:21:in `block in require_protos'
	from /usr/lib/ruby/gems/2.0.0/gems/packetfu-1.1.8/lib/packetfu.rb:18:in `each'
	from /usr/lib/ruby/gems/2.0.0/gems/packetfu-1.1.8/lib/packetfu.rb:18:in `require_protos'
	from /usr/lib/ruby/gems/2.0.0/gems/packetfu-1.1.8/lib/packetfu.rb:149:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core/db.rb:22:in `require'
	from /usr/src/metasploit-git/lib/msf/core/db.rb:22:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core/db_manager.rb:5:in `require'
	from /usr/src/metasploit-git/lib/msf/core/db_manager.rb:5:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:69:in `require'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:69:in `<class:Framework>'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:13:in `<module:Msf>'
	from /usr/src/metasploit-git/lib/msf/core/framework.rb:5:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/core.rb:34:in `require'
	from /usr/src/metasploit-git/lib/msf/core.rb:34:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui/console/driver.rb:2:in `require'
	from /usr/src/metasploit-git/lib/msf/ui/console/driver.rb:2:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui/console.rb:11:in `require'
	from /usr/src/metasploit-git/lib/msf/ui/console.rb:11:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui.rb:11:in `require'
	from /usr/src/metasploit-git/lib/msf/ui.rb:11:in `<top (required)>'
	from /usr/bin/msfconsole:157:in `require'
	from /usr/bin/msfconsole:157:in `<main>'
sudo bundle install                                               
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Using rake (10.0.4) 
Using i18n (0.6.1) 
Using multi_json (1.0.4) 
Using activesupport (3.2.13) 
Using builder (3.0.4) 
Using activemodel (3.2.13) 
Using arel (3.0.2) 
Using tzinfo (0.3.37) 
Using activerecord (3.2.13) 
Using metaclass (0.0.1) 
Using mocha (0.13.3) 
Using bourne (1.4.0) 
Using database_cleaner (0.9.1) 
Using diff-lcs (1.2.2) 
Using factory_girl (4.2.0) 
Using json (1.7.7) 
Installing pg (0.15.1) 
Installing metasploit_data_models (0.16.1) 
Installing msgpack (0.5.4) 
Installing nokogiri (1.5.9) 
Installing packetfu (1.1.8) 
Installing pcaprub (0.11.3) 
Installing redcarpet (2.2.2) 
Installing robots (0.10.1) 
Installing rspec-core (2.13.1) 
Installing rspec-expectations (2.13.0) 
Installing rspec-mocks (2.13.0) 
Installing rspec (2.13.0) 
Installing shoulda-matchers (1.5.2) 
Installing simplecov-html (0.5.3) 
Installing simplecov (0.5.4) 
Installing timecop (0.6.1) 
Installing yard (0.8.5.2) 
Using bundler (1.3.5) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.

Offline

#5 2013-06-18 21:35:59

Boohbah
Member
Registered: 2011-11-19
Posts: 20

Re: trouble installing/running Metasploit

Hi, this seems to be a problem with the packetfu gem and ruby 2.0.0.

https://github.com/todb/packetfu/issues/28
https://github.com/todb/packetfu/commit … 547cf1ad50

I was able to solve it by editing the Gemfile in the metasploit root directory to install packetfu from github.

#gem 'packetfu', '1.1.8'
gem 'packetfu', :git => 'git://github.com/todb/packetfu.git'

And running bundle install again.

$ bundle install
Fetching git://github.com/todb/packetfu.git
remote: Counting objects: 2043, done.
remote: Compressing objects: 100% (1029/1029), done.
remote: Total 2043 (delta 1030), reused 1995 (delta 998)
Receiving objects: 100% (2043/2043), 1.84 MiB | 244.00 KiB/s, done.
Resolving deltas: 100% (1030/1030), done.
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Using rake (10.0.4) 
Using i18n (0.6.1) 
Using multi_json (1.0.4) 
Using activesupport (3.2.13) 
Using builder (3.0.4) 
Using activemodel (3.2.13) 
Using arel (3.0.2) 
Using tzinfo (0.3.37) 
Using activerecord (3.2.13) 
Using metaclass (0.0.1) 
Using mocha (0.13.3) 
Using bourne (1.4.0) 
Using database_cleaner (0.9.1) 
Using diff-lcs (1.2.2) 
Using factory_girl (4.2.0) 
Using json (1.7.7) 
Using pg (0.15.1) 
Using metasploit_data_models (0.16.1) 
Using msgpack (0.5.4) 
Using nokogiri (1.5.9) 
Using packetfu (1.1.9) from git://github.com/todb/packetfu.git (at master) 
Using pcaprub (0.11.3) 
Using redcarpet (2.2.2) 
Using robots (0.10.1) 
Using rspec-core (2.13.1) 
Using rspec-expectations (2.13.0) 
Using rspec-mocks (2.13.0) 
Using rspec (2.13.0) 
Using shoulda-matchers (1.5.2) 
Using simplecov-html (0.5.3) 
Using simplecov (0.5.4) 
Using timecop (0.6.1) 
Using yard (0.8.5.2) 
Using bundler (1.3.5) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
$ msfconsole --version
Framework Version: 4.7.0-dev

Hope this helps!

Offline

#6 2013-06-19 01:39:27

coolcashews
Member
Registered: 2013-06-17
Posts: 10

Re: trouble installing/running Metasploit

Thanks for the help!

$ msfconsole --version
Framework Version: 4.7.0-dev

Metasploit seems to be installed correctly now when using the cli.

$ msfcli
[*] Please wait while we load the module tree...
Usage: /usr/bin/msfcli <exploit_name> <option=value> [mode]
===========================================================

    Mode           Description
    ----           -----------
    (A)dvanced     Show available advanced options for this module
    (AC)tions      Show available actions for this auxiliary module
    (C)heck        Run the check routine of the selected module
    (E)xecute      Execute the selected module
    (H)elp         You're looking at it baby!
    (I)DS Evasion  Show available ids evasion options for this module
    (O)ptions      Show available options for this module
    (P)ayloads     Show available payloads for this module
    (S)ummary      Show information about this module
    (T)argets      Show available targets for this exploit module

Exploits
========

    Name                                                    Description
    ----                                                    -----------
    exploit/aix/rpc_cmsd_opcode21                           AIX Calendar Manager Service Daemon (rpc.cmsd) Opcode 21 Buffer Overflow
    exploit/aix/rpc_ttdbserverd_realpath                    ToolTalk rpc.ttdbserverd _tt_internal_realpath Buffer Overflow (AIX)
    ...
    auxiliary/vsploit/pii/email_pii                         VSploit Email PII
    auxiliary/vsploit/pii/web_pii                           VSploit Web PII

But there seems to be a new issue involving ruby and ssl when trying to run the console command that I'm working on now.

$ msfconsole
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::VERSION
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_VERSION
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_VERSION_NUMBER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OPENSSL_FIPS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Config::DEFAULT_CONFIG_FILE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::Signer
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::TEXT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOCERTS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOSIGS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOCHAIN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOINTERN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOVERIFY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::DETACHED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::BINARY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOATTR
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKCS7::NOSMIMECAP
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::PKCS1_PADDING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::SSLV23_PADDING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::NO_PADDING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::PKey::EC::NAMED_CURVE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_OFF
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_SERVER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_BOTH
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_AUTO_CLEAR
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_LOOKUP
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_STORE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::SSLContext::METHODS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_NONE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::VERIFY_CLIENT_ONCE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MICROSOFT_SESS_ID_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_CHALLENGE_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SSLREF2_REUSE_CERT_TYPE_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MICROSOFT_BIG_SSLV3_BUFFER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_MSIE_SSLV2_RSA_PADDING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SSLEAY_080_CLIENT_DH_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_D5_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_BLOCK_PADDING_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_ALL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SINGLE_ECDH_USE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_SINGLE_DH_USE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_EPHEMERAL_RSA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_CIPHER_SERVER_PREFERENCE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_TLS_ROLLBACK_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_SSLv2
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_SSLv3
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TLSv1
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TLSv1_1
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TLSv1_2
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_TICKET
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NO_COMPRESSION
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_PKCS1_CHECK_1
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_PKCS1_CHECK_2
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_CA_DN_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::SSL::OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::Name::DEFAULT_OBJECT_TYPE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::Name::COMPAT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::Name::RFC2253
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::Name::ONELINE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::Name::MULTILINE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_OK
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_GET_ISSUER_CERT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_GET_CRL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_SIGNATURE_FAILURE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CRL_SIGNATURE_FAILURE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_NOT_YET_VALID
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_HAS_EXPIRED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CRL_NOT_YET_VALID
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CRL_HAS_EXPIRED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_OUT_OF_MEM
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_SELF_SIGNED_CERT_IN_CHAIN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_CHAIN_TOO_LONG
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_REVOKED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_INVALID_CA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_PATH_LENGTH_EXCEEDED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_INVALID_PURPOSE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_UNTRUSTED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_CERT_REJECTED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_SUBJECT_ISSUER_MISMATCH
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_AKID_SKID_MISMATCH
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_AKID_ISSUER_SERIAL_MISMATCH
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_KEYUSAGE_NO_CERTSIGN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_ERR_APPLICATION_VERIFICATION
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_FLAG_CRL_CHECK
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::V_FLAG_CRL_CHECK_ALL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SSL_CLIENT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SSL_SERVER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_NS_SSL_SERVER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SMIME_SIGN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_SMIME_ENCRYPT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_CRL_SIGN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_ANY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::PURPOSE_OCSP_HELPER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_COMPAT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_SSL_CLIENT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_SSL_SERVER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_EMAIL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_OBJECT_SIGN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_OCSP_SIGN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::TRUST_OCSP_REQUEST
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_AREA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_DIR
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_FILE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_DIR_ENV
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_CERT_FILE_ENV
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::X509::DEFAULT_PRIVATE_DIR
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_SUCCESSFUL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_MALFORMEDREQUEST
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_INTERNALERROR
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_TRYLATER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_SIGREQUIRED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPONSE_STATUS_UNAUTHORIZED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_NOSTATUS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_UNSPECIFIED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_KEYCOMPROMISE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_CACOMPROMISE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_AFFILIATIONCHANGED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_SUPERSEDED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_CESSATIONOFOPERATION
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_CERTIFICATEHOLD
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::REVOKED_STATUS_REMOVEFROMCRL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCERTS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOINTERN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOSIGS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCHAIN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOVERIFY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOEXPLICIT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCASIGN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NODELEGATED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOCHECKS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::TRUSTOTHER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::RESPID_KEY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::NOTIME
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_CERTSTATUS_GOOD
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_CERTSTATUS_REVOKED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_CERTSTATUS_UNKNOWN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_RESPID_NAME
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::OCSP::V_RESPID_KEY
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_RSA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_DSA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_DH
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_RAND
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_CIPHERS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_DIGESTS
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_ALL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::Engine::METHOD_NONE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UNIVERSAL_TAG_NAME
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::EOC
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::BOOLEAN
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::INTEGER
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::BIT_STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::OCTET_STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::NULL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::OBJECT
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::OBJECT_DESCRIPTOR
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::EXTERNAL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::REAL
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::ENUMERATED
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::EMBEDDED_PDV
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UTF8STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::RELATIVE_OID
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::SEQUENCE
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::SET
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::NUMERICSTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::PRINTABLESTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::T61STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::VIDEOTEXSTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::IA5STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UTCTIME
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::GENERALIZEDTIME
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::GRAPHICSTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::ISO64STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::GENERALSTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::UNIVERSALSTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::CHARACTER_STRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/x86_64-linux/openssl.so: warning: already initialized constant OpenSSL::ASN1::BMPSTRING
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::AES
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of AES was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::CAST5
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of CAST5 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::BF
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of BF was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::DES
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of DES was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::IDEA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of IDEA was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::RC2
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of RC2 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::RC4
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of RC4 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::RC5
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of RC5 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: already initialized constant OpenSSL::Cipher::AES128
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: previous definition of AES128 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: already initialized constant OpenSSL::Cipher::AES192
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: previous definition of AES192 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: already initialized constant OpenSSL::Cipher::AES256
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: previous definition of AES256 was here
[-] ***
[-] * WARNING: No database support: TypeError superclass mismatch for class Cipher
[-] ***
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::AES
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of AES was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::CAST5
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of CAST5 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::BF
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of BF was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::DES
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of DES was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::IDEA
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of IDEA was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::RC2
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of RC2 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::RC4
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of RC4 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: already initialized constant OpenSSL::Cipher::RC5
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:30: warning: previous definition of RC5 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: already initialized constant OpenSSL::Cipher::AES128
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: previous definition of AES128 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: already initialized constant OpenSSL::Cipher::AES192
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: previous definition of AES192 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: already initialized constant OpenSSL::Cipher::AES256
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:41: warning: previous definition of AES256 was here
/home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:61:in `<class:Cipher>': superclass mismatch for class Cipher (TypeError)
	from /home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:22:in `<module:OpenSSL>'
	from /home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl/cipher.rb:21:in `<top (required)>'
	from /home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl.rb:20:in `require'
	from /home/tom/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/openssl.rb:20:in `<top (required)>'
	from /usr/src/metasploit-git/lib/msf/ui/console/driver.rb:144:in `require'
	from /usr/src/metasploit-git/lib/msf/ui/console/driver.rb:144:in `initialize'
	from /usr/bin/msfconsole:169:in `new'
	from /usr/bin/msfconsole:169:in `<main>'

I'll post back when I figure it out.  If anyone has any suggestions, I'm all ears.  Thanks again Boohbah.

$ ruby --version
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]

Last edited by coolcashews (2013-06-19 01:46:55)

Offline

#7 2013-09-24 11:11:41

Stiege
Member
Registered: 2013-09-24
Posts: 2

Re: trouble installing/running Metasploit

gem 'packetfu', :git => 'git://github.com/todb/packetfu.git'

Is no longer pointing to the correct location I think. I've had a look around but can't find where it's moved to. Any ideas?

Offline

Board footer

Powered by FluxBB