Linux command
nxc-ssh 命令
网络
需要网络或远程资源。
常用示例
Test SSH credentials
nxc ssh [192.168.1.0/24] -u [user] -p [password]
Test with key file
nxc ssh [target] -u [user] --key-file [id_rsa]
Execute command
nxc ssh [target] -u [user] -p [password] -x [id]
Test password list
nxc ssh [target] -u [user] -p [passwords.txt]
说明
nxc ssh tests SSH credentials and executes commands. Part of NetExec security testing framework. Supports password spraying and credential validation.
参数
- -u _user_
- Username or file.
- -p _pass_
- Password or file.
- --key-file _file_
- SSH private key.
- -x _cmd_
- Execute command.
- --port _port_
- SSH port.
FAQ
What is the nxc-ssh command used for?
nxc ssh tests SSH credentials and executes commands. Part of NetExec security testing framework. Supports password spraying and credential validation.
How do I run a basic nxc-ssh example?
Run `nxc ssh [192.168.1.0/24] -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-ssh?
Username or file.