发送WM_COPYDATA消息实现进程间的通信
exchen 10年前 (2014-12-01) 5699浏览 0评论
mark一下 结构体 struct Info{ TCHAR g_strFileType[MAX_PATH]; bool bStop; }; ...
exchen 10年前 (2014-12-01) 5699浏览 0评论
mark一下 结构体 struct Info{ TCHAR g_strFileType[MAX_PATH]; bool bStop; }; ...
exchen 10年前 (2014-10-31) 4649浏览 0评论
微软给我们提供了一个API,CreateDesktop,可以实现创建一个新的桌面,然后咱们可以用CreateProcess在新的桌面里创建新的进程。 具体技术细节,看看老外写的原文 http://www.codeproject.com/Article...
exchen 10年前 (2014-10-24) 5401浏览 0评论
获取硬盘序列号,mark一下 // GetHardDiskNum.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #ifndef _WIN32_...
exchen 10年前 (2014-10-11) 4891浏览 0评论
TCHAR strDir[_MAX_PATH]; SHGetSpecialFolderPath(0,MyDir,CSIDL_APPDATA,0); MessageBox(0,strDir,0,0); 其中第三个参数CSIDL_APPDATA可以为以下...
exchen 11年前 (2014-09-18) 4930浏览 0评论
首先需要下载mysql server,并安装,安装好之后,把include和lib设置一下。 代码如下: #include <windows.h> #include <stdio.h> ...
exchen 11年前 (2014-06-24) 4273浏览 0评论
mark一下,为了学习VIX API,花了两天时间才搞定,要么编译不过,各种link的lib错误,要么是VixHost_Connect连接不上,要么是VixVM_Open打开失败,今天总算是搞定了,下面是一个示例, 效果是启动VMware的界面并启动...
exchen 11年前 (2014-05-15) 4517浏览 0评论
mark一下 #include "sqlite3.h" #include <windows.h> #pragma comment(lib,"sqlite3.lib") int _tmain(i...
exchen 11年前 (2014-05-04) 4768浏览 0评论
今天在分析一款木马的时候,发现做了进程保护,没加驱动,也没做hook,能做进程保护,感觉非常奇怪,原来是这么一回事,mark一下吧! #include "stdafx.h" #include <wi...
exchen 11年前 (2014-02-10) 4920浏览 0评论
mark一下! #include <windows.h> #include <WinInet.h> #include <string> using name...
exchen 11年前 (2014-01-19) 4966浏览 0评论
#include <Windows.h> #include <TlHelp32.h> int InjectDllWithApc(char DllFullPath[MAX_P...
exchen 11年前 (2014-01-11) 4535浏览 0评论
试了半个小时才找到你,哈哈 选择菜单—Popup-false Separator—true 转载请注明:exchen's blog » VC菜单分割符...
exchen 11年前 (2013-12-27) 4601浏览 0评论
在内存中读取函数的ShellCode并执行 下面是一个例子,实现的效果是将fun1函数的十六进制读取出来,在内存中将str1的地址改成str2,分配一块内存,将改好的函数的ShellCode写入并执行。 // FunT...