Hello i have an Error with metasploit-concern-0.4.0
At first it required Ruby >=2.1
i have installed Ruby 2.2.2 sucsessfully
when i ran ( Ruby -v ) i got
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
then i click on ( Edit --> profile preference --> Title and command --> Run command as a login shell
then Ruby -v ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
ok that's cool
__________________________________________________ _________________________________________
PROBLEM #1 :
i ran SEToolkit and i got that Error massage
Code:
[--] Tested on Windows, Linux, and OSX [--]
[--] Apache web server is currently in use for performance. [--][*] Moving payload into cloned website.[*] The site has been moved. SET Web Server is now listening..
[-] Launching MSF Listener...
[-] This may take a few to load MSF...
Could not find metasploit-concern-0.4.0 in any of the sources
Run `bundle install` to install missing gems.
then i ran bundle install
1-
Code:
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.
Using rake 10.4.2
Using i18n 0.7.0
Using multi_json 1.0.4
Using activesupport 3.2.21
Using builder 3.0.4
Using activemodel 3.2.21
Using erubis 2.7.0
Using journey 1.0.4
Using rack 1.4.5
Using rack-cache 1.2
Using rack-test 0.6.3
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.2.3
Using actionpack 3.2.21
Using arel 3.0.3
Using tzinfo 0.3.43
Using activerecord 3.2.21
Using arel-helpers 2.1.0
Using bcrypt 3.1.10
Using rkelly-remix 0.0.6
Using jsobfu 0.2.1
Using json 1.8.2
Using rack-ssl 1.3.4
Using rdoc 3.12.2
Using thor 0.19.1
Using railties 3.2.21
Using metasploit-concern 0.4.0
Using metasploit-model 0.29.2
Using pg 0.18.1
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using recog 1.0.27
Using metasploit_data_models 0.24.0
Using rubyntlm 0.5.0
Using rubyzip 1.1.7
Using metasploit-credential 0.14.5
Using meterpreter_bins 0.0.21
Using msgpack 0.5.11
Using packetfu 1.1.9
Using rb-readline-r7 0.5.2.0
Using robots 0.10.1
Using sqlite3 1.3.10
Using metasploit-framework 4.11.0.pre.dev from source at .
Using metasploit-framework-db 4.11.0.pre.dev from source at .
Using network_interface 0.0.1
Using pcaprub 0.11.3
Using metasploit-framework-pcap 4.11.0.pre.dev from source at .
Using simplecov-html 0.5.3
Using simplecov 0.5.4
Using bundler 1.9.4
Bundle complete! 17 Gemfile dependencies, 51 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
and problem is still in it's case
so i have installed bundle install and ruby 2.2.2 and still say
Code:
Could not find metasploit-concern-0.4.0 in any of the sources (in setoolkit)
__________________________________________________ _________________________________________
PROBLEM #2
when i use
Code:
Edit --> profile preference --> Title and command --> Run command as a login shell
i can't run msfconsole
Error :
Code:
root@kali:~# msfconsole
/opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
/opt/metasploit/ruby/bin/ruby extconf.rb
checking for labs() in stdlib.h... /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:556:in `try_link'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:742:in `try_func'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:1027:in `block in have_func'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:918:in `block in checking_for'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:351:in `block (2 levels) in postpone'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:321:in `open'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:351:in `block in postpone'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:321:in `open'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:347:in `postpone'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:917:in `checking_for'
from /opt/metasploit/ruby/lib/ruby/2.1.0/mkmf.rb:1026:in `have_func'
from extconf.rb:3:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.2.2@global/gems/bigdecimal-1.2.7 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.2.2@global/extensions/x86_64-linux/2.1.0/bigdecimal-1.2.7/gem_make.out
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:38:in `block in build'
from /opt/metasploit/ruby/lib/ruby/2.1.0/tempfile.rb:324:in `open'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/ext_conf_builder.rb:17:in `build'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `chdir'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:160:in `block in build_extension'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `synchronize'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:159:in `build_extension'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:198:in `block in build_extensions'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `each'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/ext/builder.rb:195:in `build_extensions'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/specification.rb:1436:in `block in build_extensions'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/user_interaction.rb:45:in `use_ui'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/specification.rb:1434:in `build_extensions'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/stub_specification.rb:60:in `build_extensions'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/specification.rb:925:in `block in find_inactive_by_path'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/specification.rb:924:in `each'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/specification.rb:924:in `find'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/specification.rb:924:in `find_inactive_by_path'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems.rb:185:in `try_activate'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from /usr/share/metasploit-framework/config/boot.rb:26:in `<top (required)>'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /opt/metasploit/ruby/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /opt/metasploit/apps/pro/msf3/msfconsole:45:in `<main>'
__________________________________________________ _________________________________________
PROBLEM 3# :
after installing java latest version1.8.0_45 and running SEToolkit
it gives me that massage :
Code:
Okay! Using the one built into SET - be careful, self signed isn't accepted in newer versions of Java :(
Notice : My System is already upgraded