CrackMapExec

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

Install

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

Launch

Useful commands

  • crackmapexec <protocol> <target-IP> -u <user or userlist> -p <password or passwordlist> general usage format

  • crackmapexec 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.

Resources

Last updated