我已按照命名约定将 www.exploit-db.com 中的漏洞利用程序添加到 /.msf4/modules/exploit/windows/remote/41987.py
中。我使用命令 updatedb
更新了数据库并重新启动。
Metasploit 未检测到新添加的漏洞。但是,如果我添加 41891.rb
,它检测到它没有问题。为什么 Metasploit 看不到 python 文件?
最佳答案
我也遇到了同样的问题。
Metasploit 具有导入 python 模块的功能,但它无法与任何随机 python 脚本一起使用,该脚本需要一个结构才能在 Metasploit 中工作。
您将在此答案中获得详细的 View 。内容非常丰富。
希望有帮助。
关于python - Metasploit 未检测到exploit-db 中添加的漏洞,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47820287/