18,356
社区成员
发帖
与我相关
我的任务
分享
CString str1 = "POST /UserLogin.aspx HTTP/1.1\r\n";
CString str2 = "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/QVOD, application/QVOD, */*\r\n";
CString str3 = "Referer: http://passport.csdn.net/UserLogin.aspx\r\n";
CString str4 = "Accept-Language: zh-cn\r\n";
CString str5 = "Content-Type: application/x-www-form-urlencoded\r\n";
CString str6 = "Accept-Encoding: gzip, deflate\r\n";
CString str7 = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; POTU(RR:28031409:0:5513822); Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; CIBA)\r\n";
CString str8 = "Host: passport.csdn.net\r\n";
CString str9 = "Content-Length: 669\r\n";
CString str10 = "Connection: Keep-Alive\r\n";
CString str11 = "Cache-Control: no-cache\r\n";
CString str17 = "Bh97Uk6ofQQady&ctl00%24CPH_Content%24tb_LoginNameOrLoginEmail=" + m_strUser + "&ctl00%24C";
CString str18 = "PH_Content%24tb_Password=" + m_strPassword +"&ctl00%24CPH_Content%24tb_ExPwd=" + m_strCode + "&ClientKey";