Because some registered user account rules can follow, and usually people's awareness of the poor, the password is relatively simple, the user name of the common password login test, to break the password.
For learning purposes only, do not use for illegal use. The code has been partially modified, does not work properly, the test needs to modify the code according to the actual needs, in addition to the password security issues must be enough attention.
Design ideas:
Intercept HTTP packets through the Grab Kit tool and analyze specific information formats in the packet (form)
Parses the direct logical relationship of the user name, constructs the user name
Use the Curl tool to simulate a contract to a specified login site
Analysis of the returned results, if the login success is cracked successful
Code See Links:
http://www.oschina.net/code/snippet_2313065_51593
Linux, Shell scripting Brute force user name and password