Results 1 to 8 of 8

Thread: BeEF Broken in Rolling Release?

  1. #1
    Join Date
    2016-Apr
    Posts
    5

    Question BeEF Broken in Rolling Release?

    I have a fresh install of Kali 2 Rolling fully updated and it looks like something is broken in BeEF. I saw another thread a little further down, but it appears to be a different error.

    root@kali:/usr/share/beef-xss# ./beef
    [17:07:59][*] Bind socket [imapeudora1] listening on [0.0.0.0:2000].
    [17:07:59][*] Browser Exploitation Framework (BeEF) 0.4.6.1-alpha
    [17:07:59] | Twit: @beefproject
    [17:07:59] | Site: http://beefproject.com
    [17:07:59] | Blog: http://blog.beefproject.com
    [17:07:59] |_ Wiki: https://github.com/beefproject/beef/wiki
    [17:07:59][*] Project Creator: Wade Alcorn (@WadeAlcorn)
    [17:08:00][*] BeEF is loading. Wait a few seconds...
    [17:08:05][*] 13 extensions enabled.
    [17:08:05][*] 254 modules enabled.
    [17:08:05][*] 2 network interfaces were detected.
    [17:08:05][+] running on network interface: 127.0.0.1
    [17:08:05] | Hook URL: http://127.0.0.1:3000/hook.js
    [17:08:05] |_ UI URL: http://127.0.0.1:3000/ui/panel
    [17:08:05][+] running on network interface: 10.0.2.15
    [17:08:05] | Hook URL: http://10.0.2.15:3000/hook.js
    [17:08:05] |_ UI URL: http://10.0.2.15:3000/ui/panel
    [17:08:05][*] RESTful API key: 2383fe4ed391c19f5da92ec25d4b578859359d99
    [17:08:05][*] DNS Server: 127.0.0.1:5300 (udp)
    [17:08:05] | Upstream Server: 8.8.8.8:53 (udp)
    [17:08:05] |_ Upstream Server: 8.8.8.8:53 (tcp)
    [17:08:05][*] HTTP Proxy: http://127.0.0.1:6789
    [17:08:05][*] BeEF server started (press control+c to stop)
    /usr/lib/ruby/vendor_ruby/rubydns/server.rb:141:in `run': wrong number of arguments (given 1, expected 0) (ArgumentError)
    from /usr/share/beef-xss/extensions/dns/dns.rb:128:in `block (3 levels) in run'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:968:in `block in run_deferred_callbacks'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:965:in `times'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:965:in `run_deferred_callbacks'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:in `run_machine'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:187:in `run'
    from /usr/lib/ruby/vendor_ruby/thin/backends/base.rb:73:in `start'
    from /usr/lib/ruby/vendor_ruby/thin/server.rb:162:in `start'
    from /usr/share/beef-xss/core/main/server.rb:127:in `start'
    from ./beef:154:in `<main>'

    Quote Originally Posted by toan3000 View Post
    I have same issue. BeEF is broken and cannot start after dist-upgrade kali-rolling. Anybody have solution for this?
    Last edited by maiki; 2016-04-20 at 10:07.

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    Last week, I did apt-get update && apt-get upgrade. BeEF is currently working on my system.

    Have you tried hitting the repos, and/or uninstalling & reinstalling BeEF?

  3. #3
    Join Date
    2016-Apr
    Posts
    5
    Quote Originally Posted by grid View Post
    Last week, I did apt-get update && apt-get upgrade. BeEF is currently working on my system.

    Have you tried hitting the repos, and/or uninstalling & reinstalling BeEF?
    Hi grid,

    My system is fully patched as of today and the issue survived a reinstall from the repos.

  4. #4
    Join Date
    2016-Apr
    Posts
    5
    I just build a second VM and BeEF is broken when the dist is fully updated.

  5. #5
    Join Date
    2016-Apr
    Posts
    2
    Seems a few people are having issues with BeEF on Kali.

    Can you try disabling the DNS extension in "/usr/share/beef-xss/config.yaml " by setting beef.extension.dns.enabled: false

    follow commands :-

    cd /usr/share/beef-xss/
    gedit config.yaml

    scroll down the file
    u will find something like this

    dns:
    enable: true

    set it as ->>

    dns:
    enable: false

    " Save & Exit "

    do The Same For The File ( /etc/beef-xss/config.yaml )

    then in terminal >> beef-xss

    and u can open the panel in browser
    Last edited by LyJoker; 2016-04-25 at 03:16. Reason: missing part

  6. #6
    Join Date
    2016-Feb
    Posts
    1
    Quote Originally Posted by LyJoker View Post
    Seems a few people are having issues with BeEF on Kali.

    Can you try disabling the DNS extension in "/usr/share/beef-xss/config.yaml " by setting beef.extension.dns.enabled: false

    follow commands :-

    cd /usr/share/beef-xss/
    gedit config.yaml

    scroll down the file
    u will find something like this

    dns:
    enable: true

    set it as ->>

    dns:
    enable: false

    " Save & Exit "

    do The Same For The File ( /etc/beef-xss/config.yaml )

    then in terminal >> beef-xss

    and u can open the panel in browser
    tried it and still no joy, running beef-xss opens the localhost window but still displays "connect be found"

  7. #7
    Join Date
    2016-Apr
    Posts
    3
    Quote Originally Posted by LyJoker View Post
    Seems a few people are having issues with BeEF on Kali.

    Can you try disabling the DNS extension in "/usr/share/beef-xss/config.yaml " by setting beef.extension.dns.enabled: false

    follow commands :-

    cd /usr/share/beef-xss/
    gedit config.yaml

    scroll down the file
    u will find something like this

    dns:
    enable: true

    set it as ->>

    dns:
    enable: false

    " Save & Exit "

    do The Same For The File ( /etc/beef-xss/config.yaml )

    then in terminal >> beef-xss

    and u can open the panel in browser

    hello this technique resolve the authentifications problem but there is another problem with wlan hoked browser's
    i have do a video on youtube to resolve the 2 problem's
    i can't post the link here
    good luck
    just type on google
    how to fix beef-xss in kali rolling

  8. #8
    Join Date
    2016-Apr
    Posts
    5
    Disabling the DNS extension worked for me.

    https://github.com/beefproject/beef/issues/1249

Similar Threads

  1. Displaylink - Kali Rolling-Release
    By area51pilot in forum General Archive
    Replies: 0
    Last Post: 2021-09-07, 14:20
  2. Issues with BeEF in Kali rolling
    By mkay in forum General Archive
    Replies: 1
    Last Post: 2016-05-15, 21:59
  3. Problem with BeEF with Kali Rolling Release
    By OMDRsamid in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2016-04-22, 23:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •