Autor Tema: Metasploit-framework en debian jessie me falla.. (SOLUCIONADO)  (Leído 26366 veces)

Desconectado Pengüin

  • Member
  • ***
  • Mensajes: 242
  • www.daboweb.com
Metasploit-framework en debian jessie me falla.. (SOLUCIONADO)
« en: 09 de Febrero de 2016, 10:03:14 pm »
Me he servido de :  :ciego:
Código: [Seleccionar]
sudo su 

apt-get install build-essential zlib1g zlib1g-dev libxml2 libxml2-dev libxslt-dev locate libreadline6-dev libcurl4-openssl-dev git-core libssl-dev libyaml-dev openssl autoconf libtool ncurses-dev bison curl wget postgresql postgresql-contrib libpq-dev libapr1 libaprutil1 libsvn1 libpcap-dev 

apt-get install git-core postgresql curl ruby1.9.3 nmap gem 
gem install wirble sqlite3 bundler 

cd /opt 
git clone https://github.com/rapid7/metasploit-framework.git 

cd metasploit-framework 
bundle install 

./msfconsole


Y esto es lo que me ha sucedido :  :oh:

Código: [Seleccionar]
An error occurred while installing ffi (1.9.8), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.8'` succeeds before bundling.

La instalación ¿tengo que lanzarla como superusuario? y como puedo arreglarlo . :cry:

Código: [Seleccionar]
Using metasploit-framework 4.11.8 from source at `.`
Bundle complete! 13 Gemfile dependencies, 85 gems now installed.
Bundled gems are installed into ./vendor/bundle.
:cry: :cry: :cry: :cry: :cry:
Pen

Desconectado Pengüin

  • Member
  • ***
  • Mensajes: 242
  • www.daboweb.com
Re:Metasploit-framework en debian jessie me falla..
« Respuesta #1 en: 10 de Febrero de 2016, 05:55:12 pm »
Hola fvillalba con : sudo gem install wirble sqlite3 bundler
me arroja esto :
Código: [Seleccionar]
Fetching: sqlite3-1.3.11.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.2 -r ./siteconf20160210-3558-7ek39j.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.2.0/gems/sqlite3-1.3.11 for inspection.
Results logged to /var/lib/gems/2.2.0/extensions/x86_64-linux/2.2.0/sqlite3-1.3.11/gem_make.out

:cry: :cry:
Pen

Desconectado Pengüin

  • Member
  • ***
  • Mensajes: 242
  • www.daboweb.com
Re:Metasploit-framework en debian jessie me falla..
« Respuesta #2 en: 14 de Febrero de 2016, 01:29:08 pm »
De aquí no paso :
Código: [Seleccionar]
An error occurred while installing ffi (1.9.8), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.8'` succeeds before bundling.
:cry: :cry: :cry: :cry: :cry:

Código: [Seleccionar]
gem install ffi -v '1.9.8'
Building native extensions.  This could take a while...
ERROR:  Error installing ffi:
ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.8 extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... no
checking for rb_thread_call_without_gvl()... no
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile

make
Configuring libffi
configure: error: in `/var/lib/gems/1.8/gems/ffi-1.9.8/ext/ffi_c/libffi-x86_64-linux':
configure: error: C compiler cannot create executables
See `config.log' for more details
libffi.mk:6: recipe for target '"/var/lib/gems/1.8/gems/ffi-1.9.8/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a' failed
make: *** ["/var/lib/gems/1.8/gems/ffi-1.9.8/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Error 77


Gem files will remain installed in /var/lib/gems/1.8/gems/ffi-1.9.8 for inspection.
Results logged to /var/lib/gems/1.8/gems/ffi-1.9.8/ext/ffi_c/gem_make.out
:cry: :cry: :cry: :cry: :cry:
Pen

Desconectado Pengüin

  • Member
  • ***
  • Mensajes: 242
  • www.daboweb.com
Re:Metasploit-framework en debian jessie me falla..
« Respuesta #3 en: 15 de Febrero de 2016, 07:16:21 pm »
Ahora me arroja esto :  :ciego:
Código: [Seleccionar]
gem install ffi
Fetching: ffi-1.9.10.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing ffi:
ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.8 extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... no
checking for rb_thread_call_without_gvl()... no
checking for ffi_prep_cif_var()... no
creating extconf.h
creating Makefile

make
Configuring libffi
configure: error: in `/var/lib/gems/1.8/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux':
configure: error: C compiler cannot create executables
See `config.log' for more details
libffi.mk:6: recipe for target '"/var/lib/gems/1.8/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a' failed
make: *** ["/var/lib/gems/1.8/gems/ffi-1.9.10/ext/ffi_c/libffi-x86_64-linux"/.libs/libffi_convenience.a] Error 77


Gem files will remain installed in /var/lib/gems/1.8/gems/ffi-1.9.10 for inspection.
Results logged to /var/lib/gems/1.8/gems/ffi-1.9.10/ext/ffi_c/gem_make.out
:cry: :cry: :cry: :cry: :cry:
Pen

Desconectado Pengüin

  • Member
  • ***
  • Mensajes: 242
  • www.daboweb.com
Re:Metasploit-framework en debian jessie me falla..
« Respuesta #4 en: 22 de Febrero de 2016, 07:16:45 pm »
Pengüin sigues algún tuto? Lo puedes poner aquí y este finde pruebo con una VM Debian en VirtualBox. Últimamente ando un poco liado. El grado medio, que no me deja vivir. Voy hasta el gorro con tanto Excel y subnetting IPv4 y IPv6 jeje.
Los de arriba siguo..Pero que no hay manera.. :cry:
Pen

Desconectado Pengüin

  • Member
  • ***
  • Mensajes: 242
  • www.daboweb.com
Re:Metasploit-framework en debian jessie me falla..
« Respuesta #5 en: 23 de Febrero de 2016, 09:48:21 am »
fvillalba gracias!! eres un crack!! ahora funciona la instalación doy el tema como resuelto. :cool:
Ahora falta que me pueda enseñar a utilizarlo que en eso estoy muy verde mil gracias un beso.. :destroyer:
Pen

 

Aviso Legal | Política de Privacidad | Política de Cookies

el contenido de la web se rige bajo licencia
Creative Commons License