网站建设行业文章3
当前位置: 首页 -> 企业资讯 -> 行业文章 -> beef在bt5下不能运行解决办法
鸿大千秋新闻顶部侧栏



beef在bt5下不能运行解决办法



这个问题源于http://brk.dis9.com/metasploit-and-beef-the-tutorial-chinese.html

beef由于这个问题我一直就在bt5下没用上。

这个问题是与环境变量有关。

这是一个偶然,晚上在使用wpscan时升级后发现不能用了,提示安装什么东东,

安装了也不行,

然后看到提示后面有个or

gem install –user-install

用这个命令安装好就可以了,灵机一动那么beef是否也可以呢?

结果肯定是令人欣慰的!!!!

http://code.google.com/p/beef/issues/detail?id=566

类似的这些问题,也可以中这种方法解决吧!

root@bt:/pentest/web/beef# ./beef

/pentest/web/beef/core/loader.rb:18:in require’: no such file to load — bundler/setup (LoadError)

from /pentest/web/beef/core/loader.rb:18:in <top (required)>’

from ./beef:42:in require’         from ./beef:42:in <main>’

root@bt:/pentest/web/beef# gem install –user-install bundler

WARNING:  You don’t have /root/.gem/ruby/1.9.2/bin in your PATH,

          gem executables will not run.

Successfully installed bundler-1.1.4

1 gem installed

Installing ri documentation for bundler-1.1.4…

Installing RDoc documentation for bundler-1.1.4…

root@bt:/pentest/web/beef# ls

beef  config.yaml  core  extensions  Gemfile  Gemfile.lock  install  modules  Rakefile  README  test  VERSION

root@bt:/pentest/web/beef# ./beef

[21:28:09]
Browser Exploitation Framework (BeEF)

[21:28:09]    |   Version 0.4.3.2-alpha

[21:28:09]    |   Website http://beefproject.com

[21:28:09]    |   Run ‘beef -h’ for basic help.

[21:28:09]    |_  Run ‘git pull’ to update to the latest revision.

[21:28:09]
BeEF is loading. Wait a few seconds…

[21:28:10]
9 extensions loaded:

[21:28:10]    |   Demos

[21:28:10]    |   Requester

[21:28:10]    |   Autoloader

[21:28:10]    |   XSSRays

[21:28:10]    |   Console

[21:28:10]    |   Proxy

[21:28:10]    |   Initialization

[21:28:10]    |   Events

[21:28:10]    |_  Admin UI

[21:28:10]
77 modules enabled.

[21:28:10]
2 network interfaces were detected.

[21:28:10][+] running on network interface: 127.0.0.1

[21:28:10]    |   Hook URL: http://127.0.0.1:3000/hook.js

[21:28:10]    |_  UI URL:   http://127.0.0.1:3000/ui/panel

[21:28:10][+] running on network interface: 180.8*.*.*

[21:28:10]    |   Hook URL: http://180.8*.*.*:3000/hook.js

[21:28:10]    |_  UI URL:   http://180.8*.*.*:3000/ui/panel

[21:28:10][+] HTTP Proxy: http://127.0.0.1:6789

[21:28:10]
BeEF server started (press control+c to stop)

作者lpcdma 转自dis9论坛由网络安全攻防研究室(www.91ri.org)信息安全小组收集整理。



鸿大千秋网站建设团队敬上







Copyright © hongdaChiaki. All Rights Reserved. 鸿大千秋 版权所有


联系方式:
地址: 深圳市南山区招商街道沿山社区沿山路43号创业壹号大楼A栋107室
邮箱:service@hongdaqianqiu.com
备案号:粤ICP备15078875号