1

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 [1] (AB) until (AZ) and then i++ on [1] (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!

0

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.

  • With current restriction to alphabetic passwords of up to 4 letters, it's possible to try all combinations in under a minute, even when using Python. After failing with the word list, my old C code, which does not know those restrictions, would work for several years, I guess, trying all passwords of up to 8 printable characters, not up to 4 letters. BTW, I used recursion for generating arbitrary length passwords. – Blauelf Feb 7 '17 at 12:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .