01 2015 档案

摘要:#include "stdafx.h"#include #include #include #include #include #include #pragma comment(lib,"winhttp.lib")void banner() //显示banner{ printf("[-]:Websh... 阅读全文
posted @ 2015-01-21 00:43 杀死比特 阅读(1021) 评论(0) 推荐(0) 编辑
摘要:// chopper.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include int redpwd(char* pwd){ F... 阅读全文
posted @ 2015-01-19 20:32 杀死比特 阅读(749) 评论(0) 推荐(0) 编辑
摘要:第一种方式#include "stdafx.h"#include #include #include #include #include int main(int argc,char** argv){ wchar_t temp[MAX_PATH] = L"Hello:words,what is yo... 阅读全文
posted @ 2015-01-16 13:49 杀死比特 阅读(1063) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"#include #include int Pid;int EnableDebugPriv(const char * name){ HANDLE hToken; TOKEN_PRIVILEGES tp; LUID luid; //打开进程... 阅读全文
posted @ 2015-01-13 15:38 杀死比特 阅读(300) 评论(0) 推荐(0) 编辑
摘要:SERVER:// send_server.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #pragma comment(lib,"ws2_32.lib... 阅读全文
posted @ 2015-01-08 20:29 杀死比特 阅读(396) 评论(0) 推荐(0) 编辑
摘要:不同编码格式下的字符串处理及相互转化:◆ 大家在编程时经常遇到的数据类型:● Ansi:char、char * 、const char *CHAR、(PCHAR、PSTR、LPSTR)、LPCSTR● Unicode:wchar_t、wchar_t * 、const wchar_t *WCHAR、(... 阅读全文
posted @ 2015-01-08 10:47 杀死比特 阅读(256) 评论(0) 推荐(0) 编辑
摘要:字符串占用字节数:● Ansi:char szStr[] = "abc";占用字节数求法:sizeof(szStr);char *psz = "defgh";占用字节数求法:strlen(psz)*sizeof(char);● Unicode:wchar_t szwStr[] = L"abc";占用... 阅读全文
posted @ 2015-01-08 10:46 杀死比特 阅读(683) 评论(0) 推荐(0) 编辑
摘要:WideCharToMultiByte 实现宽字节转换到窄字节MultiByteToWideChar 实现窄字节转换到宽字节WideCharToMultiByte 的代码页用来标记与新转换的字符串相关的代码页;MultiByteToWideChar 的代码页用来标记与一个多字节字符串相关的代码页,[... 阅读全文
posted @ 2015-01-08 10:45 杀死比特 阅读(2164) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示