Skip to content

How the current verification was overriden #28

Answered by ttdyce
MahtabAlam991 asked this question in Q&A
Discussion options

You must be logged in to vote

Actually, sometimes the site skip the human verification automatically and the app just check if it happens.
It is done using a hidden webview to open the site, and wait for any cookie returned: got cookie means skipped verify, no cookie means required verify.

You can see the code around here:

handler.postDelayed(new Runnable() {
public void run() {
// handle Cloudflare challenge
String cookies = CookieManager.getInstance().getCookie(url);
Log.d("SplashActivitiy", "url: " + url);
Log.d("SplashActivitiy", "Got cookie: " + cookies);
Log.d("…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MahtabAlam991
Comment options

Answer selected by ttdyce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants