How the current verification was overriden #28
Answered
by
ttdyce
MahtabAlam991
asked this question in
Q&A
-
I stumbled upon this and what I found fascinating at least for me was that this app was able to override the human verification that the official website imposes, I would love to know how this was achieved. |
Beta Was this translation helpful? Give feedback.
Answered by
ttdyce
Jul 9, 2023
Replies: 1 comment 1 reply
-
Actually, sometimes the site skip the human verification automatically and the app just check if it happens. You can see the code around here: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ttdyce
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
NHentai-NHViewer/app/src/main/java/com/github/ttdyce/nhviewer/view/SplashActivity.java
Lines 49 to 69 in 3bc7e4c