Password Guessing

I had to walk a user through setting up a firewall (she's remote). I gave her a temporary password to use during the setup figuring I would log in later to change it. She entered the characters in the different order and I can't for the life of me figure it out. I'd rather not hard reset the Firewall because we can't afford the downtime nor are any of the users very tech savvy. I know all of the letters and the length of the password and that's it. Is there any sort of combination application (where I can put my characters in and it will tell me all of the possibilities)?
HumanScaleDevAsked:
Who is Participating?
 
TolomirAdministratorCommented:
How about that one:

How to make an excel macro that finds every single possible combination of letters in a string of X amount
http://answers.yahoo.com/question/index?qid=20080729215446AAe6S1O
0
 
TolomirAdministratorCommented:
Since you know your letters you can limit the loops:

if you used 12 distinct characters:
Code for a-z all combinations, repeat
Sub a2zRpt()
Count = 1
For a = 1 To 12
For b = 1 To 12
For c = 1 To 12
Cells(Count, 3) = Chr(96 + a) & Chr(96 + b) & Chr(96 + c)
Count = Count + 1
Next
Next
Next
End Sub

Open in new window

0
 
TolomirAdministratorCommented:
This is for 3 characters.

OK let's modify it a bit - 9 characters long - 8 different chars used (one double)


Code for a-z all combinations, repeat
Sub a2zRpt()
Count = 1
For a = 1 To 8
For b = 1 To 8
For c = 1 To 8
For d = 1 To 8
For e = 1 To 8
For f = 1 To 8
For g = 1 To 8
For h = 1 To 8
For i = 1 To 8
Cells(Count, 9) = Chr(96 + a) & Chr(96 + b) & Chr(96 + c) & Chr(96 + d) & Chr(96 + e) & Chr(96 + f) & Chr(96 + g) & Chr(96 + h) & Chr(96 + i)
Count = Count + 1
Next
Next
Next
End Sub

Open in new window

0
 
HumanScaleDevAuthor Commented:
While the others may work, I'm no Excel guru so this was simple. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.