Simple bash script to spray known credentials against multiple services with netexec (https://www.netexec.wiki/)
Clone this repo or download the script directly.
Add the script to /usr/local/bin/ to execute it from anywhere on your machine, or use it in a local directory of your choice.
sudo mv ~/Downloads/nxcspray /usr/local/bin
chmod +x /usr/local/bin/nxcspray
└─$ nxcspray -h
[-] Usage: nxcspray <protocols|all> <targets> -u <username> -p <password>
Example Usage
nxcspray smb,winrm targets.txt -u e.hills -p 'Il0vemyj0b2025!'
nxcspray all 10.1.45.200 -u e.hills -p 'Il0vemyj0b2025!'