[fix] google: switch to using "Google App" for Android useragent (#5892)

I found a bypass using the Android Google App this time. However, unlike the iPhone GSA method, this one does have rate limits. Although it took a couple of hundred consecutive requests to trigger them.
This commit is contained in:
mg95
2026-03-23 16:55:48 +03:00
committed by GitHub
parent 6c7e9c1976
commit 2c1ce3bd37
4 changed files with 1548 additions and 61 deletions

View File

@@ -26,7 +26,7 @@ def fetch_gsa_useragents() -> list[str]:
suas: set[str] = set()
for ua in loads(decompress(response.content)):
if ua["platform"] == "iPhone" and "GSA" in ua["userAgent"]:
if "Android" in ua["userAgent"] and "Chrome" in ua["userAgent"] and "Samsung" not in ua["userAgent"]:
suas.add(ua["userAgent"])
luas = list(suas)