일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- CNN
- install
- index
- mariadb
- SciPy
- mean
- ipad
- pip
- Python
- 삼성소프트웨어멤버십
- DFS
- pycharm
- RNN
- dataframe
- Splunk
- LSTM
- imread
- pandas
- E-P1
- Button
- SPL
- javascript
- GitHub
- Lotto
- Numpy
- GT-S80
- Series
- 알고리즘
- keras
- synology
- Today
- Total
목록공부 (287)
잠토의 잠망경
#undef UNICODE #include #include int main(void) { char szWindowsDirectoryPath[1000]={0,}; char szKernelDll[1000]={0,}; //윈도우의 패스를 얻기위한 함수이다. GetWindowsDirectory(szWindowsDirectoryPath,1000); sprintf(szKernelDll,"%s\\system32\\kernel32.dll",szWindowsDirectoryPath); //파일을 읽기위한 용도로 열었다. HANDLE hFile=CreateFile(szKernelDll, GENERIC_READ,FILE_SHARE_READ, NULL, OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL..
#undef UNICODE #include #include int main(void) { //파일을 생성하였다. HANDLE hFile = CreateFileA( "C:\\love01.txt",//파일의 이름 GENERIC_READ|GENERIC_WRITE,//접근할 타입 0,//공유모드 NULL, //always CREATE_ALWAYS, //파일을 언제나 새로 만든다. FILE_ATTRIBUTE_NORMAL, //파일의 속성정의 NULL//always ); //메모리 멥을 만들어주었다. 크기를 10K 바이트로 하였다. HANDLE hFileMap=CreateFileMapping( hFile, //파일의 핸들 CreateFile() NULL,//always PAGE_READWRITE,//해당 페이지의 ..
#undef UNICODE #include #include int main(void) { //파일의 핸들을 얻어온다. HANDLE hFile = CreateFileA("c:\\love.txt",GENERIC_READ, 0,NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,NULL); if(NULL==hFile) printf("error\n"); //파일의 핸들을 기반으로 memorymapping을 한다. HANDLE hFileMaped=CreateFileMapping(hFile,NULL,PAGE_READONLY,0,0,NULL); if(NULL==hFileMaped) printf("error\n"); //파일 멥을 메모리에 올리자. char* pfile=(char*)MapVie..
아래의 두 함수 GetSystemDirectoryA와 GetWindowsDirectoryA를 사용해야 한다. #include #include int main(void) { char szSystemDirectoryPath[100]={0,}; //시스템 버버를 저장하기 위한 버퍼 char szDllPath[100]={0,}; // Dll의 경로를 저장하기 위한 버퍼이다. char szWindowsDirectoryPath[100]={0,}; UINT ret = GetSystemDirectoryA(szSystemDirectoryPath,100); // Ansi기준으로 작성된 함수이다. unicode 방식으로 하면 잘못된 결과가 도출된다. sprintf(szDllPath, "%s\\WSock32.dll",szSy..
Introduction This article shows how you can capture screen images including the mouse cursor. Background Screen capturing is a very useful way of resource sharing as used in applications like Remote Desktop, Virtual Network Computing (VNC), where a user can access, view, and interact with a remote desktop as his own desktop. Also, it is used in non ethical applications like hacking applications,..
Introduction This is a simple Win32 Dialog based application that provides multiple desktop support on windows platform as present in the LINUX system. The application provides you the option to create 1 to 3 desktops. Through these different desktops, you can easily separate your applications. This helps a lot when you have some application that you don't want to close by mistake as you can put..
Introduction Although making user-mode application enter the kernel is definitely an exciting exercise, it is far from being something unheard of. It has been first done by Matt Pietrek (he did it on Windows 95 many years ago). His technique was later adjusted to Windows NT by Prasad Dabak, Sandeep Phadke and Milind Borate. In order to enter the kernel right from an application, one has to set u..
Introduction This purpose of this article is to explain how to send a raw Ethernet packet using C# on a Microsoft platform. A raw Ethernet packet is the complete Layer 2 network frame that is sent to the physical wire. Sending a frame like this allows you to manipulate the target and source MAC addresses and the Layer 3 protocol fields. 출처: http://www.codeproject.com/KB/IP/sendrawpacket.aspx