If I wanted to write a program that generated all possible passwords using alphanumeric characters and wrote the output to a file, what language would would be best suited for writing something like that, for the purpose of penetration testing?
Edit: I already know C, C++, Java, javascript, python, ruby, HTML, CSS, and objective-c. I just have trouble identifying what language is better for solving which problems.
If you don’t want to generate random passwords, but kind of a rainbow table without the need of hashes, you might just want to generate and ‘increment’ char sequences of certain lengths during the brute force test, like aaaa, aaab, aaac, … You’d use the language, in which that test is written.