[C++] Get captcha Solve it and post it

vicellous

Newbie
Dec 6, 2011
3
0
Hi,

I want to know how to retrieve a captcha solve it and then return it to the web page without reloading by using c++. For the http request i using qtnetwork
 
You should just use a captcha service. Different types of captcha take different techniques to solve and some are far more difficult then others.

This is one of those situations (and I don't say this often) where if you have to ask, you probably shouldn't do it.

However, if you insist, what TYPE of captcha are you targeting?
 
Firstly, you have to parse the whole page.
Since you use qt librarys, I recommend using the qt xml parser, which is very fast and easy to use.

After that, you have to get the captcha node. Now, you can work with it.
Depending on the captcha system, each captcha has its unique identifier, which can be posted to captcha-solving services.

You could also get the captcha picture (in most cases enclosed in some <img>...</img> - use the xml parser to find it) and show it to the user, so he/she is able to solve it.

So basically, it's not rocket science, just some simple parsing, GETting and POSTing.

It really depends on the site and captcha type, though. Also, dont expect any source code here. You should be able to do that yourself.

kind regards,
SICK
 
Last edited:
Don't reload the page, just make a post request. You'll need http://curl.haxx.se/libcurl/ for that.
 
No need for curl, you can do POST stuff with qt aswell.

kind regards,
SICK

Im gonna try to code this with qt. I hope that i can get the captcha resolve it with a bypass service and post the result without refresh the page between the two step
 
Qt will be fine for this, and as ppl said, don't try to build a solver. You'll need a massive amount of data consisting of the captcha image, along with the solution, and then use Machine Learning to solve them. The Machine Learning part is not that difficult (computer scientist ;)), it's getting the huge amount of data..
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock