You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added LdrpLoadDllInternal injection, small modifications to manual mapping, integrated custom print function and callback integration and added a ton of debug prints, wow64 shellcodes not updated, unstable release
Copy file name to clipboardExpand all lines: GH Injector Library/Error.h
+29-32Lines changed: 29 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -61,11 +61,16 @@
61
61
#defineINJ_ERR_LLEXW_FAILED0x00000028//LoadLibraryExW : win32 error : LoadLibraryExW failed loading the dll
62
62
#defineINJ_ERR_LDRLDLL_FAILED0x00000029//LdrLoadDll : NTSTATUS : LdrLoadDll failed loading the dll
63
63
#defineINJ_ERR_LDRPLDLL_FAILED0x0000002A//LdrpLoadDll : NTSTATUS : LdrpLoadDll failed loading the dll
64
-
#defineINJ_ERR_CANT_GET_PEB0x0000002B//__readgsqword or __readfsdword : - : reading the linear address of the PEB failed
65
-
#defineINJ_ERR_INVALID_PEB_DATA0x0000002C//internal error : - : peb data required to erase/fake header or unlike the module from the peb wasn't findable
66
-
#defineINJ_ERR_UPDATE_PROTECTION_FAILED0x0000002D//NtProtectVirtualMemory : NTSTATUS : updating the page protection of the pe header failed
67
-
#defineINJ_ERR_WOW64_NTDLL_MISSING0x0000002E//internal error : - : can't resolve address of the wow64 ntdll
68
-
#defineINJ_ERR_INVALID_PATH_SEPERATOR0x0000002F//internal error : - : can't find '\' in a path. '/' as seperators aren't supported.
64
+
#defineINJ_ERR_LDRPLDLLINTERNAL_FAILED0x0000002B//LdrpLoadDllInternal : NTSTATUS : LdrpLoadDllInternal failed loading the dll
65
+
#defineINJ_ERR_CANT_GET_PEB0x0000002C//__readgsqword or __readfsdword : - : reading the linear address of the PEB failed
66
+
#defineINJ_ERR_INVALID_PEB_DATA0x0000002D//internal error : - : peb data required to erase/fake header or unlike the module from the peb wasn't findable
67
+
#defineINJ_ERR_UPDATE_PROTECTION_FAILED0x0000002E//NtProtectVirtualMemory : NTSTATUS : updating the page protection of the pe header failed
68
+
#defineINJ_ERR_WOW64_NTDLL_MISSING0x0000002F//internal error : - : can't resolve address of the wow64 ntdll
69
+
#defineINJ_ERR_INVALID_PATH_SEPERATOR0x00000030//internal error : - : can't find '\' in a path. '/' as seperators aren't supported
70
+
#defineINJ_ERR_LDRP_PREPROCESS_FAILED0x00000031//LdrpPreprocessDllName : NTSTATUS : preprocessing the dll name for LdrpLoadDll(Internal) failed
71
+
#defineINJ_ERR_INVALID_POINTER0x00000032//internal error : - : an invalid funtion pointer was passed to SetRawPrintCallback
72
+
#defineINJ_ERR_NOT_IMPLEMENTED0x00000033//internal error : - : the module was compiled without DEBUG_INFO being defined, check pch.h for more information if you want to redirect debug output
73
+
#defineINJ_ERR_KERNEL32_MISSING0x00000034//internal error : - : failed to resolve address of kernel32.dll (native)
69
74
70
75
71
76
///////////////////
@@ -140,24 +145,25 @@
140
145
#defineSR_HT_ERR_RESUME_FAIL0x10200009//ResumeThread : win32 error : resuming the thread failed
141
146
#defineSR_HT_ERR_REMOTE_TIMEOUT0x1020000A//internal error : - : execution time exceeded SR_REMOTE_TIMEOUT (can't be deallocated safely)
142
147
#defineSR_HT_ERR_REMOTE_PENDING_TIMEOUT0x1020000B//internal error : - : execution time exceeded SR_REMOTE_TIMEOUT while pending (can be deallocated safely)
148
+
#defineSR_HT_ERR_RPM_FAIL0x1020000C//ReadProcessMemory : win32 error : reading the results of the shellcode failed
143
149
144
150
////////////////////
145
151
///SetWindowsHookEx
146
-
//Source :error description
147
-
148
-
#defineSR_SWHEX_ERR_CANT_QUERY_INFO_PATH0x10300001//internal error :can't resolve own module filepath
149
-
#defineSR_SWHEX_ERR_CANT_OPEN_INFO_TXT0x10300002//internal error : can't open swhex info file
0 commit comments