|
楼主 |
发表于 2019-4-17 13:31:28
|
显示全部楼层
山西省大同市
窗口程序集名 | 保 留 | 保 留 | 备 注 | 唯品会 | | | | 变量名 | 类 型 | 数组 | 备 注 | http | WinHttpW | | pid | 文本型 | |
http. Auto (真)http. AutoCookies (1 ) 变量名 | 类 型 | 静态 | 数组 | 备 注 | url | 文本型 | | | sid | 文本型 | | | id | 文本型 | | | cid | 文本型 | | |
url = “https://passport.vip.com/register”http. Open (“get”, url )http. SetUserAgent (“Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”)http. Send (, , )http. CookieAdd (“_jzqco=%7C%7C%7C%7C%7C1.122706814.1554872554542.1554872554542.1554872554542.1554872554542.1554872554542.0.0.0.1.1”)线程_初始化COM库 ()sid = “mars_sid=” + getsid ()id = “visit_id=” + getid ()cid = “mars_cid=” + getcid ()cid = 子文本替换 (cid, “NaN”, “”, , , 真)http. CookieAdd (“mars_pid=0”)http. CookieAdd (sid )http. CookieAdd (id )http. CookieAdd (cid )调试输出 (sid, id, cid )程序_延时 (2000, )调试输出 (http. Cookies ()) 变量名 | 类 型 | 静态 | 数组 | 备 注 | url | 文本型 | | | data | 文本型 | | | rel | 文本型 | | | sid | 文本型 | | | id | 文本型 | | | cid | 文本型 | | |
url = “https://passport.vip.com/register/sendSms”data = “mobile=” + 手机号 + “&captchaId=&captchaTicket=”http. Open (“post”, url )http. SetContentType (“application/x-www-form-urlencoded; charset=UTF-8”)http. SetReferer (“https://passport.vip.com/register”)http. SetUserAgent (“Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”)http. Send (data, , )rel = http. GetResponseTextUtf8ToAnsi ()调试输出 (rel )如果真 (寻找文本 (rel, “执行成功”, , 假) = -1 )返回 (假)pid = 文本_取中间 (rel, #pid, #引号, , , , )返回 (真)变量名 | 类 型 | 静态 | 数组 | 备 注 | url | 文本型 | | | cookie | 文本型 | | | pwd | 文本型 | | | data | 文本型 | | | rel | 文本型 | | | msg | 文本型 | | |
cookie = “times_” + 手机号 + “=9”pwd = getpwd (密码 )线程_取消COM库 ()http. CookieAdd (cookie )data = “mobile=” + 手机号 + “&password=” + pwd + “&pid=” + pid + “&captchaCode=” + 验证码 + “&agree=1”调试输出 (data )url = “https://passport.vip.com/register/mobile?v=0.19097972139296426”http. Open (“post”, url )http. SetContentType (“application/x-www-form-urlencoded; charset=UTF-8”)http. SetReferer (“https://passport.vip.com/register”)http. SetUserAgent (“Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”)http. Send (data, , )rel = http. GetResponseTextUtf8ToAnsi ()调试输出 (“zc” + “---------” + rel )cookie = http. Cookies ()http. CookieDel (cookie )如果真 (寻找文本 (rel, “执行成功”, , 假) = -1 )返回 (假)返回 (真) |
|