Skip to content

Pass through Cloudflare challenges #1165

@nolanw

Description

@nolanw

Cross-post from Awful.apk thread:

I opened an issue a while back about using Awful from countries where Cloudflare always forces captchas (about once every 1-2 hours), specifically these ones:

Did a little more digging and it seems that they set a cookied called "cf_clearance" with some opaque value. That needs to then be passed back on every request, and the user-agent + IP must not change in between, to gain access to the forums for an hour or so.

I think a way to make this work in Awful would be to detect these captcha pages, then show a web view using the same user-agent as awful that lets the user pass it, and then persist and serve the resulting cookies. Never touched Android code before, but might try to give it a shot.
tazjin

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething that doesn't work the way it shouldWebsite does itSomething that works on the Forums website (which Awful strives to match in functionality)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions