更新最新msf的master主分支
lib/rex/下有诸多脚本
下载https://github.com/rapid7/rex-powershell并根据readme安装
发现https://github.com/rapid7/metasploit-framework/issues/12723项目中没解决问题
跟踪到https://github.com/rapid7/metasploit-framework/pull/12446
跟踪到https://github.com/rapid7/rex-powershell/pull/19
替换https://github.com/rapid7/rex-powershell/pull/19/files发现仍然无效
https://github.com/rapid7/metasploit-framework/issues/12723往下拉发现在12724中待解决
跟踪到https://github.com/rapid7/metasploit-framework/pull/12724
发现截图,作者已成功并提示需要https://github.com/rapid7/rex-powershell/pull/21
跟踪到https://github.com/rapid7/rex-powershell/pull/21发现描述为提供了12723中所需的文件
所以将https://github.com/rapid7/rex-powershell/pull/21/files替换
将https://github.com/rapid7/metasploit-framework/pull/12724/files替换
下载https://github.com/rapid7/rex-powershell后注意项目目录下的绝对路径与msf本身的相对路径进行匹配,将data下的模板文件替换到msf的模板文件中,不然提示报错缺少模板文件
声明:本文为原创文章,版权归lsh4ck's Blog所有,欢迎分享本文,转载请保留出处!