Hello all!
Your help is needed!! Am trying to update my metasploit wt the command msfupdate and is giving me this error:
root@bt:~# msfupdate
- Attempting to update the Metasploit Framework...
HEAD is now at 157f257 final cleanup for linksys_wrt54gl_apply_exec
Already on 'master'
Your branch is ahead of 'origin/master' by 897 commits.
remote: Counting objects: 602, done.
remote: Compressing objects: 100% (134/134), done.
remote: Total 484 (delta 380), reused 452 (delta 348)
Receiving objects: 100% (484/484), 91.16 KiB | 42 KiB/s, done.
Resolving deltas: 100% (380/380), completed with 56 local objects.
From git://github.com/rapid7/metasploit-framework
157f257..1d4096c master -> upstream/master
From git://github.com/rapid7/metasploit-framework
* [new tag] sprint-A07 -> sprint-A07
Updating 157f257..1d4096c
Fast-forward
.mailmap | 3 +
data/exploits/CVE-2012-1535/Main.swf | Bin 32065 -> 32067 bytes
.../auxiliary/admin/http/github_pulls_changes.rb | 113 ++++
.../http/hp_sitescope_getsitescopeconfiguration.rb | 18 +-
.../scanner/http/rails_xml_yaml_scanner.rb | 6 +-
modules/auxiliary/scanner/mysql/mysql_file_enum.rb | 20 -
modules/auxiliary/scanner/ntp/ntp_readvar.rb | 1 +
.../postgres/postgres_dbname_flag_injection.rb | 2 +
.../linux/http/dlink_diagnostic_exec_noauth.rb | 226 +++++++
.../multi/http/adobe_coldfusion_apsb13_03.rb | 633 ++++++++++++++++++++
.../multi/http/struts_code_exec_parameters.rb | 166 -----
modules/exploits/multi/http/webacoo_exec.rb | 148 +++++
modules/exploits/unix/webapp/generic_exec.rb | 2 +-
.../unix/webapp/lotus_protector_setup_cookie.rb | 105 ++++
.../exploits/unix/webapp/mutiny_subnetmask_exec.rb | 167 +++++
.../windows/browser/adobe_flash_otf_font.rb | 6 +-
.../exploits/windows/browser/ms05_054_onload.rb | 22 +-
.../windows/browser/ms09_002_memory_corruption.rb | 3 +-
.../http/novell_file_reporter_file_retrieval.rb | 76 +++
modules/exploits/windows/local/bypassuac.rb | 10 +-
.../singles/cmd/unix/bind_netcat_gaping_ipv6.rb | 17 +-
modules/post/windows/escalate/bypassuac.rb | 8 +-
modules/post/windows/gather/credentials/steam.rb | 2 +-
23 files changed, 1513 insertions(+), 241 deletions(-)
create mode 100644 modules/auxiliary/admin/http/github_pulls_changes.rb
create mode 100644 modules/exploits/linux/http/dlink_diagnostic_exec_noauth.rb
create mode 100644 modules/exploits/multi/http/adobe_coldfusion_apsb13_03.rb
delete mode 100644 modules/exploits/multi/http/struts_code_exec_parameters.rb
create mode 100644 modules/exploits/multi/http/webacoo_exec.rb
create mode 100644 modules/exploits/unix/webapp/lotus_protector_setup_cookie.rb
create mode 100644 modules/exploits/unix/webapp/mutiny_subnetmask_exec.rb
create mode 100644 modules/exploits/windows/http/novell_file_reporter_file_retrieval.rb
Fetching gem metadata from newbielink:http://rubygems.org/
[nonactive].........
Fetching gem metadata from newbielink:http://rubygems.org/
[nonactive]..
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 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.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/metasploit/ruby/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /opt/metasploit/postgresql/bin/pg_config
checking for libpq-fe.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/metasploit/ruby/bin/ruby
--with-pg
--without-pg
--with-pg-dir
--without-pg-dir
--with-pg-include
--without-pg-include=${pg-dir}/include
--with-pg-lib
--without-pg-lib=${pg-dir}/lib
--with-pg-config
--without-pg-config
--with-pg_config
--without-pg_config
/opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:381: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/1.9.1/mkmf.rb:506:in `try_cpp'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:970:in `block in find_header'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
from /opt/metasploit/ruby/lib/ruby/1.9.1/mkmf.rb:969:in `find_header'
from extconf.rb:43:in `<main>'
Gem files will remain installed in /opt/metasploit/ruby/lib/ruby/gems/1.9.1/gems/pg-0.15.0 for inspection.
Results logged to /opt/metasploit/ruby/lib/ruby/gems/1.9.1/gems/pg-0.15.0/ext/gem_make.out
An error occured while installing pg (0.15.0), and Bundler cannot continue.
Make sure that `gem install pg -v '0.15.0'` succeeds before bundling.
AND WHEN I TRY TO START IT WITH MSFCONSOLE IT GIVES ME THIS ERROR:root@bt:~# msfconsole
Could not find pg-0.15.0 in any of the sources
Run `bundle install` to install missing gems.
please any assistance will be appreciated, thank you!