nxc-winrm
Pentest and exploit Windows Remote Management (winrm). tldr-pages
On several platforms
Several platforms
Search for valid credentials by trying out every combination in the specified lists of usernames and passwords
nxc winrm 192.168.178.2 --username path/to/usernames.txt --password path/to/passwords.txtIdentifySpecify the domain to authenticate to (avoids an initial SMB connection)
nxc winrm 192.168.178.2 --username username --password password -d domain_nameIdentifyExecute the specified command on the host
nxc winrm 192.168.178.2 --username username --password password -x whoamiIdentifyExecute the specified PowerShell command on the host as administrator using LAPS
nxc winrm 192.168.178.2 --username username --password password --laps -X whoamiIdentify