beefproject/beef

Error while starting it with ./beef

Closed this issue · 8 comments

1a7cd889-ffb8-4095-ab49-7193284531a4

First Steps

  1. Confirm that your issue has not been posted previously by searching here: https://github.com/beefproject/beef/issues
  2. Confirm that the wiki does not contain the answers you seek: https://github.com/beefproject/beef/wiki
  3. Check the FAQ: https://github.com/beefproject/beef/wiki/FAQ
  4. BeEF Version:
  5. Ruby Version:
  6. Browser Details (e.g. Chrome v81.0):
  7. Operating System (e.g. OSX Catalina):

Configuration

  1. Have you made any changes to your BeEF configuration? Yes/No
  2. Have you enabled or disabled any BeEF extensions? Yes/No

Steps to Reproduce

  1. (eg. I ran install script, which ran fine)
  2. (eg. when launching console with './beef' I get an error as follows: )
  3. (eg. beef does not launch)

How to enable and capture detailed logging

  1. Edit config.yaml in the root directory
    • If using Kali beef-xss the root dir will be /usr/share/beef-xss
  2. Update client_debug to true
  3. Retrieve browser logs from your browser's developer console (Ctrl + Shift + I or F12 depending on browser)
  4. Retrieve your server-side logs from ~/.beef/beef.log
    • If using beef-xss logs found with journalctl -u beef-xss

If we request additional information and we don't hear back from you within a week, we will be closing the ticket off.

I'm facing the same issue

I wasn't able to reproduce this issue with a clean clone.

If you don't care about the information you have in the database, you could try resetting the database with ./beef -x. Alternatively, please complete the issue template (ruby version, how you installed BeEF, etc).

jeez, im having same issue.. It says: migration_context, blabla.. ive tried to downgrade/upgrade bundle activerecord to older version, still not working. also i checked ruby version and activerecord version, it all seems to be fine. Im thinking about getting an older BeEF version cloned, to see if the problem occurs.

yeah, same thing happening to me
again, fresh clone and everything
ruby: 3.3.4

i have the same problem in kali linux
Uploading Screenshot_2024-10-10_15-31-31.png…

@stephenakq, this PR has the fix, waiting for it to be merged: #3162

It is working with a clean install

Please join the BeEF discord to discuss this issue https://discord.gg/ugmKmHarKc