As usual, I was having issues out of metasploit!
I know this looks like a lot but it's mainly just output code.
Issue- After about 7 hours of trying tutorials and searching google for answers on how to fix my problem, I figured the best option was to just uninstall metasploit and then reinstall it, and of course I was wrong.
I went to the directory and ran the uninstall and removed metasploit from my machine.
Now, I am having trouble reinstalling metasploit, which I didn't think would give me so many issues.
I have been to the manufacture website and download the .run file and ran the instillation progress, only to come up with more errors after the install.
So I decided to try and install it another way instead, here is what I have done:
$ sudo bash
# cd /pentest/exploits/
# mkdir metasploit
# cd /pentest/exploits/metasploit
# svn co
https://www.metasploit.com/svn/framework3/trunk framework3
Installing the pcaprub extension to be able to run raw sockets, so I then ran:
# cd /pentest/metasploit/framework3/external/pcaprub
# ruby extconf.rb
# make && make install
Installing the lorcon2 extension to use the WIFI Modules, so I ran the following:
(Use
http://802.11ninja.net/svn/lorcon/trunk lorcon2 instead of "https" due to errors)
# cd /pentest/metasploit
# svn co
http://802.11ninja.net/svn/lorcon/trunk lorcon2
# cd lorcon2
# ./configure --prefix=/usr && make && make install
# cd /pentest/metasploit/framework3/external/ruby-lorcon2
# ruby extconf.rb
# make && make install
Update:
# svn update /pentest/metasploit/framework3/
I am at Revision 15490 receiving some errors still!
# ./armitage
Couldn't launch MSF Cannot run program "msfrpcd" java.io.10Exception: error=2, No such file or director
# ./msfgui
./msfgui:13: Missing msgpack gem, try 'gem install msgpack' to use MSFGui (LoadError)
I then ran:
# gem install msgpack
Building native extensions. This could take a while...
Successfully installed msgpack-0.4.7
1 gem installed
Installing ri documentation for msgpack-0.4.7...
Installing RDoc documentation for msgpack-0.4.7...
Tried running # ./msfgui again only to receive the same error code
I then ran:
# ./Gemfile
./Gemfile: line 1:
http://rubygems.org: No such file or directory
ERROR: While executing gem ... (RuntimeError)
Unknown command rails,
./Gemfile: line 3: git://github.com/rapid7/metasploit_data_models.git: No such file or directory
ERROR: While executing gem ... (RuntimeError)
Unknown command pg,
ERROR: While executing gem ... (RuntimeError)
Unknown command msgpack
ERROR: While executing gem ... (RuntimeError)
Unknown command nokogiri
I think I am a bit bummed on this, any help?