hook 无限debugger(猿人学第十四题)

 

猿人学第十四题 

检测太多了,debugger  fiddler替换无法实现、置空也不行。推荐使用hook  Function原生的构造

var func_ = Function.prototype.constructor
Function.prototype.constructor = function(x){if(x === "debugger"){return {}} return func_(x)}

 

posted @ 2021-10-07 19:55  山水无期  阅读(714)  评论(0)    收藏  举报