Metasploits Git更新

一:git下载最新版& {, `, L9 a5 b- p9 D
#cd /opt/metasploit/
root@bt:/opt/metasploit# #rm -rf msf3
root@bt:/opt/metasploit# git clone https://github.com/rapid7/metasploit-framework.git

二:问题(运行msfconsole 会出现以下错误
root@bt:# msfconsole 
Could not find rake-10.1.0 in any of the sources
Run `bundle install` to install missing gems
解决方法/ l' c( c: m1 `' N4 x
1、修改这个文件:/opt/metasploit/ruby/lib/ruby/1.9.1/i686-linux/rbconfig.rb (32bit)
                             或 /opt/metasploit/ruby/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb (64bit)
        把这一行=> CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static"  |* i; O. J9 [. a% @
        修改为=> CONFIG["LIBRUBYARG_STATIC"] = "-Wl,-R -Wl,$(libdir) -L$(libdir) "/
2、进入目录:/opt/metasploit/msf3 and 
             运行: /opt/metasploit/ruby/bin/bundle install)
6 r9 p1 ^- c" U8 P$ V- H

- l$ G! p. k3 R9 _" x
三:打开控制台即可
root@bt:/opt/metasploit# msfconsole 
=====[ metasploit v4.9.0-dev [core:4.9 api:1.0] ]
+ -- --=[ 1276 exploits - 698 auxiliary - 202 post ]
=-------[www.metasploit.cn                                   ]4
+ -- --=[ 332 payloads - 33 encoders - 8 nops      ]
0 W! u8 @2 x, b) z! v; ~
msf >
$ b) L( P# }, ?, V* H( T) G
转载请注明出处:http://www.metasploit.cn/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值