nxc winrm
Pentest and exploit Windows Remote Management (winrm). More information: https://www.netexec.wiki/winrm-protocol/password-spraying.
- Search for valid credentials by trying out every combination in the specified lists of usernames and passwords:
nxc winrm
- Specify the domain to authenticate to (avoids an initial SMB connection):
nxc winrm -d
- Execute the specified command on the host:
nxc winrm -x
- Execute the specified PowerShell command on the host as administrator using LAPS:
nxc winrm --laps -X
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
