Files
yardenshafir-WinDbg_Scripts/enumerateProcessesFromHandleTable.txt
Yarden Shafir 0bc67f8ac7 Scripts
2020-05-22 18:17:52 +03:00

1 line
293 B
Plaintext

dx -r2 (Debugger.Utility.Collections.FromListEntry(*(nt!_LIST_ENTRY*)&nt!HandleTableListHead, "nt!_HANDLE_TABLE", "HandleTableList")).Where(h => h.QuotaProcess != 0).Select(h => new { Object = h.QuotaProcess, Name = (char*)h.QuotaProcess->ImageFileName, PID = h.QuotaProcess->UniqueProcessId})