-
April 18th, 2008, 02:10 AM
#1
WIN ZIP Password Recovery
Is there anybody who tell me how to recover WIN ZIP password using VB or any other mathod.
Waiting for your valueable reply.
Thanks in advance.
Friends are Flowers in the Garden of Life
-
April 18th, 2008, 04:20 AM
#2
Re: WIN ZIP Password Recovery
The only method to recover the zip password is with brute force ...
Supply a password like "aaaaaaaaaa" ... test it, if it fails sequentialy increment to "aaaaaaaaab" etc...
This method can take HOURS, but is the only way to retrive it..
The password is not stored in the ZIP file, but is used as an Encryption key, and is required to Decrypt....
Gremmy...
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
April 18th, 2008, 05:16 AM
#3
Re: WIN ZIP Password Recovery
OMG that may take weeks or months also? if the system is slow. it means it have to try all the possible combination of keyboard and also it will try every name in the universe we have
please rate the post if this is useful. And also never forget to mark the thread as [Resolved] when your problem is solved
-
April 18th, 2008, 05:21 AM
#4
Re: WIN ZIP Password Recovery
Thanks GremlinSA and GremlinSA for your reply.
I tried that to find such a software to recover but all are trial versions and can find only 2,3 character password. all are required to purchase the software.
Is there any website or source code from where I can download free.
Friends are Flowers in the Garden of Life
-
April 18th, 2008, 06:39 AM
#5
Re: WIN ZIP Password Recovery
Depends on the length of the passwords you want to check for.
If checking for 3, 4, 5, 6, 7, 8 and 9 character passwords (assuming any ascii character can be used), your looking at
3^255 + 4^255 + 5^255 + 6^255 + 7^255 + 8^255 + 9^255
I make that 2.147e+243 which is a pretty big number
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
-
April 18th, 2008, 06:46 AM
#6
Re: WIN ZIP Password Recovery
These functions might help get you started. Note that they are only for alphanumeric (and only uppercase letters), so you need to modify them if you are going to check all characters:
Code:
Public Function IncrementMaxID(ByVal MaxID As String, ByVal MaxLength As Integer) As String
' This Function Gets the Next Alphanumeric ID i.e if 009 passed in next would be 00A, 19Z becomes 1A0
While LTrim(MaxID).Length < MaxLength
MaxID = "0" + MaxID
End While
For iloop As Integer = MaxLength - 1 To 0 Step -1
Dim NewID As String = MaxID.Substring(0, iloop) + getNextChar(MaxID.Chars(iloop))
While NewID.Length < MaxLength
NewID += "0"
End While
'if its a zero returned must increment next char
If NewID.Chars(iloop) <> "0" Then
Return NewID
End If
Next
Dim returnValue As String = ""
For iloop As Integer = 0 To MaxLength - 1
returnValue += "0"
Next
Return returnValue
End Function
Private Function getNextChar(ByVal Ch As Char) As String
'next ascii character after next one
For AsciiLoop As Integer = 48 To 90
If Ch = Chr(AsciiLoop) Then
'if its 9 jump to A as next
If AsciiLoop = 57 Then
Return CStr(Chr(65))
'If its Z return to 0 as next
ElseIf AsciiLoop = 90 Then
Return CStr(Chr(48))
Else
'just increment character
Return CStr(Chr(AsciiLoop + 1))
End If
End If
Next
Return "0"
End Function
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
-
April 18th, 2008, 06:52 AM
#7
Re: WIN ZIP Password Recovery
Dear HairyMonkeyMan thanks a lot for ur help. Where i give the file name and how it reads file name ??
Friends are Flowers in the Garden of Life
-
April 18th, 2008, 07:17 AM
#8
Re: WIN ZIP Password Recovery
Factian,
This code takes a string and increments the characters.. As far as putting in the filename and having it try the password.. have a look into the sharp zip component. Sorry I don't have time to work on this for you.
ps... what I posted is .net code... it might need a little reworking.
Regards
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|