Codecha - True Programmers' CAPTCHA

5    25 Jul 2015 21:01 by u/14d2025

10 comments

1

It's nifty but really a gimmick. I can't think of many cases where this is better than existing captchas (especially the new Google checkbox ones).

It could be used to filter out impatient and lazy users who just couldn't be bothered with it (I'd be one of them) haha.

1

So, I can run arbitrary code on someone's website? That's pretty neat!

1

Glancing at the Python API, the code is checked on the Codecha's servers, not the websites servers. So, you aren't going to be able to run arbitrary code on Amazon.com if they, hypothetically, decided to use this.

I imagine the checking done on Codecha's servers is done in a protected environment, such as chroot, or a Linux container. If not, then they will get exactly what they deserve.

0

True, but it didn't do anything to stop me from importing os with python.

0

I guess the next step would be to gather pertinent information and POST it back to your machine.

But at that point, you are getting into dangerous territory. Expect Agent Smith to show up at your door.

I guess, if you are curious, here are some questions.

  1. What is the nature of the environment? Chroot? LXC? Nothing?

  2. Is the environment ephemeral?

  3. Is the environment shared?

  4. Is the executed code hosted inside the environment?

  5. Can the environment be hijacked to return false positives?

  6. Does the environment have a timed kill?

  7. Can I hijack it to mine Bitcoin?

Good luck with that.

1

Imagine that stackoverflow using this as captcha for posting question. Mind-blown.

0

Kinda sad to see that there isn't a C# version of the captcha's

0

true...

0

Nice idea.

Needs more than one language though. I don't want to learn Python just to be able to use some website.

0

The java one seems to use an old version of java, doesn't support lambdas for sure and possibly auto boxing, currently complaining of a runtime error that works perfectly on my machine.