LinuxCommandLibrary

nxc-winrm

netExec WinRM module

TLDR

Check WinRM credentials

$ nxc winrm [target] -u [user] -p [password]
copy
Execute command
$ nxc winrm [target] -u [user] -p [password] -x "[command]"
copy
Execute PowerShell
$ nxc winrm [target] -u [user] -p [password] -X "[ps_command]"
copy
Use hash authentication
$ nxc winrm [target] -u [user] -H [hash]
copy

SYNOPSIS

nxc winrm [target] [options]

DESCRIPTION

nxc winrm is the NetExec WinRM module. Tests Windows Remote Management.
The tool validates WinRM access and executes commands. Part of NetExec suite.

PARAMETERS

TARGET

WinRM server address.
-u USER
Username.
-p PASSWORD
Password.
-x COMMAND
Execute cmd command.
-X COMMAND
Execute PowerShell command.
-H HASH
NT hash for pass-the-hash.
--help
Display help information.

CAVEATS

Security tool. Authorized use only. Part of NetExec.

HISTORY

nxc winrm provides WinRM penetration testing capabilities within NetExec.

SEE ALSO

nxc(1), evil-winrm(1), winrm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community