随笔分类 - HOOK
摘要:PBYTE pFile2;//设置为全局,方便其他cpp访问 void CDLG_Process::AnalysisPFile() { //获取行列内容 DWORD dwPid; CString Pid = m_ctrlList_Process.GetItemText(row, 0); dwPid = _ttoi(Pid.GetBuffer());//_ttoi ...
阅读全文
摘要:// Injection64bit.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include BOOL InjectDll(TCHAR szPath[MAX_PATH], DWORD dwPid); int _tmain(int argc, _TCHAR* argv[]) { if (argc < 3) exit(...
阅读全文
摘要:/************************************************************ MD5校验和计算小程序(C) ************************************************************/ #ifndef __MD5_INCLUDED__ #define __MD5_INCLUDED__ //MD5摘要...
阅读全文
摘要:#include "stdafx.h" #include #include #include "消息钩子dll.h" #define KEYDOWN(vk_code) ((GetAsyncKeyState(vk_code)&0x8000)?1:0) BOOL g_bHide = TRUE; HHOOK g_Hook = 0; LRESULT CALLBACK KeyboardProc...
阅读全文
摘要:#include typedef struct _PT { char 活动标志; char 起始磁头号; char 起始扇区号; char 起始柱面号; char 分区格式标志; char 结束磁头号; char 结束扇区号; char 结束柱面号; long 分区之前所用扇区; long 本分区扇区数; }PT,...
阅读全文
摘要:// 03 IATHook远程线程注入器.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include int _tmain(int argc, _TCHAR* argv[]) { //1 得到要被注入进程的句柄 HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, 3...
阅读全文
摘要:// 02 自定义Hook注入器.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "..\SelfHook\SelfHook.h" #pragma comment(lib,"..\\Debug\\SelfHook.lib") int _tmain(int argc, _TCHAR* argv[]) { //MessageBoxA...
阅读全文
摘要:// 01 消息钩子截获按键信息.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include"..\01 消息钩子dll\消息钩子dll.h" #pragma comment(lib,"..\\Debug\\01 消息钩子dll.lib") int _tmain(int argc, _TCHAR* argv[]) { InstallH...
阅读全文

浙公网安备 33010602011771号