Closed 1024bit closed 1 year ago
您好,东西写得非常棒! 但是下面这段校验验证码的代码无法通过,返回的resolved字段总是false, 另外shellsig=709707142d65bbf48ac1671757ee0fd1996e2943,这个字段的值是否需要每次都更新或者从哪里获取; 不胜感谢!
if (url.equals("/edgesvc/turing/captcha/create")) {//请求验证码图片 System.out.println(ip + ":请求验证码图片"); Map<String, String> headers = new HashMap<>(); headers.put("referer", "https://edgeservices.bing.com/edgesvc/chat?udsframed=1&form=SHORUN&clientscopes=chat,noheader,channelstable,&shellsig=709707142d65bbf48ac1671757ee0fd1996e2943&setlang=en-US&lightschemeovr=1"); return goUrl(session,"https://edgeservices.bing.com/edgesvc/turing/captcha/create",headers); } if (url.equals("/edgesvc/turing/captcha/verify")) {//提交验证码 System.out.println(ip + ":提交验证码"); Map<String, String> headers = new HashMap<>(); headers.put("referer", "https://edgeservices.bing.com/edgesvc/chat?udsframed=1&form=SHORUN&clientscopes=chat,noheader,channelstable,&shellsig=709707142d65bbf48ac1671757ee0fd1996e2943&setlang=en-US&lightschemeovr=1"); return goUrl(session,"https://edgeservices.bing.com/edgesvc/turing/captcha/verify?"+session.getQueryParameterString(),headers); }
我也不清楚,这些全都是猜的。不过我测试过几次是可以通过的。
您好,东西写得非常棒! 但是下面这段校验验证码的代码无法通过,返回的resolved字段总是false, 另外shellsig=709707142d65bbf48ac1671757ee0fd1996e2943,这个字段的值是否需要每次都更新或者从哪里获取; 不胜感谢!