How does this work exactly? Is this just guessing "AAAAAAAAAAAA" -> "AAAAAAAAAAB" -> -> "AAAAAAAAAAZ" -> "AAAAAAAAAABA" etc.? How long will this take and are there any better methods? Sub PasswordBreaker()ĭim i As Integer, j As Integer, k As Integerĭim l As Integer, m As Integer, n As Integerĭim i1 As Integer, i2 As Integer, i3 As Integerĭim i4 As Integer, i5 As Integer, i6 As Integerįor i = 65 To 66: For j = 65 To 66: For k = 65 To 66įor l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66įor i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66įor i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126ĪctiveSheet. Most of the time, it is your careless colleague who password protects the file and then forgets the damn password. I'm sure a lot of people in this sub have come across the brute force method below. Answer (1 of 9): I’m the one who handles lots of Excel files on a daily basis, so it is not uncommon to encounter these password-protected Excel worksheets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |