gentilkiwi / mimikatz

A little tool to play with Windows security
http://blog.gentilkiwi.com/mimikatz
19.49k stars 3.74k forks source link

bugfix machine masterkey decryption #454

Closed NtAlexio2 closed 2 months ago

NtAlexio2 commented 2 months ago

This PR fixes machine masterkey decryption command. sample command: dpapi::masterkey /in:C:\fake\path\S-1-5-18\e5ed5c9d-be52-4e98-a218-fbafb16344d1 /sid:S-1-5-18 /system:92eceee795c025ddab7d80f1a25ae17f29af177d

it seems the old line (kull_m_dpapi_unprotect_masterkey_with_userHash), is just a copy-paste from #L247 by mistake


EDIT: recreated in PR #445