摘要: dll文件(自定义函数) 1 _declspec(dllexport) void autoadd() 2 { 3 int *p = (int*)0xdc0c4d0; 4 *p = 5048; 5 } dll文件DLLMain函数 1 BOOL APIENTRY DllMain( HMODULE hM 阅读全文
posted @ 2018-02-23 13:26 喵小喵~ 阅读(119) 评论(0) 推荐(0) 编辑
摘要: taskkill / f / im 自删除.exedel 自删除.exedel 1.bat 阅读全文
posted @ 2018-02-23 13:16 喵小喵~ 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 包含头文件 1 #include<urlmon.h> 连接库 1 #pragma comment(lib,"Urlmon.lib")//链接系统库 下载 1 URLDownloadToFileA(NULL, "http://127.0.0.1/Q.exe", "C:\\sys.exe",0, NUL 阅读全文
posted @ 2018-02-23 13:11 喵小喵~ 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #pragma 输出信息#pragma message 1 #include<stdio.h> 2 3 #pragma message("这里是测试1") 4 5 6 #define X86 7 8 #ifdef X86 9 #pragma message("这里是测试2") 10 #endif 1 阅读全文
posted @ 2018-02-23 12:54 喵小喵~ 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 写入 按照字符串读取 1 GetPrivateProfileStringA("hello money", infx[i].name, "NULL", money, 40, "1.ini"); 函数原型: 1 GetPrivateProfileStringA( 2 _In_opt_ LPCSTR lp 阅读全文
posted @ 2018-02-23 12:23 喵小喵~ 阅读(1811) 评论(0) 推荐(0) 编辑
摘要: define把参数变成字符串 1 #define f(x) printf("%s",#x); define连接两个字符串 1 #define a(x) a##x define把参数变成字符 1 #define N(x) #@x 取消#define的作用域 1 #undef MN //取消define 阅读全文
posted @ 2018-02-23 12:09 喵小喵~ 阅读(616) 评论(0) 推荐(0) 编辑