-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System has not been booted with systemd as init system (PID 1). Can't operate. #2486
Comments
Presumably you are using WSL which does not use Systemd as an init system. If so, you cannot use the You can try running BeEFF manually.
The 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: 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 |
Thank you, i will try it soon
…Sent from my iPhone
On 3 Jul 2022, at 2:20 pm, bcoles ***@***.***> wrote:
Presumably you are using WSL which does not use Systemd as an init system. If so, you cannot use the beef-xss wrapper because it uses systemd.
You can try running BeEFF manually.
cd /usr/share/beef-xss/
./beef
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
I tried the cd /usr/share/beef-xss/ |
The
On my system it is installed in |
This issue as been marked as stale due to inactivity and will be closed in 7 days |
This issue as been marked as stale due to inactivity and will be closed in 7 days |
Hi! I do have the same issue! [i] GeoIP database is missing System has not been booted with systemd as init system (PID 1). Can't operate. [*] Opening Web UI (http://127.0.0.1:3000/ui/panel) in: 5... 4... 3... 2... 1... opens browser and it says unable to connect. tried in Edge and chrome and nothing ./beef 3: from /usr/share/beef-xss/core/main/configuration.rb:200:in get' 2: from /usr/share/beef-xss/core/main/configuration.rb:200:in inject'1: from /usr/share/beef-xss/core/main/configuration.rb:200:in each' /usr/share/beef-xss/core/main/configuration.rb:201:in block in get': undefined method `[]' for nil:NilClass (NoMethodError)
|
Looks like it is trying to load the configuration file from the same location as the executable. The lazy option is to copy the config file to that directory. Although I wouldn't recommend it. It may be easier to simply clone from GitHub and install. |
ok! so I tried doing : Somehow it did not let me do cmake.. . it even asked me to download it no even knowing why because I used it for ettercap. This is the output: cmake.. ┌──(andre㉿Archilla-PC)-[~/beef/build] ┌──(andre㉿Archilla-PC)-[~/beef/build] ┌──(andre㉿Archilla-PC)-[~/beef/build] ┌──(andre㉿Archilla-PC)-[~/beef] it worked fine when I used it on ettercap, but no idea now. Should I try cmake in a different file such as install? |
|
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20220810-15045-vz6rpq.rb extconf.rb Provided configuration options: To see why this extension failed to compile, please check the mkmf.log which can be found here: /tmp/bundler20220810-15045-rmuv7lsqlite3-1.4.4/extensions/x86_64-linux/3.0.0/sqlite3-1.4.4/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /tmp/bundler20220810-15045-rmuv7lsqlite3-1.4.4/gems/sqlite3-1.4.4 for /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in An error occurred while installing sqlite3 (1.4.4), and Bundler cannot continue. In Gemfile: Bundler::GemNotFound: Could not find xmlrpc-0.3.2.gem for installation An error occurred while installing xmlrpc (0.3.2), and Bundler cannot continue. In Gemfile: Im sorry for this mess |
You'll need to install some operating system packages. Likely these:
And these:
|
This issue is about systemd error on WSL. #2486 (comment) Closing. |
First Steps
Configuration
Steps to Reproduce
[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>
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...
Please can i have some suggestions as how to fix this, Thanks
The text was updated successfully, but these errors were encountered: