#include <stdio.h>
#include <tchar.h>
#include<stdlib.h>
#include<windows.h>
#include<tlhelp32.h>
int _tmain(int argc, _TCHAR* argv[])
{
/* */
HANDLE hProcess = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
PROCESSENTRY32 process;
process.dwSize = sizeof(PROCESSENTRY32);
_tprintf(_T("%32s %8s %8s %8s\n"), L"[NAME]", L"[PID]", L"[THREAD]", L"[PPID]");
while (Process32Next(hProcess, &process))
{
_tprintf(_T("%32s %8d %8d %8d\n"),
process.szExeFile, // process name
process.th32ProcessID, // process pid
process.cntThreads, // process thread id
process.th32ParentProcessID // process ppid
);
}
return 0;
}
'Language' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
md5 ํ๋ฒ์ ์ธ์ฝ๋ฉํ๊ธฐ :) ex)ํด๋์ง์ (0) | 2016.12.18 |
---|---|
rsa.py_ctf (0) | 2016.12.12 |
C์ธ์ด ์ ๋ฆฌ (0) | 2015.09.22 |
arp spoofing.c (0) | 2015.09.08 |
Mac Capture.c (0) | 2015.09.08 |
๋๊ธ