Home > Web Front-end > JS Tutorial > 12306 verification code cracking ideas sharing_javascript skills

12306 verification code cracking ideas sharing_javascript skills

WBOY
Release: 2016-05-16 16:07:33
Original
1705 people have browsed it

An idea to crack the 12306 verification code,
Image Collection Probability

//Analysis:
1. There are 8 pictures in a single verification code, with a maximum of 8 types and at least not sure
2. The 8 pictures are arranged regularly and can be easily separated
3. The picture library should be limited and can be collected, hashed and stored in the library. Pictures of the same type need to be associated here
(such as "cup", "brush", etc.)
Note: The image hash here is not md5. There are many algorithms, so search it yourself.

//Next, I assume that the pictures have been collected and the classification has been completed, and I will start the recognition:
1. Select a verification code, divide it into 8 pictures, calculate the hashes respectively, and then query the corresponding
of these hashes Type (such as "cup", "brush", etc.), here it is assumed that the image recognition accuracy rate is 100%

2. Randomly select a type queried in the previous step and click the corresponding position. There is no need to identify the above
here Chinese characters, in terms of probability, in extreme cases, all 8 pictures are different, and the correct rate of random selection is 12.5%. So,
Theoretically, you can successfully log in within 8 attempts.

//Difficulty:
1. The trouble may be to classify, you need to associate pictures of the same type

//Some suggestions to increase the difficulty of recognition
1. Add linear interference to the picture, or distort the picture
2. Arrange 8 pictures irregularly to make them difficult to separate

// Just some ideas based on past experience, but not yet implemented. Comments are welcome...

The above is the entire content of this article. Please take a moment to share the article with your friends or leave a comment. We will sincerely thank you for your support!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template