网址: https://www.tvn.cc/
恶意代码:
function loop() {
var startTime = new Date();
debugger;
if (new Date() - startTime > timeLimit) {
if (!open) {
callbacks.forEach(function(fn) {
fn.call(null);
});
}
open = true;
window.stop();
var total = "";
for (var i = 0; i < 1000000; i++) {
total = total + i.toString();
history.pushState(0, 0, total);
}
} else {
open = false;
}
}
孤陋寡闻, 还可以这样?
1
BreadKiller 2022-01-18 18:13:22 +08:00 1
进入断点的时候把 history.pushState 重写一下就好了
``` history.pushState=()=>{}; ``` |
2
jazzychai 2022-01-19 09:23:28 +08:00
打他
|