驾照科目1挂机神器
本文仅供技术学习研究,不能用于商业或其它非法用途,否则由使用者承担法律责任。
1、用电脑登录网站并开始挂时
2、每隔15分钟的验证
挂时中每隔15分钟会弹出一个图片数学题,验证后才会继续计时。
查看网页源代码,我们可以发现每5分钟会自动保存学时到后台。
每15分钟会弹出验证码对话框。
function autoSave(){
var flag=$("#flag").val();
//满5分钟,学时保存到后台
if(flag=="0"&¤tTrained%300==0&& isMatch !="true" && toDayTimeFull !="true"){
jQuery.post("/gzpt/admin/train/autoSave", params, function(data){
})
}
//15分钟弹出验证码框
if(flag=="0" && currentTrained%900==0 && isMatch !="true" && toDayTimeFull!="true"){
computee();
}
}
function computee (){
$("body").stopTime(autoCalculate);
var eventUrl = "/gzpt/admin/train/susPendTime";
jQuery.ajax({
type:"post",
url:eventUrl
});
$("#flag").val("1");
art.dialog({id: 'tipsDia2'}).close();
var obj = $("#compute");
tipsDia2(obj[0],true);
}
3、跳过验证
通过源代码我们知道验证逻辑是computee ()函数实现的,要跳过验证最简单的方法就是把这个函数逻辑覆盖。
按F12弹出浏览器开发者工具,切换到控制台。
输入computee = function() {console.log('继续')}
这样computee函数逻辑就改好了。
切换到网络tab,我们可以发现过了15分钟,有几个autosave的请求且页面计时还在继续,说明不会再弹出验证码。