View Issue Details

IDProjectCategoryView StatusLast Update
0003230Kali LinuxGeneral Bugpublic2025-07-14 09:38
Reporter3n1gma Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version2016.1 
Summary0003230: Beef-Xss
Description

Beef-Xss will not start. I keep getting the following error:

./beef
[17:58:32][] Bind socket [imapeudora1] listening on [0.0.0.0:2000].
[17:58:32][
] Browser Exploitation Framework (BeEF) 0.4.6.1-alpha
[17:58:32] | Twit: @beefproject
[17:58:32] | Site: http://beefproject.com
[17:58:32] | Blog: http://blog.beefproject.com
[17:58:32] |_ Wiki: https://github.com/beefproject/beef/wiki
[17:58:32][] Project Creator: Wade Alcorn (@WadeAlcorn)
[17:58:32][
] Successful connection with Metasploit.
[17:58:33][] Loaded 291 Metasploit exploits.
[17:58:33][
] BeEF is loading. Wait a few seconds...
[17:58:36][!] API Fire Error: Permission denied @ rb_sysopen - /usr/share/beef-xss/extensions/admin_ui/api/../media/javascript-min/web_ui_all.js in {:owner=>BeEF::Extension::AdminUI::API::Handler, :id=>10}.mounthandler()
[17:58:36][] 13 extensions enabled.
[17:58:36][
] 532 modules enabled.
[17:58:36][*] 2 network interfaces were detected.
[17:58:36][+] running on network interface: 127.0.0.1
[17:58:36] | Hook URL: http://127.0.0.1:3000/hook.js
[17:58:36] |
UI URL: http://127.0.0.1:3000/ui/panel
[17:58:36][+] running on network interface: 10.0.0.13
[17:58:36] | Hook URL: http://10.0.0.13:3000/hook.js
[17:58:36] | UI URL: http://10.0.0.13:3000/ui/panel
[17:58:36][] RESTful API key: c09d10e109de8f7955d21e9c9c4782f491713df5
[17:58:36][
] HTTP Proxy: http://127.0.0.1:6789
[17:58:36][*] DNS Server: 127.0.0.1:5300 (udp)
[17:58:36] | Upstream Server: 8.8.8.8:53 (udp)
[17:58:36] |
Upstream Server: 8.8.8.8:53 (tcp)
[17:58:36][] BeEF server started (press control+c to stop)
/usr/lib/ruby/vendor_ruby/eventmachine.rb:859:in open_udp_socket': no datagram socket (RuntimeError) from /usr/lib/ruby/vendor_ruby/eventmachine.rb:859:inopen_datagram_socket'
from /usr/lib/ruby/vendor_ruby/rubydns/server.rb:122:in block in run' from /usr/lib/ruby/vendor_ruby/rubydns/server.rb:119:ineach'
from /usr/lib/ruby/vendor_ruby/rubydns/server.rb:119:in run' from /usr/share/beef-xss/extensions/dns/dns.rb:127:inblock (3 levels) in run'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:959:in call' from /usr/lib/ruby/vendor_ruby/eventmachine.rb:959:inblock in run_deferred_callbacks'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:956:in times' from /usr/lib/ruby/vendor_ruby/eventmachine.rb:956:inrun_deferred_callbacks'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:in run_machine' from /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:inrun'
from /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in start' from /usr/lib/ruby/vendor_ruby/thin/server.rb:159:instart'
from /usr/share/beef-xss/core/main/server.rb:127:in start' from ./beef:145:in<main>'
enigma@Arkam:/usr/share/beef-xss$ clear

enigma@Arkam:/usr/share/beef-xss$ sudo ./beef
[sudo] password for enigma:
[17:59:23][
] Bind socket [imapeudora1] listening on [0.0.0.0:2000].
[17:59:23][] Browser Exploitation Framework (BeEF) 0.4.6.1-alpha
[17:59:23] | Twit: @beefproject
[17:59:23] | Site: http://beefproject.com
[17:59:23] | Blog: http://blog.beefproject.com
[17:59:23] |_ Wiki: https://github.com/beefproject/beef/wiki
[17:59:23][
] Project Creator: Wade Alcorn (@WadeAlcorn)
[17:59:23][] Successful connection with Metasploit.
[17:59:24][
] Loaded 291 Metasploit exploits.
[17:59:24][] BeEF is loading. Wait a few seconds...
[17:59:27][
] 13 extensions enabled.
[17:59:27][] 532 modules enabled.
[17:59:27][
] 2 network interfaces were detected.
[17:59:27][+] running on network interface: 127.0.0.1
[17:59:27] | Hook URL: http://127.0.0.1:3000/hook.js
[17:59:27] | UI URL: http://127.0.0.1:3000/ui/panel
[17:59:27][+] running on network interface: 10.0.0.13
[17:59:27] | Hook URL: http://10.0.0.13:3000/hook.js
[17:59:27] |
UI URL: http://10.0.0.13:3000/ui/panel
[17:59:27][] RESTful API key: 8cce7bd944370c3775f43b3a2d825c38562317e6
[17:59:27][
] HTTP Proxy: http://127.0.0.1:6789
[17:59:27][] DNS Server: 127.0.0.1:5300 (udp)
[17:59:27] | Upstream Server: 8.8.8.8:53 (udp)
[17:59:27] |_ Upstream Server: 8.8.8.8:53 (tcp)
[17:59:27][
] BeEF server started (press control+c to stop)
/usr/lib/ruby/vendor_ruby/eventmachine.rb:859:in open_udp_socket': no datagram socket (RuntimeError) from /usr/lib/ruby/vendor_ruby/eventmachine.rb:859:inopen_datagram_socket'
from /usr/lib/ruby/vendor_ruby/rubydns/server.rb:122:in block in run' from /usr/lib/ruby/vendor_ruby/rubydns/server.rb:119:ineach'
from /usr/lib/ruby/vendor_ruby/rubydns/server.rb:119:in run' from /usr/share/beef-xss/extensions/dns/dns.rb:127:inblock (3 levels) in run'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:959:in call' from /usr/lib/ruby/vendor_ruby/eventmachine.rb:959:inblock in run_deferred_callbacks'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:956:in times' from /usr/lib/ruby/vendor_ruby/eventmachine.rb:956:inrun_deferred_callbacks'
from /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:in run_machine' from /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:inrun'
from /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:61:in start' from /usr/lib/ruby/vendor_ruby/thin/server.rb:159:instart'
from /usr/share/beef-xss/core/main/server.rb:127:in start' from ./beef:145:in<main>'

Steps To Reproduce

Enabled metasploit extension

Activities

rhertzog

rhertzog

2016-04-12 07:21

administrator   ~0005109

Duplicate of 0003229

Issue History

Date Modified Username Field Change
2016-04-11 20:43 3n1gma New Issue
2016-04-12 07:21 rhertzog Note Added: 0005109
2016-04-12 07:21 rhertzog Status new => closed
2016-04-12 07:21 rhertzog Assigned To => rhertzog
2016-04-12 07:21 rhertzog Resolution open => duplicate
2025-07-14 09:36 g0tmi1k Priority high => normal
2025-07-14 09:38 g0tmi1k Severity crash => minor