Using Modules
Using Modules
Viewing Available Modules for a Protocol
Run nxc <protocol> -L to view available modules for the specified protocol.
For example to view all modules for the SMB protocol:
nxc smb -L
Using a Module
Run nxc <protocol> <target(s)> -M <module name>.
For example to run the SMB Mimikatz module:
nxc smb <target(s)> -u <username> -p '<password>' -M lsassy
Viewing Module Options
Run nxc <protocol> -M <module name> --options to view a modules supported options, e.g:
nxc smb -M lsassy --options
Using Module Options
Module options are specified with the -o flag. All options are specified in the form of KEY=value (msfvenom style)
Example:
nxc <protocol> <target(s)> -u <username> -p '<password>' -M <module> -o COMMAND=<command>
π Running Multiple Modules
Simply define all the modules you want, each proceeded by a -M option flag:
nxc <protocol> <target(s)> -u <username> -p '<password>' -M spooler -M iis -M lsassy -M winscp