Unable to connect Beef
Closed this issue · 2 comments
Browser Exploitation Framework (BeEF) 0.5.4.0
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux-gnu]
firefox 128.3.0esr
Parrot OS 8.2 (lorikeet)
Kernel Linux 6.9.7-amd64 x86_64
Configuration
- Have you made any changes to your BeEF configuration? No
- Have you enabled or disabled any BeEF extensions? No
Steps to Reproduce
install it from offical parrot os repository
then run beef-xss start
then I get an error as follows:
[23:17:24][] Browser Exploitation Framework (BeEF) 0.5.4.0
[23:17:24] | Twit: @beefproject
[23:17:24] | Site: https://beefproject.com
[23:17:24] | Blog: http://blog.beefproject.com
[23:17:24] |_ Wiki: https://github.com/beefproject/beef/wiki
[23:17:24][] Project Creator: Wade Alcorn (@wadealcorn)
-- migration_context(nil)
/var/lib/gems/3.1.0/gems/activerecord-7.2.1/lib/active_record/migration.rb:1058:in block in method_missing': undefined method
migration_context' for #<ActiveRecord::Migration:0x00007f468e838250 @name="ActiveRecord::Migration", @Version=nil, @connection=nil, @pool=nil, @execution_strategy=#<ActiveRecord::Migration::DefaultStrategy:0x00007f468e807970 @migration=#<ActiveRecord::Migration:0x00007f468e838250 ...>>> (NoMethodError)
from /var/lib/gems/3.1.0/gems/activerecord-7.2.1/lib/active_record/migration.rb:1025:in block in say_with_time' from /usr/lib/ruby/3.1.0/benchmark.rb:296:in
measure'
from /var/lib/gems/3.1.0/gems/activerecord-7.2.1/lib/active_record/migration.rb:1025:in say_with_time' from /var/lib/gems/3.1.0/gems/activerecord-7.2.1/lib/active_record/migration.rb:1048:in
method_missing'
from ./beef:206:in `
| _ \ __ _ _ __ _ __ ___ | |/ | ___ ___
| |) / _` | '| '__/ _ | _ \ / _ / __|
| __/ (| | | | | | () | | ) | / (
|| _,|| || _/ _|___/ _|___|
Executing beef-xss start
[sudo] password for drevello:
[i] GeoIP database is missing
[i] Run geoipupdate to download / update Maxmind GeoIP database
[] Please wait for the BeEF service to start.
[]
[] You might need to refresh your browser once it opens.
[]
[] Web UI: http://127.0.0.1:3000/ui/panel
[] Hook: <script src="http://:3000/hook.js"></script>
[*] Example: <script src="http://127.0.0.1:3000/hook.js"></script>
× beef-xss.service - beef-xss
Loaded: loaded (/lib/systemd/system/beef-xss.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Fri 2024-10-04 23:36:35 IST; 2s ago
Duration: 2.677s
Process: 10149 ExecStart=/usr/share/beef-xss/beef (code=exited, status=1/FAILURE)
Main PID: 10149 (code=exited, status=1/FAILURE)
CPU: 2.669s
Oct 04 23:36:35 parrot beef[10149]: [23:36:35][] Browser Exploitation Fram….4.0
Oct 04 23:36:35 parrot beef[10149]: [23:36:35] | Twit: @beefproject
Oct 04 23:36:35 parrot beef[10149]: [23:36:35] | Site: https://beefpro….com
Oct 04 23:36:35 parrot beef[10149]: [23:36:35] | Blog: http://blog.bee….com
Oct 04 23:36:35 parrot beef[10149]: [23:36:35] |_ Wiki: https://github.…wiki
Oct 04 23:36:35 parrot beef[10149]: [23:36:35][] Project Creator: Wade Alc…orn)
Oct 04 23:36:35 parrot beef[10149]: -- migration_context(nil)
Oct 04 23:36:35 parrot systemd[1]: beef-xss.service: Main process exited, c…LURE
Oct 04 23:36:35 parrot systemd[1]: beef-xss.service: Failed with result 'ex…de'.
Oct 04 23:36:35 parrot systemd[1]: beef-xss.service: Consumed 2.669s CPU time.
Hint: Some lines were ellipsized, use -l to show in full.
[*] Opening Web UI (http://127.0.0.1:3000/ui/panel) in: 5... 4... 3... 2... 1...
Please join the BeEF discord to discuss this issue. Someone there might be able to help https://discord.gg/ugmKmHarKc