声明:
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
有相关问题请第一时间头像私信联系我删除博客!
前言
研究腾讯滑块发现他有点邪门额有些奇奇怪怪的风控bug,不知道是不是他们自己程序有问题。
逆向过程
部分关键代码
RTCPeerConnection=function(){} RTCPeerConnection.prototype.onicecandidate=function(a){console.log('onicecandidate',a) } RTCPeerConnection.prototype.createDataChannel=function(a){console.log('createDataChannel',a)// return dtavm.proxy({},a) } RTCPeerConnection.prototype.createOffer=function(a){console.log('createOffer',a)return new Promise(function(resolve,reject){// resolve(dtavm.proxy({},'offer'))}) } RTCPeerConnection.prototype.setLocalDescription=function(a){console.log('setLocalDescription',a) } RTCPeerConnection.prototype.setRemoteDescription=function(a){console.log('setRemoteDescription',a) } RTCPeerConnection.prototype.addIceCandidate=function(a){console.log('addIceCandidate',a) } RTCPeerConnection.prototype.createOffer=function(a){console.log('createOffer',a)return new Promise(function(resolve,reject){// resolve(dtavm.proxy({},'offer'))}) } navigator.mediaDevices = {getUserMedia: function () {return new Promise(function (resolve, reject) {// resolve(dtavm.proxy({},'media'))})} } webkitRTCPeerConnection=function(){}
history = {}document.referrer = "" setInterval = function (a,b) { } setTimeout = function (a,b) { }