metasploit升级后无法加载模块的解决办法
程序员文章站
2022-06-28 09:35:44
升级到 20130508以后就一直报这个错(升级到0522问题依然)。一开始是把 include Msf::Post::Windows::Priv这行给注释了。不过心里面总是有点不舒服,在gi...
升级到 20130508以后就一直报这个错(升级到0522问题依然)。一开始是把 include Msf::Post::Windows::Priv这行给注释了。不过心里面总是有点不舒服,在github看到的fix方法。就和大家分享一下
[-] WARNING! The following modules could not be loaded!
[-] /opt/metasploit/msf3/modules/post/windows/gather/netlm_downgrade.rb: NameError uninitialized constant Msf::Post::Windows::Priv
nano /opt/metasploit/apps/pro/msf3/modules/post/windows/gather/netlm_downgrade.rb
在
1 require 'msf/core'
2 require 'rex'
3 require 'msf/core/post/windows/registry'
4 require 'msf/core/post/windows/services'
5 require 'msf/core/post/common'
后面,加入:
require 'msf/core/post/windows/priv'
ctrl+o Enter
Ctrl+x
上一篇: 高德POI数据爬虫