Bypass_Debugger

Bypass无限debugger

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

نووسەر
0xsdeo
Daily installs
0
Total installs
44
Ratings
0 0 0
وەشان
2024-12-31
Created
2024-12-31
Updated
2025-01-01
Size
1.98 KB
مۆڵەت
MIT
Applies to
هەموو سایتەکان

Bypass_Debugger

Intro

该脚本可bypass:

  1. new Function --> debugger
  2. constructor --> debugger
  3. eval --> debugger

注意事项

1.如果发现hook后打开F12依然存在debugger:

  • 建议开着F12在刷新一次。
  • 请检查油猴或其他插件加载的脚本是不是做了同样的操作,例如重写Function等等,个人建议使用时除不是自己写的脚本(指没有做本脚本同样动作的)都关闭。
  • 请检查脚本运行时期是否为document-start

2.我的这段Bypass Debugger脚本,目前已知的只有以下这两种情况不能被bypass掉:

var dbg = function (){
    debugger;
}
setInterval(dbg,3000);

以及直接将debugger写在script当中的:

以上这两种设条件断点就能过(如果不知道怎么设置条件断点的可以去看一下我之前写的反调试与反反调试一文),或者替换也行,不需要hook的,所以我就暂时没去管这个。

3.如果发现hook后站点js出现异常,可以考虑使用备用脚本。

Contact

如有bug或其他问题可关注公众号Spade sec联系我。