FlareSolverr/FlareSolverr

Some Anti devtool scripts redirect to other domain, returning no cookie while challenge is correctly resolved

開放

#1,000 建立於 2023年12月11日

 (8 則留言) (0 個反應) (0 位負責人)Python (438 個分叉)batch import
help wantedneeds investigation

倉庫指標

星標
 (4,368 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Have you checked our README?

  • I have checked the README

Have you followed our Troubleshooting?

  • I have followed your Troubleshooting

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you checked the discussions?

  • I have read the Discussions

Environment

- FlareSolverr version: 3.3.11
- Last working FlareSolverr version: the one that doesn't open devtool
- Operating system: Ubuntu
- Are you using Docker: yes
- FlareSolverr User-Agent : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
- Are you using a VPN: no
- Are you using a Proxy: no
- Are you using Captcha Solver: no
- URL to test this issue: doesn't matter

Description

If a website use a script like https://github.com/theajack/disable-devtool , it detects devtool window open and redirect to another domain resulting to unwanted values for ->solution (empty solution->cookie is the main problem).

It should keep the last values from the domain challenged or disabling client url redirection if the domain is different from the requested one.

Logged Error Messages

[solution] => 
(
	[url] => https://theajack.github.io/disable-devtool/404.html?h=<url-challenged>
	[status] => 200
	[cookies] => Array
	(
	)

	[userAgent] => Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
)

Screenshots

No response

貢獻者指南