Apparently the tool is no longer maintened.
It seems like NetExec here and here is replacing it.
You can learn more about the change here
apt-get install -y libssl-dev libffi-dev python-dev-is-python3 build-essential
git clone https://github.com/Porchetta-Industries/CrackMapExec
cd CrackMapExec
poetry install
OR
sudo apt-get -y install crackmapexec
-
poetry run crackmapexec -h
for help
crackmapexec <protocol> <target-IP> -u <user or userlist> -p <password or passwordlist>
general usage formatcrackmapexec smb -h
help for specific protocol (here smb)crackmapexec smb 10.129.42.197 -u "user" -p "password" --shares
view the available shares and what privileges we have for them.