← Back to Community
Brute forcer password cracker
Profile icon
Bunnytoes

I am making a brute force password cracker, but I need to make it so it can find the password length without any help

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
Profile icon
Bunnytoes
Comments
hotnewtop
Profile icon
SixBeeps

I got a password that passes Timer ran 1 yet is still cracked. I think it's just because brute forcing takes a long time (it's an O(c^l) operation where c is the character set and l is the length of the password).
image

Profile icon
Bunnytoes

@SixBeeps so it works? but it says it took 0 seconds, I need it to say the elapsed time

Profile icon
Bunnytoes

@SixBeeps I updated and fixed it

Profile icon
SixBeeps

In a 'realistic' brute-force situation, you won't know the length. Therefore, you must test all of the combinations at incrementing lengths to make sure you've covered all possible passwords.

Profile icon
Bunnytoes

how can I do that? @SixBeeps

Profile icon
Bunnytoes

please look at the new question