beefproject / beef

The Browser Exploitation Framework Project
https://beefproject.com
9.83k stars 2.18k forks source link

my link hook dont work #2533

Closed egasik closed 2 years ago

egasik commented 2 years ago

image

bcoles commented 2 years ago

It looks like you're using ngrok. Have you followed the instructions in the wiki?

https://github.com/beefproject/beef/wiki/FAQ#how-do-i-configure-beef-with-ngrok

Be sure to refresh the hooked page after restarting BeEF.

egasik commented 2 years ago

Hi, i made it correctly, but doesnt work(

egasik commented 2 years ago

could it be due to the use of a virtual machine?

bcoles commented 2 years ago

Hi, i made it correctly, but doesnt work(

Where did you get stuck during trouble shooting? What errors do you get in the browser console, if any? What errors do you get in the terminal where you started beef, if any? Can you successfully hook a browsers locally without ngrok?

egasik commented 2 years ago

I dont have errors on browser or terminal, how i can hook a browser locally? I can try it

bcoles commented 2 years ago

I dont have errors on browser or terminal, how i can hook a browser locally? I can try it

Remove the public host and port settings from the config file. Access the demo page via a LAN interface or the loopback interface.

egasik commented 2 years ago

ok, i try it now

egasik commented 2 years ago

can you view my file? I think I didn't set it up...



beef: version: 0.5.4.0-pre debug: false client_debug: false crypto_default_value_length: 80 credentials: user: kali passwd: kali restrictions: permitted_hooking_subnet:

egasik commented 2 years ago

and i find some errors - E, [2022-08-08T14:18:50.413901 #2174] ERROR -- BeEF: [AdminUI] Error: Could not minify JavaScript file: web_ui_auth E, [2022-08-08T14:18:50.480892 #2174] ERROR -- BeEF: [GeoIP] Could not find MaxMind GeoIP database: '/var/lib/GeoIP/GeoLite2-City.mmdb' E, [2022-08-08T14:43:10.353067 #2174] ERROR -- BeEF: [Browser Details] Invalid browser plugins returned from the hook browser's initial connection.

bcoles commented 2 years ago

can you view my file? I think I didn't set it up...

The public host and public port aren't configured if that's what you're asking.

egasik commented 2 years ago

this is bad?

bcoles commented 2 years ago

this is bad?

BeEF is not working for you. You will need to perform troubleshooting. Revert all your changes back to the default. Makse sure BeEF works. Then change one thing at a time and test that each change works.

egasik commented 2 years ago

ok, thanks i will do it

egasik commented 2 years ago

Now i have it problem - An error occurred while installing xmlrpc (0.3.2), and Bundler cannot continue.

In Gemfile: xmlrpc

bcoles commented 2 years ago

Now i have it problem - An error occurred while installing xmlrpc (0.3.2), and Bundler cannot continue.

In Gemfile: xmlrpc

Does beef run?

./beef
egasik commented 2 years ago

no. Type it Could not find em-websocket-0.5.3, uglifier-4.2.0, otr-activerecord-2.1.1, http-cookie-1.0.5 in any of the sources
Run bundle install to install missing gems.

bcoles commented 2 years ago

Please paste the full output of bundle install

egasik commented 2 years ago

┌──(kali㉿kali)-[~/beef] └─$ bundle install Fetching gem metadata from https://rubygems.org/...... Using rake 13.0.6 Following files may not be writable, so sudo is needed: /usr/local/bin /var/lib/gems/3.0.0 /var/lib/gems/3.0.0/build_info /var/lib/gems/3.0.0/cache /var/lib/gems/3.0.0/doc /var/lib/gems/3.0.0/extensions /var/lib/gems/3.0.0/gems /var/lib/gems/3.0.0/plugins /var/lib/gems/3.0.0/specifications Using concurrent-ruby 1.1.10 Using public_suffix 4.0.7 Using fiber-local 1.0.0 Using ast 2.4.2 Using nio4r 2.5.8 Using timers 4.3.3 Installing buftok 0.2.0 Installing ansi 1.5.0 Using bundler 2.3.14 Using daemons 1.4.1 Using minitest 5.16.2 Using unf_ext 0.0.8.2 Using eventmachine 1.2.7 Installing http_parser.rb 0.6.0 Using digest 3.1.0 Installing equalizer 0.0.11 Installing erubis 2.7.0 Using espeak-ruby 1.0.5 Using ffi 1.15.5 Using http-accept 1.7.0 Using json 2.6.2 Using http-form_data 2.3.0 Installing maxmind-db 1.1.1 Installing execjs 2.8.1 Using hashie 5.0.0 Installing thread_safe 0.3.6 Using mime-types-data 3.2022.0105 Using mojo_magick 0.6.7 Using multipart-post 2.2.3 Using ruby2_keywords 0.0.5 Installing naught 1.1.0 Installing netrc 0.11.0 Using parallel 1.22.1 Using parseconfig 1.1.2 Using rqrcode_core 0.2.0 Using rack 2.2.4 Using rainbow 3.1.1 Using timeout 0.3.0 Using ruby-progressbar 1.11.0 Using unicode-display_width 2.2.0 Using rubyzip 2.3.2 Installing simple_oauth 0.3.1 Using tilt 2.0.11 Using slack-notifier 2.4.0 Using sqlite3 1.4.4 Using sync 0.5.0 Using webrick 1.7.0 Using i18n 1.12.0 Using tzinfo 2.0.5 Using addressable 2.8.0 Using console 1.15.3 Installing unf 0.1.4 Using parser 3.1.2.0 Using ffi-compiler 1.0.1 Installing hashie-forbidden_attributes 0.1.1 Using mime-types 3.4.1 Using mustermann 2.0.2 Using qr4r 0.6.1 Using rack-protection 2.2.2 Using thin 1.8.1 Using rexml 3.2.5 Using activesupport 7.0.3.1 Using http-parser 1.2.3 Using net-protocol 0.1.3 Using rubocop-ast 1.19.1 Using sinatra 2.2.2 Using tins 1.31.1 Installing xmlrpc 0.3.2 Using regexp_parser 2.5.0 Using async 1.30.3 Using net-smtp 0.3.1 Using term-ansicolor 1.7.1 Using msgpack 1.5.4 Using activemodel 7.0.3.1 Using async-io 1.33.0 Using msfrpc-client 1.1.2 Using rubocop 1.33.0 Using async-dns 1.3.0 Using activerecord 7.0.3.1 Bundler::GemNotFound: Could not find ansi-1.5.0.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in
install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing ansi (1.5.0), and Bundler cannot continue.

In Gemfile: ansi

Bundler::GemNotFound: Could not find buftok-0.2.0.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing buftok (0.2.0), and Bundler cannot continue.

In Gemfile: twitter was resolved to 7.0.0, which depends on buftok

Bundler::GemNotFound: Could not find unf-0.1.4.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing unf (0.1.4), and Bundler cannot continue.

In Gemfile: twitter was resolved to 7.0.0, which depends on http was resolved to 4.4.1, which depends on http-cookie was resolved to 1.0.5, which depends on domain_name was resolved to 0.5.20190701, which depends on unf

Bundler::GemNotFound: Could not find http_parser.rb-0.6.0.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing http_parser.rb (0.6.0), and Bundler cannot continue.

In Gemfile: em-websocket was resolved to 0.5.3, which depends on http_parser.rb

Bundler::GemNotFound: Could not find equalizer-0.0.11.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing equalizer (0.0.11), and Bundler cannot continue.

In Gemfile: twitter was resolved to 7.0.0, which depends on equalizer

Bundler::GemNotFound: Could not find erubis-2.7.0.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing erubis (2.7.0), and Bundler cannot continue.

In Gemfile: erubis

Bundler::GemNotFound: Could not find execjs-2.8.1.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing execjs (2.8.1), and Bundler cannot continue.

In Gemfile: uglifier was resolved to 4.2.0, which depends on execjs

Bundler::GemNotFound: Could not find hashie-forbidden_attributes-0.1.1.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing hashie-forbidden_attributes (0.1.1), and Bundler cannot continue.

In Gemfile: otr-activerecord was resolved to 2.1.1, which depends on hashie-forbidden_attributes

Bundler::GemNotFound: Could not find maxmind-db-1.1.1.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing maxmind-db (1.1.1), and Bundler cannot continue.

In Gemfile: maxmind-db

Bundler::GemNotFound: Could not find thread_safe-0.3.6.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing thread_safe (0.3.6), and Bundler cannot continue.

In Gemfile: twitter was resolved to 7.0.0, which depends on memoizable was resolved to 0.4.2, which depends on thread_safe

Bundler::GemNotFound: Could not find naught-1.1.0.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing naught (1.1.0), and Bundler cannot continue.

In Gemfile: twitter was resolved to 7.0.0, which depends on naught

Bundler::GemNotFound: Could not find netrc-0.11.0.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing netrc (0.11.0), and Bundler cannot continue.

In Gemfile: rushover was resolved to 0.3.0, which depends on rest-client was resolved to 2.1.0, which depends on netrc

Bundler::GemNotFound: Could not find simple_oauth-0.3.1.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing simple_oauth (0.3.1), and Bundler cannot continue.

In Gemfile: twitter was resolved to 7.0.0, which depends on simple_oauth

Bundler::GemNotFound: Could not find xmlrpc-0.3.2.gem for installation /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/source/rubygems.rb:181:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:54:in install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/gem_installer.rb:16:in install_from_spec' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:186:in do_install' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/installer/parallel_installer.rb:177:in block in worker_pool' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:62:inapply_func' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:57:in block in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:inloop' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:54:in process_queue' /var/lib/gems/3.0.0/gems/bundler-2.3.14/lib/bundler/worker.rb:91:inblock (2 levels) in create_threads'

An error occurred while installing xmlrpc (0.3.2), and Bundler cannot continue.

In Gemfile: xmlrpc

┌──(kali㉿kali)-[~/beef] └─$

bcoles commented 2 years ago

Welp. You're going to need to install the dependencies to get BeEF working.

egasik commented 2 years ago

i make it, but i have this is problem

bcoles commented 2 years ago

You can try installing each of the missing gems manually. Removing Gemfile.lock may also help.

egasik commented 2 years ago

there i can find Gemfile.lock?

bcoles commented 2 years ago

Hello, now i have this is error [ 4:26:53][*] BeEF server started (press control+c to stop) [ 4:26:53][!] Another process is already listening on port 3000, or you're trying to bind BeEF to an invalid IP. [ 4:26:53][!] Is BeEF already running? Exiting...

Something is already listening on port 3000. You can check what is running on port 3000 with lsof -i :3000.