Greenwolf / Spray

A Password Spraying tool for Active Directory Credentials by Jacob Wilkin(Greenwolf)
GNU General Public License v3.0
713 stars 136 forks source link

rpcclient not a thing on OS X- SMB Spraying will not run on a Mac #10

Open b4cktr4ck2 opened 3 years ago

b4cktr4ck2 commented 3 years ago

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.

Greenwolf commented 3 years ago

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!

Esonhugh commented 2 years ago

seems rpcclient is in the package called samba. installing by command brew install samba? and you will got smbclient/rpcclient binary.

MelForze commented 4 months ago

Yes it's true, you can grab the binary from the path (I had one) /opt/homebrew/Cellar/samba/4.20.1/bin/rpcclient and everything works fine. Add it to path and there is no problem.

adibabdala123 commented 3 months ago

for me, the /opt/homebrew/Cellar/samba/4.20.1/bin don`t have the "rcclient"

MelForze commented 3 months ago

for me, the /opt/homebrew/Cellar/samba/4.20.1/bin don`t have the "rcclient"

Maybe try to reinstall and check again ?

Esonhugh commented 3 months ago

for me, the /opt/homebrew/Cellar/samba/4.20.1/bin don`t have the "rcclient"

Maybe try to reinstall and check again ?

It really no rcclient :) but rpcclient