public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_LOGIN_EMAIL); req.AddGetValue("fun", "passport"); req.AddGetValue("from", "webqq"); req.AddGetValue("Referer", "https://mail.qq.com/cgi-bin/loginpage"); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_GROUP_INFO_EXT); req.AddGetValue("gcode", group.Code + ""); req.AddGetValue("vfwebqq", Context.Session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_USER_LEVEL); QQSession session = Context.Session; req.AddGetValue("tuin", user.Uin + ""); req.AddGetValue("t", DateUtils.NowTimestamp() + ""); req.AddGetValue("vfwebqq", session.Vfwebqq); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_SEND_INPUT_NOTIFY); QQSession session = Context.Session; req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("to_uin", user.Uin + ""); req.AddGetValue("t", DateUtils.NowTimestamp() + ""); req.AddGetValue("psessionid", session.SessionId); return(req); }
public override QQHttpRequest OnBuildRequest() { IHttpService httpService = Context.GetSerivce <IHttpService>(QQServiceType.HTTP); QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_PT4_AUTH); req.AddGetValue("daid", "4"); req.AddGetValue("appid", "1"); req.AddGetValue("auth_token", QQEncryptor.Time33(httpService.GetCookie("supertoken", QQConstants.URL_CHANNEL_LOGIN).Value) + ""); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_DISCUZ_LIST); req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() + ""); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_WP_KEY); req.AddGetValue("r", "0.7975904128979892"); req.AddGetValue("resp_charset", "UTF8"); req.AddGetValue("ef", "js"); req.AddGetValue("sid", sid); req.AddGetValue("Referer", "http://mail.qq.com/cgi-bin/frame_html?sid=" + sid); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_CAPTCHA); req.AddGetValue("aid", QQConstants.APPID); req.AddGetValue("r", new Random().NextDouble().ToString("f16")); req.AddGetValue("uin", _uin + ""); // 20150724增加 req.AddGetValue("cap_cd", Context.Session.CapCd); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_OFFPIC); QQSession session = Context.Session; req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("f_uin", msg.From.Uin + ""); req.AddGetValue("file_path", offpic.FilePath); req.AddGetValue("psessionid", session.SessionId); req.OutputStream = picOut; return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_SHAKE_WINDOW); req.AddGetValue("to_uin", user.Uin + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("t", DateUtils.NowTimestamp() + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_ONLINE_BUDDY_LIST); req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_SESSION_MSG_SIG); if (user is QQGroupMember) { QQGroupMember mb = user as QQGroupMember; mb.ServiceType = 0; req.AddGetValue("id", mb.Group.Gin + ""); req.AddGetValue("service_type", "0"); // 0为群,1为讨论组 } else if (user is QQDiscuzMember) { QQDiscuzMember mb = (QQDiscuzMember)user; mb.ServiceType = 1; req.AddGetValue("id", mb.Discuz.Did + ""); req.AddGetValue("service_type", "1"); // 0为群,1为讨论组 } else { // LOG.info("GetSessionMsgSigAction unknow type :" + user); } req.AddGetValue("to_uin", user.Uin + ""); req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_LOGOUT); req.AddGetValue("ids", ""); // 产生过会话才出现ID,如何获取?? req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_CUSTOM_FACE_SIG); req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("t", DateTime.Now.CurrentTimeMillis() / 1000 + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_USER_SIGN); req.AddGetValue("tuin", buddy.Uin + ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = this.Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_CHANGE_STATUS); req.AddGetValue("newstatus", _status.Value); req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("t", DateTime.Now.CurrentTimeMillis() / 1000 + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { /* * tuin 236557647 * verifysession * code * vfwebqq efa425e6afa21b3ca3ab8db97b65afa0535feb4af47a38cadcf1a4b1650169b4b4eee9955f843990 * t 1346856270187 */ QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_FRIEND_INFO); req.AddGetValue("tuin", buddy.Uin + ""); req.AddGetValue("verifysession", ""); //难道有验证码??? req.AddGetValue("code", ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = null; switch (robotType) { case RobotType.Tuling: { req = CreateHttpRequest("GET", QQConstants.URL_ROBOT_TULING); req.AddGetValue("key", QQConstants.ROBOT_TULING_KEY); req.AddGetValue("info", input.GetText()); // req.AddGetValue("userid", input.From.Uin.ToString()); break; } case RobotType.Moli: { req = CreateHttpRequest("GET", QQConstants.URL_ROBOT_MOLI); req.AddGetValue("limit", "5"); req.AddGetValue("question", input.GetText()); req.AddGetValue("api_key", QQConstants.ROBOT_MOLI_KEY); req.AddGetValue("api_secret", QQConstants.ROBOT_MOLI_SECRET); // req.AddGetValue("type", "json"); break; } } return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_QRCODE); req.AddGetValue("appid", "501004106"); req.AddGetValue("e", "0"); req.AddGetValue("l", "M"); req.AddGetValue("s", "5"); req.AddGetValue("d", "72"); req.AddGetValue("v", "4"); req.AddGetValue("4", new Random().Next().ToString()); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("POST", QQConstants.URL_UPLOAD_CUSTOM_FACE); req.AddGetValue("time", DateUtils.NowTimestamp() / 1000 + ""); req.AddPostValue("from", "control"); req.AddPostValue("f", "EQQ.Model.ChatMsg.callbackSendPicGroup"); req.AddPostValue("vfwebqq", session.Vfwebqq); req.AddPostValue("fileid", Context.Store.GetPicItemListSize() + ""); req.AddPostFile("custom_face", file); return(req); }
/* (non-Javadoc) * @see iqq.im.action.AbstractHttpAction#OnBuildRequest() */ /** {@inheritDoc} */ public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_GROUP_PIC); // fid 3648788200 // gid 2890126166 // pic {F2B04C26-9087-437D-4FD9-6A0ED84155FD}.jpg // rip 123.138.154.167 // rport 8000 // t 1365343106 // type 0 // uin 3559750777 // vfwebqq 70b5f77bfb1db1367a2ec483ece317ea9ef119b9b59e542b2e8586f7ede6030ff56f7ba8798ba34b // "cface", // { // "name": "{F2B04C26-9087-437D-4FD9-6A0ED84155FD}.jpg", // "file_id": 3648788200, // "key": "pcm4N6IKmQ852Pus", // "server": "123.138.154.167:8000" // } QQSession session = Context.Session; req.AddGetValue("fid", cface.FileId + ""); req.AddGetValue("gid", (msg.Group != null ? msg.Group.Code : msg.Discuz.Did) + ""); req.AddGetValue("pic", cface.FileName); string[] parts = cface.Server.Split(':'); req.AddGetValue("rip", parts[0]); req.AddGetValue("rport", parts[1]); req.AddGetValue("t", DateUtils.NowTimestamp() + ""); req.AddGetValue("type", msg.Group != null ? "0" : "1"); req.AddGetValue("uin", msg.From.Uin + ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.OutputStream = picOut; return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_EMAIL_POLL); req.AddGetValue("r", new Random().NextDouble() + ""); req.AddGetValue("u", Context.Account.Username); req.AddGetValue("s", "7"); req.AddGetValue("k", sid); req.AddGetValue("t", t + ""); req.AddGetValue("i", "30"); req.AddGetValue("r", new Random().NextDouble() + ""); req.ReadTimeout = 70 * 1000; req.ConnectTimeout = 10 * 1000; req.AddHeader("Referer", "http://wp.mail.qq.com/ajax_proxy.html?mail.qq.com&v=110702"); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_STRANGER_INFO); req.AddGetValue("tuin", user.Uin + ""); req.AddGetValue("verifysession", ""); // ? req.AddGetValue("gid", "0"); req.AddGetValue("code", ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_USER_FACE); req.AddGetValue("uin", group.Code + ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddGetValue("cache", "0"); req.AddGetValue("type", "4"); req.AddGetValue("fid", "0"); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_USER_FACE); req.AddGetValue("uin", user.Uin + ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddGetValue("cache", 0 + ""); // ?? req.AddGetValue("type", 1 + ""); // ?? req.AddGetValue("fid", 0 + ""); // ?? req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { IHttpService httpService = Context.GetSerivce <IHttpService>(QQServiceType.HTTP); QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("POST", QQConstants.URL_UPLOAD_OFFLINE_PICTURE); req.AddGetValue("time", DateUtils.NowTimestamp() / 1000 + ""); req.AddPostFile("file", this.file); req.AddPostValue("callback", "parent.EQQ.Model.ChatMsg.callbackSendPic"); req.AddPostValue("locallangid", "2052"); req.AddPostValue("clientversion", "1409"); req.AddPostValue("uin", Context.Account.Uin + ""); // 自己的账号 req.AddPostValue("skey", httpService.GetCookie("skey", QQConstants.URL_UPLOAD_OFFLINE_PICTURE).Value); req.AddPostValue("appid", "1002101"); req.AddPostValue("peeruin", user.Uin + ""); // 图片对方UIN req.AddPostValue("fileid", "1"); req.AddPostValue("vfwebqq", session.Vfwebqq); req.AddPostValue("senderviplevel", Context.Account.Level.Level + ""); req.AddPostValue("reciverviplevel", user.Level.Level + ""); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; // tuin=4245757755&verifysession=&type=1&code=&vfwebqq=**&t=1361631644492 QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_USER_ACCOUNT); req.AddGetValue("tuin", buddy.Uin + ""); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddGetValue("verifysession", ""); // 验证码?? req.AddGetValue("type", 1 + ""); req.AddGetValue("code", ""); req.AddHeader("Referer", QQConstants.REFFER); return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_GET_CFACE2); // clientid=12202920 // count=5 // guid=4D72EF8CF64D53DECB31ABC2B601AB23.jpg // lcid=16059 //msg_id // psessionid=8368046764001e636f6e6e7365727665725f77656271714031302e3133332e34312e32303200002a5400000a2c026e04004f95190e6d0000000a40345a4e79386b71416e6d000000280adff44c88196358dadc9fa075334fd6293f7e6a0020a86cad689c240384e54cbb329be8dd5f0c3f // time=1 // to=3559750777 //from_uin QQSession session = Context.Session; req.AddGetValue("clientid", session.ClientId + ""); req.AddGetValue("to", msg.From.Uin + ""); req.AddGetValue("guid", cface.FileName); req.AddGetValue("psessionid", session.SessionId); req.AddGetValue("count", "5"); req.AddGetValue("lcid", msg.Id + ""); req.AddGetValue("time", "1"); req.OutputStream = picOut; return(req); }
public override QQHttpRequest OnBuildRequest() { QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_CHECK_QRCODE); req.AddGetValue("webqq_type", "10"); req.AddGetValue("remember_uin", "1"); req.AddGetValue("login2qq", "1"); req.AddGetValue("aid", "501004106"); req.AddGetValue("u1", "http://w.qq.com/proxy.html?login2qq=1&webqq_type=10"); req.AddGetValue("ptredirect", "0"); req.AddGetValue("ptlang", "2052"); req.AddGetValue("daid", "164"); req.AddGetValue("from_ui", "1"); req.AddGetValue("pttype", "1"); req.AddGetValue("dumy", ""); req.AddGetValue("fp", "loginerroralert"); req.AddGetValue("action", "0-0-4434"); req.AddGetValue("mibao_css", "m_webqq"); req.AddGetValue("t", "1"); req.AddGetValue("g", "1"); req.AddGetValue("js_type", "0"); req.AddGetValue("js_ver", "10135"); req.AddGetValue("login_sig", ""); req.AddGetValue("pt_randsalt", "0"); return(req); }
public override QQHttpRequest OnBuildRequest() { QQSession session = Context.Session; QQHttpRequest req = CreateHttpRequest("GET", QQConstants.URL_SEARCH_GROUP_INFO); //我不知道以下4个参数干啥?但是一致! req.AddGetValue("c1", "0"); req.AddGetValue("c2", "0"); req.AddGetValue("c3", "0"); req.AddGetValue("st", "0"); req.AddGetValue("pg", buddy.CurrentPage + ""); req.AddGetValue("perpage", buddy.PageSize + ""); req.AddGetValue("all", buddy.KeyStr); req.AddGetValue("vfwebqq", session.Vfwebqq); req.AddGetValue("t", DateUtils.NowTimestamp() / 1000 + ""); req.AddGetValue("type", 1 + ""); req.AddGetValue("vfcode", ""); return(req); }