I'm working on crack and while I've been able to iterate over an array to create possibilities to test (i.e aaaa, aaab aaac etc.) I can only do it knowing the amount of indexes the array has, I tried to create an array "array[n];" so I could try and manipulate it as I went, but the compiler said unable to initiate with variable, something along those lines. To be really clear I'm tryin to start at one character (i.e A) and increment until (i.e Z) by then I'd like to have two indexes on my array (AA) and increment on  (AB) until (AZ) and then i++ on  (BA) and so forth encrypting and comparing every combination with the encrypted password. I'm a little bit stuck at this point, I have though been able to write a function to look for the password in the word file, and have been able to make a for loop that incrementes indexes of an array of known positions but what I want is to have as many positions as necessary to virtually be able to "guess" any possible combination of ASCII characters. I'd really appreciate some feedback! Thank you in advance!
So I did this one awhile ago, but I believe I did multiple arrays, one for each possible length. I will give you a hint: the way I did it (and you are doing it) will take days to run, which is not ideal. To get some passwords I had to keep my computer open for several days. Most people don't use password generators to create their passwords.