摘要: // 02 遍历导入表.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include //************************************ // Method: IsPeFile // FullName: IsPeFile // Access: public // Returns: bool 成功失败... 阅读全文
posted @ 2016-03-28 16:21 天还是那么蓝 阅读(438) 评论(0) 推荐(0) 编辑
摘要: // 01 遍历导出表.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "windows.h" //************************************ // Method: IsPeFile // FullName: IsPeFile // Access: public // Returns: ... 阅读全文
posted @ 2016-03-28 16:20 天还是那么蓝 阅读(595) 评论(0) 推荐(0) 编辑
摘要: // 01 Dll插件Dlg.h : 头文件 // #pragma once #include using std::vector; #include "Shape.h" typedef struct _SHAPE { CPoint Begin; CPoint End; }SHAPE; // CMy01Dll插件Dlg 对话框 class CMy01Dll插件Dlg : p... 阅读全文
posted @ 2016-03-28 16:09 天还是那么蓝 阅读(164) 评论(0) 推荐(0) 编辑
摘要: // 02 解析PE头.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "windows.h" bool IsPeFile(TCHAR* szPath) { BOOL bSuccess = TRUE; //1 将PE文件读取到内存 HANDLE hFile = CreateFile( szPat... 阅读全文
posted @ 2016-03-28 15:47 天还是那么蓝 阅读(753) 评论(0) 推荐(0) 编辑
摘要: // 01 判断是否是PE文件.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include bool IsPeFile(TCHAR* szPath) { //1 将PE文件读取到内存 HANDLE hFile = CreateFile( szPath, GENERIC_READ, ... 阅读全文
posted @ 2016-03-28 15:46 天还是那么蓝 阅读(276) 评论(0) 推荐(0) 编辑
摘要: // PE001.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include //函数声明,转换文件偏移量 DWORD CalcOffect(DWORD Rva); int _tmain(int argc, _TCHAR* argv[]) { //删除文件 //DeleteFile(TEXT("D:\\... 阅读全文
posted @ 2016-03-28 15:39 天还是那么蓝 阅读(1120) 评论(0) 推荐(0) 编辑