摘要: void __cdecl OutputDebugStringF(const char* format ...){ va_list vlArgs; char* stringBuffer=(char*)GlobalAlloc(GPTR,4096); va_start(vl_Args,format); _ 阅读全文
posted @ 2016-12-29 15:39 zhuh102 阅读(403) 评论(0) 推荐(0) 编辑
摘要: // PETools.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include <windows.h>#include <malloc.h> DWORD len=0; //记录文件 阅读全文
posted @ 2016-12-14 19:46 zhuh102 阅读(755) 评论(0) 推荐(0) 编辑
摘要: // 仿PE文件.cpp : Defines the entry point for the console application.// #include "stdafx.h"#include <windows.h>#include <malloc.h> /*将文件从硬盘读取到缓冲区中参数1 :文 阅读全文
posted @ 2016-12-04 12:49 zhuh102 阅读(944) 评论(0) 推荐(0) 编辑
摘要: 重所周知,有破解就必有防破解,二者本为一体 破解技术就不要我多介绍了,下面我来介绍反调试技术 也就是所谓的防破解技术 反调试技术可以简单通俗的理解为:防止OD分析软件的技术,也就是反调试技术 那么反调试技术又有几种呢? 下面我介绍几种常用反调试技术 首先声明,下面有一部分内容来源百度,若有喷子觉得恶 阅读全文
posted @ 2016-11-30 00:06 zhuh102 阅读(2527) 评论(1) 推荐(0) 编辑
摘要: windows编程 无论是自己注册后创建的窗口,还是,系统默认的窗口,如按钮,复选框,单选框,对话框等都有一个相同的类WENCALSS 每一个窗口都有自己的消息处理函数,只是子窗口的消息处理函数会由系统转化到父窗口的WM_COMMAND消息,然后再根据消息的后两个参数找到消息的ID进行消息处理 可以 阅读全文
posted @ 2016-11-23 13:53 zhuh102 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 任何的PE文件中sys,exe,dll 文件的optionalHeader的时间戳是该文件创建时的时间 导入表中如果TimeStame=0则表示该dll还没有绑定,如果TimeStamp=-1则表示该DLL已经绑定,绑定导入表的意思其实就是说在文件中IAT表中函数的地址就已经确定了 而PE文件中绑定 阅读全文
posted @ 2016-11-21 13:14 zhuh102 阅读(923) 评论(0) 推荐(0) 编辑
摘要: // 动态链接库测试2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <windows.h>//隐式连接:这种连接方式是由编译器自己加载DLL文件的/*#pragma c 阅读全文
posted @ 2016-11-18 19:59 zhuh102 阅读(330) 评论(0) 推荐(0) 编辑
摘要: // 友元函数.cpp : Defines the entry point for the console application.// #include "stdafx.h"class Student{public: Student(int x,int y){ this->x=x; this->y 阅读全文
posted @ 2016-11-04 00:14 zhuh102 阅读(123) 评论(0) 推荐(0) 编辑
摘要: // 单继承虚函数无overload.cpp : Defines the entry point for the console application.// #include "stdafx.h" class Parent{public: virtual void fun1(){ } virtua 阅读全文
posted @ 2016-11-03 15:25 zhuh102 阅读(2049) 评论(0) 推荐(0) 编辑
摘要: // 继承.cpp : Defines the entry point for the console application.// #include "stdafx.h" struct person{ int age; int sex;};struct student:person{ int gr 阅读全文
posted @ 2016-11-02 18:47 zhuh102 阅读(520) 评论(0) 推荐(0) 编辑