block (2 levels) in require' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:86:in
each'
from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:86:in block in require' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:75:in
each'
from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:75:in require' from /usr/lib/ruby/vendor_ruby/bundler.rb:106:in
require'
from /usr/share/beef-xss/core/loader.rb:10:in <top (required)>' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from ./beef:25:in
hello all Freind @bcoles
ruby -v
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]
cd /beef-xss && rm -r .ruby-version
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. Using public_suffix 2.0.5 Using ansi 1.5.0 Using chunky_png 1.3.8 Using daemons 1.2.4 Using json 1.8.6 Using json_pure 1.8.6 Using multi_json 1.12.1 Using eventmachine 1.0.9.1 Using http_parser.rb 0.6.0 Using erubis 2.7.0 Using espeak-ruby 1.0.4 Using execjs 2.7.0 Using fastercsv 1.5.5 Using filesize 0.1.1 Using geoip 1.6.3 Using rkelly-remix 0.0.7 Using libv8 3.16.14.19 (x86_64-linux) Using metasm 1.0.3 Using mime-types-data 3.2016.0521 Using mini_portile2 2.1.0 Using mojo_magick 0.5.6 Using msgpack 1.1.0 Using rb-readline-r7 0.5.2.0 Using robots 0.10.1 Using parseconfig 1.0.8 Using rack 1.6.5 Using rainbow 2.2.1 Using ref 2.0.0 Using rubyzip 1.2.1 Using tilt 2.0.7 Using tins 1.13.2 Using bundler 1.14.6 Using addressable 2.5.1 Using rqrcode 0.10.1 Using em-websocket 0.5.1 Using uglifier 3.2.0 Using jsobfu 0.4.2 Using mime-types 3.1 Using nokogiri 1.7.1 Using rack-protection 1.5.3 Using thin 1.7.0 Using rexec 1.6.3 Using therubyracer 0.12.3 Using term-ansicolor 1.5.0 Using data_objects 0.10.17 Using dm-core 1.2.1 Using qr4r 0.4.1 Using rex 2.0.10 Using sinatra 1.4.8 Using rubydns 0.7.3 Using do_sqlite3 0.10.17 Using dm-do-adapter 1.2.0 Using dm-migrations 1.2.0 Using dm-serializer 1.2.2 Using msfrpc-client 1.1.0 Using dm-sqlite-adapter 1.2.0 Bundle complete! 26 Gemfile dependencies, 56 gems now installed. Use
bundle show [gemname]
to see where a bundled gem is installed../beef
/usr/lib/ruby/vendor_ruby/bundler/runtime.rb:94:in'
/var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:4:in '
Bundler Error Backtrace:
from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:90:in '
rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError) Gem Load Error is: wrong argument type Class (expected Module) Backtrace for gem load error is: /usr/lib/ruby/vendor_ruby/v8/conversion.rb:23:in
include' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:23:inblock (2 levels) in <top (required)>' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:22:in
class_eval' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:22:inblock in <top (required)>' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:21:in
each' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:21:in<top (required)>' /var/lib/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8.rb:22:in
require' /var/lib/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8.rb:22:in<top (required)>' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:108:in
require' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:108:inavailable?' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in
each' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:infind' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in
best_available' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57:inautodetect' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:5:in
<top (required)>' /var/lib/gems/2.3.0/gems/uglifier-3.2.0/lib/uglifier.rb:5:in
require' /var/lib/gems/2.3.0/gems/uglifier-3.2.0/lib/uglifier.rb:5:in<top (required)>' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:91:in
require' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:91:inblock (2 levels) in require' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:86:in
each' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:86:inblock in require' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:75:in
each' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:75:inrequire' /usr/lib/ruby/vendor_ruby/bundler.rb:106:in
require' /usr/share/beef-xss/core/loader.rb:10:in<top (required)>' /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' ./beef:25:in
block (2 levels) in require' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:86:in
each' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:86:inblock in require' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:75:in
each' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:75:inrequire' from /usr/lib/ruby/vendor_ruby/bundler.rb:106:in
require' from /usr/share/beef-xss/core/loader.rb:10:in<top (required)>' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from ./beef:25:in
nodejs is installed
node --version
v6.10.3i think the problem is related to enabling therubyrace gems on this version !!!!
any help ??
My script to install beef on kali from this repository work perfect just Before this version.
my script from here stop now on ./beef with all error listed and Quoted above. the script run beef-github on kali linux in the same way as the beef kali package .and you can jsut run
./beef-upadte
to be up to date with the new features of beef-github. now trying to run ./beef-update i've error on ./beef