• kali BEEF-XSS启动报错解决


    kali Linux自带BEEF框架,长时间搁置后启动报错:

    root@kali:/usr/share/beef-xss# ./beef

    Traceback (most recent call last):

      14: from ./beef:32:in `<main>'

      13: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      12: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      11: from /usr/share/beef-xss/core/loader.rb:16:in `<top (required)>'

      10: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      9: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      8: from /usr/lib/ruby/vendor_ruby/rubydns.rb:23:in `<top (required)>'

      7: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      6: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      5: from /usr/lib/ruby/vendor_ruby/rubydns/message.rb:21:in `<top (required)>'

      4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      3: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      2: from /usr/lib/ruby/vendor_ruby/eventmachine.rb:8:in `<top (required)>'

      1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

      /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- rubyeventmachine (LoadError)

    解决方法:

    卸载beef,ruby

    #apt remove ruby

    #apt remove beef-xss

    #apt-get install ruby

    #apt-get install ruby-dev libpcap-dev

    #gem install eventmachine

    #apt-get install beef-xss

    问题解决,重新启动BEEF无报错

     

  • 相关阅读:
    adb pull / push
    June 25,2014---->Binder(IPC),Dalvik ,DEX/ODEX
    adb 读写模式 挂载文件系统
    INSTALL_FAILED_UID_CHANGED
    Logcat不显示Application的解决办法
    Android终端管理器删除文件夹
    ADB
    StringBuffer
    扑克牌排序
    windows内存管理方式以及优缺点
  • 原文地址:https://www.cnblogs.com/xiatian09/p/9791040.html
Copyright © 2020-2023  润新知