Isn't there any solution? |
Look over the person's shoulder while he types in his password.
There are always ways to
reduce the number of things you can try.
For example, you can pretty safely assume that most people's passwords will be less than eight or nine characters in length -- aim for the low-hanging fruit.
Next, try stuff you know about a person. For example, if you are looking to hack someone's bank account, try passwords that contain the bank's name. (Yes, people really are that stupid.)
People tend to reuse passwords. Try combinations with previously-known passwords.
Etc.
For any problem, the trick is to reduce the amount of work needed to be done.
A recent example is in this thread about Pythagorean Triples:
http://www.cplusplus.com/forum/beginner/192130/
Both solutions are "brute force".
- However, one solution tries every possible (a,b,c) and is therefore super slow.
- The other solution uses some math to try only (a,b,c)s that are more likely, and is therefore less slow.
When I solved the problem for myself at home, I used some more math to reduce the potential (a,b,c) to only the most probable solutions, and is therefore super fast. (Perhaps I'll go back and post it.)