1
Python / Re:Mad Lib
« en: Noviembre 11, 2016, 10:20:15 pm »
Solucionado. Gracias
Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.
root@kali:~# msfconsole
Could not find pg-0.18.4 in any of the sources
Run `bundle install` to install missing gems.
root@kali:~# cd /usr/share/metasploit-framework
root@kali:/usr/share/metasploit-framework# 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.
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Using rake 11.1.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.6
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using nokogiri 1.6.7.2
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.3
Using actionview 4.2.6
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.6
Using activemodel 4.2.6
Using arel 6.0.3
Using activerecord 4.2.6
Using addressable 2.4.0
Using arel-helpers 2.3.0
Using bcrypt 3.1.11
Using docile 1.1.5
Using multipart-post 2.0.0
Using faraday 0.9.2
Using filesize 0.1.1
Using rkelly-remix 0.0.6
Using jsobfu 0.4.1
Using metasm 1.0.2
Using thor 0.19.1
Using railties 4.2.6
Using metasploit-concern 2.0.1
Using metasploit-model 2.0.0
Installing pg 0.18.4 with native extensions
Using pg_array_parser 0.0.9
Installing postgres_ext 3.0.0
Installing recog 2.0.21
Installing metasploit_data_models 2.0.0
Using rubyntlm 0.6.0
Using rubyzip 1.2.0
Installing metasploit-credential 2.0.2
Using metasploit-payloads 1.1.11
Using msgpack 0.7.6
Using network_interface 0.0.1
Installing sawyer 0.7.0
Installing octokit 4.3.0
Using openssl-ccm 1.2.1
Installing pcaprub 0.12.4 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby2.2 -r ./siteconf20160625-7401-1u0976o.rb extconf.rb
[*] Running checks for pcaprub_c code...
platform is i386-linux-gnu
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for pcap_open_live() in -lpcap... no
checking for pcap_setnonblock() in -lpcap... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling pcaprub.c
pcaprub.c:11:18: fatal error: pcap.h: No existe el fichero o el directorio
compilation terminated.
Makefile:238: recipe for target 'pcaprub.o' failed
make: *** [pcaprub.o] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/share/metasploit-framework/vendor/bundle/ruby/2.2.0/gems/pcaprub-0.12.4 for inspection.
Results logged to /usr/share/metasploit-framework/vendor/bundle/ruby/2.2.0/extensions/x86-linux/2.2.0/pcaprub-0.12.4/gem_make.out
An error occurred while installing pcaprub (0.12.4), and Bundler cannot
continue.
Make sure that `gem install pcaprub -v '0.12.4'` succeeds before bundling.
root@kali:/usr/share/metasploit-framework# gem install pgBuilding native extensions. This could take a while...
Successfully installed pg-0.18.4
Parsing documentation for pg-0.18.4
Done installing documentation for pg after 2 seconds
1 gem installed
root@kali:/usr/share/metasploit-framework# gem install pcaprub -v '0.12.4'
Fetching: pcaprub-0.12.4.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing pcaprub:
ERROR: Failed to build gem native extension.
/usr/bin/ruby2.2 -r ./siteconf20160625-8095-1h9gad1.rb extconf.rb
[*] Running checks for pcaprub_c code...
platform is i386-linux-gnu
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for pcap_open_live() in -lpcap... no
checking for pcap_setnonblock() in -lpcap... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling pcaprub.c
pcaprub.c:11:18: fatal error: pcap.h: No existe el fichero o el directorio
compilation terminated.
Makefile:238: recipe for target 'pcaprub.o' failed
make: *** [pcaprub.o] Error 1
make failed, exit code 2
Gem files will remain installed in /var/lib/gems/2.2.0/gems/pcaprub-0.12.4 for inspection.
Results logged to /var/lib/gems/2.2.0/extensions/x86-linux/2.2.0/pcaprub-0.12.4/gem_make.out