Cleaning up some code

This commit is contained in:
Maxime Meignan
2021-11-10 16:19:41 +01:00
parent 9957b7a38e
commit 907d6b0a87
15 changed files with 23 additions and 43 deletions
-1
View File
@@ -6,7 +6,6 @@
#include <Psapi.h>
#include <tlhelp32.h>
#include "Globals.h"
#include "WdigestOffsets.h"
DWORD WINAPI disableCredGuardByPatchingLSASS(void);
+1 -1
View File
@@ -11,8 +11,8 @@
#include <aclapi.h>
#include <Tchar.h>
#include <stdio.h>
#include <time.h>
#include "Globals.h"
#if !defined(PRINT_ERROR_AUTO)
#define PRINT_ERROR_AUTO(func) (_tprintf(TEXT("[!] ERROR ") TEXT(__FUNCTION__) TEXT(" ; ") func TEXT(" (0x%08x)\n"), GetLastError()))
-1
View File
@@ -11,7 +11,6 @@
#include <Tchar.h>
#include <stdio.h>
#include "Globals.h"
#include "KernelMemoryPrimitives.h"
#include "NtoskrnlOffsets.h"
-9
View File
@@ -1,9 +0,0 @@
#pragma once
extern union NtoskrnlOffsets ntoskrnlOffsets;
extern union WdigestOffsets wdigestOffsets;
//extern TCHAR* serviceName;
extern TCHAR* serviceName;
-1
View File
@@ -11,7 +11,6 @@
#include <Tchar.h>
#include <stdio.h>
#include "Globals.h"
#include "DriverOps.h"
#include "KernelMemoryPrimitives.h"
#include "NtoskrnlOffsets.h"
@@ -12,7 +12,6 @@
#include <Tchar.h>
#include <stdio.h>
#include "Globals.h"
struct RTCORE64_MSR_READ {
DWORD Register;
-1
View File
@@ -10,7 +10,6 @@
#include <Windows.h>
#include <Tchar.h>
#include "Globals.h"
#include "FileVersion.h"
enum NtoskrnlOffsetType {
-1
View File
@@ -12,7 +12,6 @@
#include <Tchar.h>
#include <stdio.h>
#include "Globals.h"
#include "KernelMemoryPrimitives.h"
#include "NtoskrnlOffsets.h"
-1
View File
@@ -11,7 +11,6 @@
#include <Windows.h>
#include <Tchar.h>
#include "Globals.h"
#include "FileVersion.h"
enum WdigestOffsetType {