Options (2)
-u, --usernamebooleanSearch for valid credentials by trying out every combination in the specified lists of usernames and passwords
Example:
nxc winrm {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}-p, --passwordbooleanSearch for valid credentials by trying out every combination in the specified lists of usernames and passwords
Example:
nxc winrm {{192.168.178.2}} {{[-u|--username]}} {{path/to/usernames.txt}} {{[-p|--password]}} {{path/to/passwords.txt}}Examples (4)
Search for valid credentials by trying out every combination in the specified lists of usernames and passwords
nxc winrm 192.168.178.2 [-u|--username] path/to/usernames.txt [-p|--password] path/to/passwords.txtSpecify the domain to authenticate to (avoids an initial SMB connection)
nxc winrm 192.168.178.2 [-u|--username] username [-p|--password] password -d domain_nameExecute the specified command on the host
made by @shridhargupta | data from tldr-pages