diff --git a/external/source/exploits/cve-2013-0109/dll/src/ReflectiveDll.c b/external/source/exploits/cve-2013-0109/dll/src/ReflectiveDll.c index d70da51fd1..cf73a8a853 100644 --- a/external/source/exploits/cve-2013-0109/dll/src/ReflectiveDll.c +++ b/external/source/exploits/cve-2013-0109/dll/src/ReflectiveDll.c @@ -22,6 +22,7 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved ) case DLL_PROCESS_ATTACH: hAppInstance = hinstDLL; run(); + ExitProcess(0); break; case DLL_PROCESS_DETACH: case DLL_THREAD_ATTACH: @@ -29,4 +30,4 @@ BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpReserved ) break; } return bReturnValue; -} \ No newline at end of file +}