如何在Metasploit中添加模块? [英] How to add module in Metasploit?
本文介绍了如何在Metasploit中添加模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows上使用Metasploit,但无法加载ms17_010_eternalblue.所以我从github下载了它.
I'm using Metasploit on Windows, but I can't load ms17_010_eternalblue. So I download it from github.
如何将这些模块添加到我的Metasploit?
How can I add that modules to my Metasploit?
推荐答案
解决了这个问题,我不得不将漏洞利用文件复制到metasploit-framework
目录中,按照其结构,您可以使用以下任何命令作为参考,但是必须检查系统中的当前路径.
Solved it, I had to copy the exploit file into metasploit-framework
directory, following its structure, you can use any of the following commands as reference, but you have to check the current path in your system.
cp ms17_010_eternalblue.rb metasploit/apps/pro/vendor/bundle/ruby/2.3.0/gems/metasploit-framework-4.14.19/modules/exploits/windows/
cp ms17_010_eternalblue.rb /usr/share/metasploit-framework/modules/exploits/windows/smb/ms17_010_eternalblue.rb
参考: https://github.com/ElevenPaths/Eternalblue-Doublepulsar -Metasploit/issues/30
这篇关于如何在Metasploit中添加模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文