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