forked from gentilkiwi/mimikatz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64ba953
commit 552fe7a
Showing
16 changed files
with
707 additions
and
340 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* Benjamin DELPY `gentilkiwi` | ||
http://blog.gentilkiwi.com | ||
benjamin@gentilkiwi.com | ||
Licence : http://creativecommons.org/licenses/by/3.0/fr/ | ||
*/ | ||
#include "kuhl_m_dpapi.h" | ||
|
||
const KUHL_M_C kuhl_m_c_dpapi[] = { | ||
{kuhl_m_dpapi_masterkeys, L"masterkeys", L""}, | ||
}; | ||
const KUHL_M kuhl_m_dpapi = { | ||
L"dpapi", L"", NULL, | ||
ARRAYSIZE(kuhl_m_c_dpapi), kuhl_m_c_dpapi, NULL, NULL | ||
}; | ||
|
||
NTSTATUS kuhl_m_dpapi_masterkeys(int argc, wchar_t * argv[]) | ||
{ | ||
PKULL_M_DPAPI_MASTERKEYS masterkeys; | ||
PBYTE buffer; | ||
DWORD szBuffer; | ||
|
||
if(argc && kull_m_file_readData(argv[0], &buffer, &szBuffer)) | ||
{ | ||
if(masterkeys = kull_m_dpapi_masterkeys_create(buffer)) | ||
{ | ||
kull_m_dpapi_masterkeys_descr(masterkeys); | ||
kull_m_dpapi_masterkeys_delete(masterkeys); | ||
} | ||
LocalFree(buffer); | ||
} | ||
return STATUS_SUCCESS; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* Benjamin DELPY `gentilkiwi` | ||
http://blog.gentilkiwi.com | ||
benjamin@gentilkiwi.com | ||
Licence : http://creativecommons.org/licenses/by/3.0/fr/ | ||
*/ | ||
#pragma once | ||
#include "kuhl_m.h" | ||
#include "../modules/kull_m_file.h" | ||
#include "../modules/kull_m_dpapi.h" | ||
|
||
const KUHL_M kuhl_m_dpapi; | ||
|
||
NTSTATUS kuhl_m_dpapi_masterkeys(int argc, wchar_t * argv[]); |
Oops, something went wrong.