CodePudding user response:
The simplest approach:Several groups of 0-9, a to z pictures, runtime combination,,,,,,,
CodePudding user response:
Put the letters or Numbers separated, one by oneCodePudding user response:
C/S program verification code is very simple, because you can save the value of the authentication code so validation to compare directly without analysis pictureOn the Image TextOut he stooped down and can do more a few pieces of reproduction
CodePudding user response:
Such programs, usually, fill in the user name, fill in the password, fill out the verification code, then click log in, this time connect to the server (or is itself a single software)Delphi/BC program, the GetTickCount, QueryPerformanceCounter, broken down, determine whether whether Randomize function, if it is, returned back and find the CALL in nearby, to check whether the RandInt, if it is to find a Random address, and then to break under the function, or simply the entrance to XOR EAX, EAX. RET
So each time you log in, most is the fixed captcha
If it is a C program, the broken MSVCRT. Rand, the rest of the operation as the
All in all a truth is: let the random Numbers instead of random fixed number
CodePudding user response:
procedure TForm1. Button1Click (Sender: TObject);
Var
S: a string;
I: Integer;
VPoint: TPoint;
VLeft: Integer;
The begin
Randomize.
S:=Format (' %. 4 d, [the Random (10000)]);
VLeft:=0;
Canvas. FillRect (Canvas. ClipRect);
For I:=1 to Length (S) do
The begin
Canvas, the Font Size:=the Random (10) + 9;
Canvas. The Font. Color:=RGB (Random (256) and $C0,
Random (256) and $C0, Random (256) and $C0);
If the Random (2)=1 then
Canvas, the Font Style: [fsBold]=
The else Canvas. The Font. Style:=[];
Canvas. The Font. The Name:=Screen Fonts [10].
VPoint. X:=the Random (4) + vLeft;
VPoint. Y:=the Random (10);
Canvas. TextOut (vPoint. X, vPoint. Y, S [I]);
VLeft:=vPoint. X + Canvas. TextWidth [I] (S);
end;
end;
Copy and paste the same code
CodePudding user response:
The upstairs!CodePudding user response:
How do I see along while, ask is how to identify? A lot of reply is how to generate? Is c/s is local cracking approach, to verify that it is still the same, grab this diagram, use OCR, you on a picture about the complex degree,CodePudding user response:
Or scraping programs images showed the control handle, image information. If the image is drawn directly go up, that is about to use the method of regional screenshots, the captcha images crawl out. Then process picture. Simple, is processing + recognitionMay ask process: color filtering, gray, binarization, separation, refining, feature extraction, making template
Finally recognize..
Of course depending on your specific captcha concrete analysis of the. Ha ha.. Really didn't say that to do such a simple oh.
CodePudding user response:
Yes, upstairs brother said to, is to do verification code identification,Sample pictures can see, screenshots can be realized, has been saved as a BMP, now the problem is to get into digital images,
http://user.qzone.qq.com/24584062? Ptlang=2052 #! App=4 & amp; Via=QZ. HashRefresh
CodePudding user response:
Learning. Whoa...CodePudding user response:
The picture I can see you