aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration/mimikatz-1.0/modules/mod_privilege.h
blob: 2d2652fc49bf7780536324dbc82ac2dbb4bb601a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*	Benjamin DELPY `gentilkiwi`
	http://blog.gentilkiwi.com
	benjamin@gentilkiwi.com
	Licence : http://creativecommons.org/licenses/by/3.0/fr/
*/
#pragma once
#include "globdefs.h"

class mod_privilege
{
private:
	static bool getName(PLUID idPrivilege, wstring * privilegeName);
	static bool getValue(wstring * privilegeName, PLUID idPrivilege);

public:
	static bool get(vector<pair<wstring, DWORD>> *maPrivilegesvector, HANDLE handleProcess = INVALID_HANDLE_VALUE);
	static bool set(vector<pair<wstring, DWORD>> *maPrivilegesvector, HANDLE handleProcess = INVALID_HANDLE_VALUE);
};