因为楼主没有合适的靶机,就简单说一下环境要求。
1、存在ms16-032的靶机
2、ms16-032的ps1脚本
3、powershell默认是不能运行脚本的,请自己手动开启(百度)
4、ms16-032脚本:https://raw.githubusercontent.com/Ridter/Pentest/master/powershell/MyShell/Invoke-MS16-032.ps1
MS16-032漏洞的补丁编号是KB3139914。如果发现系统中存在改漏洞,只要安装相应的补丁即可。也可以通过第三方工具下载补丁文件。然后进行安装。
参考文章
http://www.96sec.org/blog/post/209.html
https://blog.csdn.net/publicstr/article/details/98105573