Windows DLL that trolls Task Manager by showing "TROLLED" and "EVILBYTECODE ON GITHUB!" instead of processes.
- Window Detection: Finds Task Manager by title
- Hook Installation:
SetWindowsHookEx(WH_CALLWNDPROC) - Procedure Replacement: Swaps window procedure with custom one
- Message Blocking: Blocks mouse, scroll, drag messages
- Timer Persistence: Repaints every 100ms
// Detects Task Manager
if (strstr(title, "Task Manager")) return TRUE;
// Hooks window creation
g_hook = SetWindowsHookEx(WH_CALLWNDPROC, CallWndProc, ...);
// Replaces window procedure
SetWindowLongPtr(hwnd, GWLP_WNDPROC, WindowProc);
// Blocks user interaction
if (uMsg == WM_MOUSEMOVE || uMsg == WM_HSCROLL...) return 0;
// Paints "TROLLED"
DrawTextA(hdc, "TROLLED", -1, &rect, DT_CENTER | DT_VCENTER);- ✅ Message Blocking - Blocks mouse/scroll events
- ✅ Timer-Based - 100ms repaint loop
- Compile as DLL
- Inject into process (taskmgr, i used processhacker to inject: left click on process, press misc and chose inject dll)
- Open Task Manager
- See "TROLLED" instead of processes
- Only affects Task Manager
- Obvious to users
- Task Manager specific
Old experimental code - don't use in production! 🎭