Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

一键互评被ban掉了 #6

Closed
tzway opened this issue May 20, 2020 · 16 comments
Closed

一键互评被ban掉了 #6

tzway opened this issue May 20, 2020 · 16 comments
Assignees
Labels
enhancement New feature or request

Comments

@tzway
Copy link

tzway commented May 20, 2020

如题,今天上午到中午网易一直在显示系统繁忙(估计是在维护),下午使用的时候就被ban掉了。
填充功能正常。无法正常跳转,原来的click事件失效。

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

马上修复

@unbyte unbyte self-assigned this May 20, 2020
@rubbish-and-world
Copy link

作者太强了(貌似网易用了preventDefault()阻止了click)

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

不考虑firefox的话,问题很好解决
但是为了兼容firefox我需要找另一种方案

https://stackoverflow.com/questions/11456705/are-events-generated-by-firefox-extension-trusted

@rubbish-and-world
Copy link

The isTrusted read-only property of the Event interface is a Boolean that is true when the event was generated by a user action, and false when the event was created or modified by a script or jidispatched via EventTarget.dispatchEvent().

这种方式相当于直接把脚本禁了,大佬是如何bypass的呢?:open_mouth:

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

刚刚试了一下同时也把chrome.debugger禁了,现在唯一思路就是在被拦截前先拦截addEventListener

@tzway
Copy link
Author

tzway commented May 20, 2020

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

Javascript-Anti-Anti-debugger-Code-Protection

这个和慕课的anti debugger不是同一种东西

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

目前线索:

  1. 拦截js是动态插入的
  2. 我在document_start时注入插件脚本,此时拦截js已经被插入
  3. chrome.debugger被禁用
  4. 判断方式是只读属性isTrusted,除了chrome.debugger似乎没有能修改的方法

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

可以互评了,视频如下

ok.zip

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

XD哭笑不得,慕课又更新了把反脚本给更没了,可能他们也还在调试

@tzway
Copy link
Author

tzway commented May 20, 2020

XD哭笑不得,慕课又更新了把反脚本给更没了,可能他们也还在调试

难道是可以乘机fuckitnow吗

@rubbish-and-world
Copy link

射射大佬,已经谢了
太强了:clap::clap::clap:

@unbyte
Copy link
Owner

unbyte commented May 20, 2020

感觉一觉睡醒慕课会又ban了,我尽快找到解决方案吧
这条issue先开着

@unbyte unbyte added the enhancement New feature or request label May 20, 2020
@unbyte
Copy link
Owner

unbyte commented May 26, 2020

目前线索:

  1. 拦截js是动态插入的
  2. 我在document_start时注入插件脚本,此时拦截js已经被插入
  3. chrome.debugger被禁用
  4. 判断方式是只读属性isTrusted,除了chrome.debugger似乎没有能修改的方法

这里测试的时候出现了问题,但是思路是对的。

已经发现了疑似解决方法,缺少一个能测试互评的账号 @karsacui @rubbish-and-world 😂有无可以互评的号方便测试一下的

@tzway
Copy link
Author

tzway commented May 26, 2020

目前线索:

  1. 拦截js是动态插入的
  2. 我在document_start时注入插件脚本,此时拦截js已经被插入
  3. chrome.debugger被禁用
  4. 判断方式是只读属性isTrusted,除了chrome.debugger似乎没有能修改的方法

这里测试的时候出现了问题,但是思路是对的。

已经发现了疑似解决方法,缺少一个能测试互评的账号 @karsacui @rubbish-and-world 😂有无可以互评的号方便测试一下的

发到邮箱了

@unbyte
Copy link
Owner

unbyte commented May 26, 2020

目前线索:

  1. 拦截js是动态插入的
  2. 我在document_start时注入插件脚本,此时拦截js已经被插入
  3. chrome.debugger被禁用
  4. 判断方式是只读属性isTrusted,除了chrome.debugger似乎没有能修改的方法

这里测试的时候出现了问题,但是思路是对的。
已经发现了疑似解决方法,缺少一个能测试互评的账号 @karsacui @rubbish-and-world 😂有无可以互评的号方便测试一下的

发到邮箱了

等不及了,所以手动模拟了一下,应该问题不大,就直接发release了

这个issue先不关,等验证确实可以互评之后关掉

@unbyte unbyte closed this as completed in b0f329d May 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants