일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- REDIS
- wrefresh
- epoll
- BOF
- epoll_wait
- mvwin
- vtable
- cbpf
- .nret core 배포
- .net core 7
- edge trigger
- ioctl
- 어셈블리어
- NAPT
- doupdate
- Docker
- 풀이
- 취약점
- wnourefresh
- architecture
- C언어
- Compiler
- ncurses
- level trigger
- DOCKER-USER
- packet filter
- rfc5508
- iptables
- LOB
- packet flow
- Today
- Total
목록windows programing (2)
Tuuna Computer Science
첨에 찾은게 아래 방식이여서 이방식을 계속사용하다가 case WM_CREATE : // Get the handle to the client area's device context. hdc = GetDC (hWnd); // Extract font dimensions from the text metrics. GetTextMetrics (hdc, &tm); xChar = tm.tmAveCharWidth; xUpper = (tm.tmPitchAndFamily & 1 ? 3 : 2) * xChar/2; yChar = tm.tmHeight + tm.tmExternalLeading; // Free the device context. ReleaseDC (hWnd, hdc); // Set an arbitrary maxi..
12345678910111213141516171819202122232425262728293031#include #include #include int main(int argc, char** argv){ while (1) { HWND hWnd = FindWindow(NULL, TEXT("Steam")); if (hWnd) { DWORD Processid; GetWindowThreadProcessId(hWnd, &Processid); //hwnd로 프로세스 ID를 얻어옴 printf("\n탐지 성공\n\n"); printf("\n불법 프로그램을 강제종료 합니다. "); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, Processid); //The han..