Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] 无交互人机验证绕过 #1111

Open
jhqwqmc opened this issue Dec 8, 2024 · 1 comment
Open

[Suggestion] 无交互人机验证绕过 #1111

jhqwqmc opened this issue Dec 8, 2024 · 1 comment

Comments

@jhqwqmc
Copy link

jhqwqmc commented Dec 8, 2024

What would you like to be added or improved?

使用以下代码即可绕过

from selenium import webdriver

options = webdriver.EdgeOptions()
options.add_argument("disable-blink-features=AutomationControlled")
driver = webdriver.Edge(options=options)
driver.execute_cdp_cmd(
    cmd_args={'source': 'console.log = () => {}'},
    cmd="Page.addScriptToEvaluateOnNewDocument",
)
driver.get("https://demo.waf-ce.chaitin.cn:10081/hello.html")

while True: pass

Why is it needed?

因为如果不解决就可以被爬虫滥用

@jhqwqmc
Copy link
Author

jhqwqmc commented Dec 8, 2024

QQ2024129-2359-HD.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant