Skip to content

Commit

Permalink
Fix on key export
Browse files Browse the repository at this point in the history
  • Loading branch information
gentilkiwi committed Jun 18, 2015
1 parent 841deed commit c622d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mimikatz/modules/kuhl_m_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ void kuhl_m_crypto_exportKeyToFile(NCRYPT_KEY_HANDLE hCngKey, HCRYPTKEY hCapiKey
}

if(pExport)
{if(hCapiKey) kull_m_file_writeData(L"cool.bin", pExport+ sizeof(PVK_FILE_HDR), szExport);
{
pvkHeader.cbPvk = szExport;
RtlCopyMemory(pExport, &pvkHeader, sizeof(PVK_FILE_HDR));
isExported = kull_m_file_writeData(filenamebuffer, pExport, szPVK);
Expand Down

0 comments on commit c622d6a

Please sign in to comment.