2025-03-14 21:59:59 -06:00
|
|
|
# nxc
|
|
|
|
|
|
|
|
|
|
> Network service enumeration and exploitation tool.
|
|
|
|
|
> Some subcommands such as `smb` have their own usage documentation.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://www.netexec.wiki/getting-started/selecting-and-using-a-protocol>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
- List available modules for the specified protocol:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-L|--list-modules]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List the options available for the specified module:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{module_name}} --options`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
- Specify an [o]ption for a module:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-M|--module]}} {{module_name}} -o {{OPTION_NAME}}={{option_value}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- View the options available for the specified protocol:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} {{[-h|--help]}}`
|