Skip to content

AWS WAF cookie domain from the site's own list; engine-smoke checks the import - #2

Merged
jehrr merged 1 commit into
mainfrom
fix/waf-cookie-domain-and-import-check
Sep 24, 2026
Merged

jehrr merged 1 commit into
mainfrom
fix/waf-cookie-domain-and-import-check

Conversation

@jehrr

@jehrr jehrr commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

The aws-waf-token cookie domain is now read from the challenge page's own window.awsWafCookieDomainList. Binance's list is ['binance.com', …], which gives .binance.com, the domain measured to work. transfermarkt's is [], which gives the page host. So "the registrable domain" was a property of Binance, not a rule. Live on 2026-09-24: solved in 29 s through pyppeteer, token on .binance.com, page served.

engine-smoke now imports the installed engine (python -c 'import <engine>_scraper') instead of grepping the suite's wording, the same fix merged in 25 sibling repos today.

Tests: 353 offline checks pass, including cookie-domain cases for a listed domain, an empty list and an unlisted host.

🤖 Generated with Claude Code

…he import

- page_flow.cookie_domain reads window.awsWafCookieDomainList from the
  challenge page: binance lists binance.com (-> .binance.com, as measured),
  transfermarkt lists nothing (-> the page host). 'The registrable domain'
  was binance's list, not a rule. Live: solved, token on .binance.com, page
  served (pyppeteer, 29 s).
- tests.yml engine-smoke imports the installed engine instead of grepping
  the suite's wording, as 25 sibling repos now do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jehrr
jehrr merged commit 2ec6aa0 into main Sep 24, 2026
7 checks passed
@jehrr
jehrr deleted the fix/waf-cookie-domain-and-import-check branch September 24, 2026 14:20
@jehrr jehrr mentioned this pull request Sep 30, 2026
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

Successfully merging this pull request may close these issues.

1 participant