Linux command
nxc-wmi 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Check WMI credentials
nxc wmi [target] -u [user] -p [password]
Execute command via WMI
nxc wmi [target] -u [user] -p [password] -x "[command]"
Query WMI
nxc wmi [target] -u [user] -p [password] --wmi "[query]"
Use hash authentication
nxc wmi [target] -u [user] -H [hash]
说明
nxc wmi is the NetExec WMI module. Executes via Windows Management Instrumentation. The tool uses WMI for remote execution. Part of NetExec suite.
参数
- -u _USER_
- Username.
- -p _PASSWORD_
- Password.
- -x _COMMAND_
- Execute command.
- --wmi _QUERY_
- WMI query string.
- -H _HASH_
- NT hash for pass-the-hash.
- --help
- Display help information.
FAQ
What is the nxc-wmi command used for?
nxc wmi is the NetExec WMI module. Executes via Windows Management Instrumentation. The tool uses WMI for remote execution. Part of NetExec suite.
How do I run a basic nxc-wmi example?
Run `nxc wmi [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-wmi?
Username.