int main() { DWORD dwpid = GetCurrentProcessId(); HANDLE hProcess = ::OpenProcess(PROCESS_ALL_ACCESS, FALSE, dwpid); printf("===pid=%d handle=%d\n", dwpid, hProcess); system("pause"); }
[招生]系统0day安全班,企业级设备固件漏洞挖掘,Linux平台漏洞挖掘!
Zn风扇 每个进程有个句柄表,保存打开的句柄,句柄与进程有关,不能夸进程