Closed ottyx closed 2 years ago
GeoIP database will need to be manually installed, follow https://github.com/beefproject/beef/wiki/Geolocation
It's unclear, did beef launch or no?
i l try today ---------- Původní e-mail ---------- Od: Isaac Powell @.> Komu: beefproject/beef @.> Datum: 17. 2. 2022 23:53:22 Předmět: Re: [beefproject/beef] Beef on kali - Unable to connect when starting beef (Issue #2301) "
GeoIP database will need to be manually installed, follow https://github. com/beefproject/beef/wiki/Geolocation (https://github.com/beefproject/beef/wiki/Geolocation)
It's unclear, did beef launch or no?
— Reply to this email directly, view it on GitHub (https://github.com/beefproject/beef/issues/2301#issuecomment-1043573672), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AX2JSJFPJQWFKFPTKIPQ733U3V35XANCNFSM5OVW6WCA) . Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub) . You are receiving this because you authored the thread. Message ID: < @.***> "
I am getting the same error as ottyx.
[*] 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://<IP>:3000/hook.js"></script>
[*] Example: <script src="http://127.0.0.1:3000/hook.js"></script>
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
[*] Opening Web UI (http://127.0.0.1:3000/ui/panel) in: 5... 4... 3... 2... 1...
Beef is not starting, it just stops after the it gets to "0" in the count down.
I am running kali on WSL, i dont know if that has any thing to do with it. I reinstalled kali, to see if that fixed anything, but still the same.
@NassiC @ottyx could you try running that command as sudo
sudo beef-xss
@NassiC WSL should work with the kali base box, when I'm next at my computer I'll double check and let you know
@NassiC @ottyx could you try running that command as sudo
sudo beef-xss
I've run it with sudo everytime. Tried with root user aswell, same thing.
@NassiC are you win10 or win11, just going to start up an image to test.
@wheatley i am running win10.
Experiencing the same issue . Im running Kali Nethunter Rootless in Termux for Android. 8. aarch64 Thought it might be giving me issues connected through VNC but Im getting the same result using Termux CLI .
"System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down" System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down"
Finishes the countdown and No Web GUI.
Looked up the error and Im seeing alot of people posting about WSL issues, understandable considering its a half assed alternative to virtualization.
Im not seeing entries for beef-xss in either /etc/init.d or /etc/systemd either.
The beef-xss
executable is part of the beef-xss
package for your operating system.
It doesn't do anything particularly complicated. Simply checks if you're using the default password (which must be changed to start BeEF), checks if the geoip database is installed (geoip is optional), starts BeEF, and opens a web browser.
The systemd service (default: /lib/systemd/system/beef-xss.service
) is simple. All it does is run /usr/share/beef-xss/beef
.
You can open a browser yourself. BeEF prints the appropriate URLs to the terminal when started. It also runs on the loopback interface by default, so you can simply browse to http://127.0.0.1:3000/ui/panel
.
closing due to inactivity. Reopen if necessary
same problem it launch but i can't use the hook ┌──(hexu0a377㉿kali)-[~] └─$ sudo beef-xss -l [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: [*] Example:
● beef-xss.service - beef-xss Loaded: loaded (/lib/systemd/system/beef-xss.service; disabled; preset: disabled) Active: active (running) since Sun 2023-08-06 21:25:26 CET; 5s ago Main PID: 39814 (ruby) Tasks: 2 (limit: 4459) Memory: 50.0M CPU: 2.675s CGroup: /system.slice/beef-xss.service └─39814 ruby /usr/share/beef-xss/beef
Aug 06 21:25:26 kali systemd[1]: Started beef-xss.service - beef-xss.
[*] Opening Web UI (http://127.0.0.1:3000/ui/panel) in: 5... 4... 3... 2... 1...
Hi, when im starting beef on kali, something went wrong and give me this text, can someone help me please
beef-xss
[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: [*] Example:
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
[*] Opening Web UI (http://127.0.0.1:3000/ui/panel) in: 5... 4... 3... 2... 1