web_security
ntds.dit
HawordFREAKEK
2024. 8. 30. 22:41
Install-Module -Name DSInternals -Scope CurrentUser
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
Import-Module DSInternals
Get-ADDBAccount -DBPath "C:\ntdsexport\Active Directory\ntds.dit" -SamAccountName TestUser001
?변수 써야할듯
$bootKey = Get-BootKey -SystemHiveFilePath "C:\ntdsexport\registry\SYSTEM"
Get-ADDBAccount -DBPath "C:\ntdsexport\Active Directory\ntds.dit" -BootKey $bootKey