rpcclient not a thing on OS X- SMB Spraying will not run on a Mac
There's, unfortunately, no brew cask (official or unofficial) for rpcclient, nor is there an official package that can be installed. As such, the SMB portion of the script sadly will not work on a Mac.
If someone finds a version of rpcclient for Darwin or a workaround I'll gladly close this- I spent a few hours trying to find a copy that would work.
Thank you @b4cktr4ck2 for bringing this to my attention. I've updated the readme with additional info saying it is not possible to run smb mode on macOS. I've added this as a feature request, and will leave it open.
If anyone finds a way to install rpcclient on OSX, please let me know!
seems rpcclient is in the package called samba.
installing by command brew install samba?
and you will got smbclient/rpcclient binary.