12306 Verification Code cracking ideas, 12306 Verification Code ideas
A 12306 Verification Code cracking idea,
Image Acquisition + Probability
// Analysis:
1. There are 8 images in a single verification code, up to 8 types, at least not sure
2. 8 charts are arranged by rules, which can be easily separated.
3. The image library should be limited. You can collect and calculate the hash data into the database. here you need to associate images of the same type.
(For example, "Cup" and "brush)
Note: The image hash here is not md5. There are many algorithms. Search for them by yourself.
// Below, let me assume that the image has been collected and the classification is complete, and start recognition:
1. Select a verification code and separate it into eight images, calculate the hash, and then query the corresponding
Type (such as "Cup" and "brush"). The image recognition accuracy rate is assumed to be 100%.
2. Select a type randomly queried in the previous step and click the corresponding location. We do not need to identify the above
For Chinese characters, in probability, in extreme cases, 8 images are different. The random selection accuracy is 12.5%. So,
In theory, you can log on successfully within 8 attempts.
// Difficulties:
1. It may be difficult to classify images of the same type.
// Some suggestions for increasing the recognition difficulty
1. Add linear interference to the image or distort the image.
2. 8 images are arranged irregularly, making it difficult to separate
// Some ideas based on past experience have not been put into practice. Thank you...
The above is all the content of this article. Please take a moment to share the article with your friends or leave a comment. Thank you for your support!