博客园 首页 新随笔 联系 订阅 管理

1、apt-get update

2、apt-get install metasploit

3、修改文件:/opt/metasploit/ruby/lib/ruby/1.9.1/i686-linux/rbconfig.rb CONFIG["LIBRUBYARG_STATIC"] = “-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static”

改为:CONFIG["LIBRUBYARG_STATIC"] = “-Wl,-R -Wl,$(libdir) -L$(libdir) ” (就是去掉-l$(RUBY_SO_NAME)-static)

4、切换至/opt/metasploit/msf3然后运行/opt/metasploit/ruby/bin/bundle install

5、msfupdate

posted on 2014-06-08 17:08  hello!world  阅读(521)  评论(0编辑  收藏  举报