← 返回命令列表

Linux command

nxc-winrm 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Check WinRM credentials

nxc winrm [target] -u [user] -p [password]

Execute command

nxc winrm [target] -u [user] -p [password] -x "[command]"

Execute PowerShell

nxc winrm [target] -u [user] -p [password] -X "[ps_command]"

Use hash authentication

nxc winrm [target] -u [user] -H [hash]

说明

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

参数

-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.

FAQ

What is the nxc-winrm command used for?

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

How do I run a basic nxc-winrm example?

Run `nxc winrm [target] -u [user] -p [password]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u _USER_ do in nxc-winrm?

Username.