Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Gr3ml1n

macrumors newbie
Original poster
May 1, 2016
1
0
I was wondering if someone could point me in the right direction to develop a program for mac that will solve captcha and auto input the letter. There will be a total of 9 letters to choose from.

I want to open my browser, go to the captcha page, where my program would recognize the letters. Can someone point me in the right direction?
 
I was wondering if someone could point me in the right direction to develop a program for mac that will solve captcha and auto input the letter. There will be a total of 9 letters to choose from.

I want to open my browser, go to the captcha page, where my program would recognize the letters. Can someone point me in the right direction?

I can give you some ideas/starting points. The best starting examples you will find use python. Essentially here is what you will do. Take the captcha from the website feed it into a python script that uses OpenCV with machine learning to recognize the letters. This is fairly straightforward and there are plenty of examples with OpenCV and python. Then have it dump out to you a string containing the letters/digits/text.

Bypass Captcha using 10 lines of code with Python, OpenCV (I won't guarantee that this always works but it gives you a starting point)
https://gist.github.com/chroman/5679049
 
Only somewhat related, there was a "voting" website once that let people cast a vote for something, up to one vote per minute. I was corralled into the voting by family, and after 30-60 minutes decided that this was really dumb, so I wrote a tiny webpage with a form with the key ids for what we were voting for, and set the page to refresh every minute, thereby casting my votes automatically.

After some click-fraud (related to google ad words, not my thing) the admin added a captcha to every 5th vote that one cast. After studying the javascript for a bit I determined that the captcha was handled by a third party where the javascript would query if the captcha text was correct and the third party would respond yes or no. I made a new program in C# that would do an http post to submit the vote on a timer. If a captcha was required, my program would very helpfully inform the website that yes, I had indeed typed it correctly (I promise!).

And thus the captcha was bypassed.

Aftermath, for the curious:

Somewhat amusingly, the web server powering this website was underpowered and would stop serving pages (http GET) for up to a few hours at a time. However, it would always process my program's incoming POSTs. So the website would go down and when it came back up our faction's votes would have jumped several hundred while the other faction's stayed the same. This caused all manner of chaos in the (very crazy, very rabid) user base. It remained entertaining for a few rounds of voting (each round lasted a week), and then I got bored with it and washed my hands of the whole mess.

The site creator was a med student who's course load was picking up, and he basically dumped the site a month or two after the captcha update.

Experimenting after everyone but about (literally) two users had abandoned the site, I determined that there was no validation for which voting period would accept votes. It was possible to log votes against a future period, and when that period finally arrived the voted for item would have a head start of however many votes had been cast.
 
  • Like
Reactions: chown33
I was wondering if someone could point me in the right direction to develop a program for mac that will solve captcha and auto input the letter. There will be a total of 9 letters to choose from.

I want to open my browser, go to the captcha page, where my program would recognize the letters. Can someone point me in the right direction?
You can easily find many 'captcha bypass scripts' online. Adopt them to your needs. Not sure how sensitive MacRumors would be if I pointed you to a specific site for defeating captcha as it was/is used in their account creation process. Although their's could currently be bypassed with simple js. Captcha = novice level web development achievement.

Captcha scripts have a better / higher / faster pass rate than I ( a human ) can.
 
The point of the captcha is to prevent what you're trying to do.

The evolution is that there are programs out there that can actively solve letter recognition captchas so those are not the latest to be used now. Now I see a lot of the find the street sign or pictures of ATM, etc. If you can write a program that can solve the latter, you have just solved a major problem in machine learning...
 
You can easily find many 'captcha bypass scripts' online. Adopt them to your needs. Not sure how sensitive MacRumors would be if I pointed you to a specific site for defeating captcha as it was/is used in their account creation process. Although their's could currently be bypassed with simple js. Captcha = novice level web development achievement.

Captcha scripts have a better / higher / faster pass rate than I ( a human ) can.
Any real captcha system is going to have a server-side check for it. Not that those can't be defeated in another way.

Fun times to be had, captcha makers vs breakers :)
 
The point of the captcha is to prevent what you're trying to do.

The evolution is that there are programs out there that can actively solve letter recognition captchas so those are not the latest to be used now. Now I see a lot of the find the street sign or pictures of ATM, etc. If you can write a program that can solve the latter, you have just solved a major problem in machine learning...

I don't think you understand machine learning. Someone doesn't write a program to recognize a street sign. Using deep learning or something like a svm. Is an automated process. The algorithms use training examples to build a model. In the case of deep learning it works by passing an image through a neural net and generating weights at each neuron that best classify that particular example(this is a very high level explanation).

Given enough examples you could very easily do what you described with deep learning it would be trivial. There are much much harder challenges in machine learning. These things include what activation function to use on each neuron. The best is currently ReLU. How best to handle gradient descent and the vanishing gradient in back propagation phase of training, minimizing the vc dimension to lower the amount of data required for training. Reducing the computation complexity. Deep learning is only possible with GPU computing.
 
  • Like
Reactions: Mcmeowmers
I remember reading something where captcha's were being bypassed by having the audio assistant used. It was easier to decipher the audio than the words.
 
The point of the captcha is to prevent what you're trying to do.

The evolution is that there are programs out there that can actively solve letter recognition captchas so those are not the latest to be used now. Now I see a lot of the find the street sign or pictures of ATM, etc. If you can write a program that can solve the latter, you have just solved a major problem in machine learning...
Well, in one way that's already been done for quite a while. Automatic systems in the UK can take a photograph of your car, find the number plate - decode it and have a speeding fine in the post before you get home.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.