how to unzip a password protected file using dotnetzip or sharpziplib (if the password is not known).
+1
A:
No way. You need the password, either you remember the password or the person who knows it or you need a password recovery tool, which should exist somewhere on the dark side of the web.
Andreas_D
2010-07-06 11:23:36
can we list the names of files present in the zip files
Niraj Choubey
2010-07-06 11:25:20
Sure - create a passwort protected zip archive and open the archive with winzip, winrar, 7zip, ... they all display the content. Password is required to extract a file from the archive.
Andreas_D
2010-07-06 11:38:01
i asked programmatically using dotnetzip.
Niraj Choubey
2010-07-06 11:40:01
Hope someone with dotnetzip experience follows this discussion. BTW - have you just tried reading the directory of a password protected file with dotnetzip?
Andreas_D
2010-07-06 11:48:22
yes andreas , i have tried that.
Niraj Choubey
2010-07-06 12:55:32
A:
If you don't know the password, you can't open the file. You'll need to resort to some kind of zip password cracker, several can be found online.
Håvard S
2010-07-06 11:24:25
+3
A:
GPL-3 zip password-cracking code: http://oldhome.schmorp.de/marc/fcrackzip.html
Using the Ubuntu-supplied packages, it took my machine 19 seconds to crack the password of the supplied sample .zip file (as described in the README).
sarnold
2010-07-06 11:29:56