| 401 | } |
| 402 | |
| 403 | void CALLBACK DLLNotification(ULONG Reason, PLDR_DLL_NOTIFICATION_DATA NotificationData, PVOID Context) { |
| 404 | if (Reason == LDR_DLL_NOTIFICATION_REASON_LOADED) { |
| 405 | wprintf(L"[LdrDllNotification] %s\n", NotificationData->Loaded.FullDllName->Buffer); |
| 406 | if (wcsstr(NotificationData->Loaded.FullDllName->Buffer, L"QQNT.dll")!=NULL) { |
| 407 | Exploit(); |
| 408 | } |
| 409 | } |
| 410 | return; |
| 411 | } |
| 412 | |
| 413 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) |
| 414 | { |