Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Feb 2014
#111
Originally Posted by nieldk View Post
you need postgesql and postgresql-devel and then install the pg gem
i've installed libpq5 & libpq-dev and when i try to install the pg gem "gem1.8 install pg" gave me this error..

"Succefully installed pg-0.17.1...
1 gem installed
Installig ri documentation for pg-0.17.1

Invalid output formatter"

whats happening?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#112
Probably you are missing doxygen

try gem install pg --no-ri --no-rdoc
 

The Following User Says Thank You to For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Apr 2014
#113
Hello All!

I downloaded latest metasploit package and extract and copy to "/home/opt/msf3".
And install:
Code:
apt-get install ruby1.8 irb1.8 rdoc1.8 libopenssl-ruby1.8 subversion
and download and extract rubygems 1.8.10 in "/home/opt/rubygems-1.8.10" and than run "ruby1.8 setup.rb" and perfect installed "RubyGems 1.8.10", Same this image:

and
Code:
chmod +x /home/opt/msf3/msfconsole
and I run
Code:
ruby1.8 /home/opt/msf3/msfconsole -L
but I see this message:
Code:
[*] Metasploit requires the Bundler gem to be installed
$ gem install bundler
What can I do now?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#114
wild guess :P

gem install bundler
 

The Following User Says Thank You to For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Apr 2014
#115
Originally Posted by nieldk View Post
wild guess :P
gem install bundler
First, Thank you for replay!
Before I tested this command:
Code:
gem1.8 install bundler
and try to run mfsconsole, but nothing!
Code:
[*] Metasploit requires the Bundler gem to be installed
$ gem install bundler
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#116
after installing bundler, you need to cd to msf3 folder and do
bundle install
 

The Following 2 Users Say Thank You to For This Useful Post:
Posts: 7 | Thanked: 0 times | Joined on Apr 2014
#117
Originally Posted by nieldk View Post
after installing bundler, you need to cd to msf3 folder and do
bundle install
Really thank you!
But I see another error message:
Code:
/home/opt/msf3 # bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Installing rake 10.1.0
Installing i18n 0.6.5
Installing multi_json 1.0.4
Installing activesupport 3.2.14
Installing builder 3.0.4
Installing activemodel 3.2.14
Installing arel 3.0.2
Installing tzinfo 0.3.37
Installing activerecord 3.2.14

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.8 extconf.rb 
extconf.rb:13:in `require': no such file to load -- mkmf (LoadError)
	from extconf.rb:13


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/bcrypt-ruby-3.1.2 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/bcrypt-ruby-3.1.2/ext/mri/gem_make.out
An error occurred while installing bcrypt-ruby (3.1.2), and Bundler cannot
continue.
Make sure that `gem install bcrypt-ruby -v '3.1.2'` succeeds before bundling.
I try to first install :
Code:
gem install bcrypt-ruby -v '3.1.2'
and than rerun bundle install but just see this error message:
Code:
        /usr/bin/ruby1.8 extconf.rb 
extconf.rb:13:in `require': no such file to load -- mkmf (LoadError)
	from extconf.rb:13
I searched for this error and reinstalling openssl-ruby1.8 but nothing!

and ?

Last edited by nahci13; 2014-04-28 at 19:54.
 
Posts: 7 | Thanked: 0 times | Joined on Apr 2014
#118
I found but i can't installing because collision with libssl and broken pip !
Just install:
Code:
apt-get install libssl-dev
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2014
#119
framework-latest -> v4.9

search on google Metasploit Framework v4.3 and wget ! that was my solution for the problem u have
 
Posts: 6 | Thanked: 0 times | Joined on Jan 2014
#120
nieldk, Would you consider making a tutorial on how to make it metasploit running?
I recently reflashed my n900 and followed the tutorials. Just can't make it work
I'm having the same problems as nahci13
reflashed to latest firmware and made a backup of the n900. So far so good.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:38.