Captcha Breaking :: Getting Naughty Once Again

Breaking CAPTCHA: Getting Naughty with Computer Vision……. And Captcha Breaking Experiment in PHP…. These terms now familiar to us. 1st one was made possible by Nadim vai and 2nd one by M. M. Rifat-Un-Nabi. Their post makes me inspire to get naughty once again more simply and more easily. Because I like simplicity ;). I also choosed SomeWhereInDhaka.Net Captcha to do this experiment.

P

That Captcha Which made me Naughty πŸ˜›

The SomeWhereInDhaka.Net CAPTCHA suffers several weaknesses: fixed font face, fixed font size, no distortions and it’s easy to segment. In this experiment, I have developed simple algorithm to break the SomeWhereInDhaka.Net CAPTCHA.

  1. At first need the captcha image from the page, We can do it in two way :

    (a) capturing only the captcha portion [I have used php function: imagejpeg()] or,

    (b) capturing the page image by php function and then crop only captcha portion from that page.

  2. So, we got that captcha. Now sampling that captcha image
  3. Match sampling pattern with reference pattern. If matching is true then it will give output, In this case the captcha value. (No need any edit distance algorithm)

I wrote a PHP+JavaScript code to implement this algorithm, which can read captcha and can fill up the form with out any human interaction.

Get Captcha Value with php

Get Captcha Value with php

And finally in bot section again JavaScript proved that its cool than anything.
I used simple JavaScript code which just read the HTML Tag and fill & submit the form automatically.

auto fill up the form by my bot

auto fill up the form by my bot

You can see the effect here.

I post my website ads πŸ˜› as spam. So, isn’t it more simple.

And finally a sympathy will goes for SomeWhereInDhaka.Net. And also I would like to thanks them because they not change there captcha yet. and it help me to make this experiment :D. So, my friends if wana see weak captcha then what are you waiting for – just log in to SomeWhereInDhaka.Net and keep getting naughty :P.

Advertisements