| 304 | } |
| 305 | |
| 306 | void CALLBACK DLLNotification(ULONG Reason, PLDR_DLL_NOTIFICATION_DATA NotificationData, PVOID Context) { |
| 307 | if (Reason == LDR_DLL_NOTIFICATION_REASON_LOADED) { |
| 308 | |
| 309 | wprintf(L"[LdrDllNotification] %s\n", NotificationData->Loaded.FullDllName->Buffer); |
| 310 | if (wcsstr(NotificationData->Loaded.FullDllName->Buffer, L"QQNT.dll") != NULL) { |
| 311 | Exploit(); |
| 312 | } |
| 313 | } |
| 314 | return; |
| 315 | } |
| 316 | |
| 317 | |
| 318 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) |