How does re-captcha work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

How does re-captcha work?

In several sites in internet, bots are avoided using re-captcha by google or some else company. I want to know, how does server knows that user is not a bot? Bcoz, re-captcha is itself a bot. It means, it sends a unique data to server that tells a server that, user is not a bot. But, same idea can bypass recaptcha, isn't it? How it actually tells server about user is not bot??

12th Jul 2019, 4:06 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
6 Answers
+ 9
Checker 8763 I know these all. I just want to know, how Recaptcha tells server that user is not a bot. I mean, how it sends/speaks/says that data to server? 😕
12th Jul 2019, 4:14 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 9
Checker 8763 Thanks, I'll read the whole documentation of Recaptcha. https://developers.google.com/recaptcha/
12th Jul 2019, 4:46 PM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 2
From what I know it collects all sorts of data it can get from the user. Something like cookie data, behaviour on the website, timings and clicks. Or if he can track the users history to other sites. Based on all that data the re-capcha from google can tell if it is a human or a Bot. I am not 100% sure about if this is correct, ply correct me uf I am wrong!
12th Jul 2019, 4:13 PM
Checker 8763
Checker 8763 - avatar
+ 2
To use a Capcha it has to be implemented in the html form, the capcha will return the user-id which can then be checked via the api if its token is valid or not.(Link below) Or if you work with a self made capcha the php script knows the original string an just checks if it matches with the one entered. Maybe that will help: https://developers.google.com/recaptcha/docs/verify
12th Jul 2019, 4:31 PM
Checker 8763
Checker 8763 - avatar
+ 2
I think google not traffic from ur device...then guess its rebot or human
13th Jul 2019, 10:17 AM
Aurang Zeb
Aurang Zeb - avatar
+ 1
Recaptcha was method used by Google to train his AI.
13th Jul 2019, 9:56 PM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar