nxc Command Examples

Network service enumeration and exploitation tool. Some subcommands such as smb have their own usage documentation. More information: https://www.netexec.wiki/getting-started/selecting-and-using-a-protocol.

nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} -L

nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} -M {{module_name}} --options

nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} -M {{module_name}} -o {{OPTION_NAME}}={{option_value}}

nxc {{smb|ssh|ldap|ftp|wmi|winrm|rdp|vnc|mssql}} --help