Solved

UnZip/Zip VCL/DLL w. Password support

Posted on 2000-04-08
13
442 Views
Last Modified: 2010-04-04
im looking for some component/header for unzipping files with Passwords aka i know i need the password, Native code or using dll dont matter..
Freeware that is...

Also IF any avalible for Zipping w. Password aka same encryption as used by WinZIP 7+

anyhow.. i just need the Unzip part for now.
0
Comment
Question by:brainware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 2
13 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 2695881
Perhaps this one is interesting?

http://www.dogma.net/DataCompression/InfoZip.shtml

Regards, Madshi.
0
 

Accepted Solution

by:
winne earned 100 total points
ID: 2695884
There is a Freeware component called ZipMaster by Chris Vleghert. It kan do anything with a zipfile, including password encryption. Check his homepage at: http://members.tripod.lycos.nl/Vleghert/

0
 
LVL 2

Author Comment

by:brainware
ID: 2696016
Adjusted points from 50 to 100
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:brainware
ID: 2696017
Madshi: files does not exist..

winne:
i found a ZipMaster on a old backup cd... since every danm site is down, invalid or whatever right now..

anyhow,. i cant seam to make it stop crashing.
im trying to do a small loop to try a list of passwords but get access vialation sometimes or it only extracts data in some of the files from ZIP..

problem is i work with a lot of old/new zips with passwords that i do know, just not what zip it was for hehe.. so i want to integrate a tiny 'wordlist' hacker to my Dev-Database to make life more easy for me :)

dunno if you would mind mailing new Ver for D3.. + small Pass attacker..


i cant seam to find any site that works for me right now :(((

brainware@cyberjunkie.dk
0
 

Expert Comment

by:winne
ID: 2696037
The site I gave you earlier works fine, tried it then and tried it again now.
I have mailed you the latest version of the component, but I cannot give you any D3 projects, since I only use Delphi 5.
With Zipmaster it's very easy to set the zipfile and password and then Unpack it, I have never tried it with passwords but I guess that if the password is incorrect it cannot extract the file and just skip that file.
0
 
LVL 2

Author Comment

by:brainware
ID: 2696059
Well D3 / D5 dont matter.. 99,9% the same :)

anyhow.. problem is weird, sometimes it works sometimes it dont... try make a zip with password like 1291 and make delphi app try password from 0 to 1400
aka "Integer" but used as String.. :))

i need to 1. Find out if password worked, if TRUE well Extract to dir....

ill try again with the new you mailed me..

0
 
LVL 2

Author Comment

by:brainware
ID: 2696122
hmm this zip stuff really don't like me hehe.. last time i worked with zip's in coding was like back at pkzip 1.x or start of 2.x - BBS days :))

well ill play a little more with it, but if you have the time and can make it do this let me know :)

PS: No crashes anymore "new version".
0
 

Expert Comment

by:winne
ID: 2696147
Working on it...
0
 

Expert Comment

by:winne
ID: 2696180
Here's a small working procedure.Place
ZipMaster, a Button and a Label on the form.

--------------------------------------

procedure TForm1.Button1Click(Sender: TObject);
Var i : integer;
begin
     ZipMaster1.ZipfileName:='c:\test.zip';
     ZipMaster1.ExtrBaseDir:='C:\';

     For i:=1000 to 2000 do
     Begin
          Label1.Caption:=inttostr(i);
          Label1.Repaint;
          ZipMaster1.Password:=inttostr(i);
          ZipMaster1.Extract;
     End;
end;

-------------------------------------
I made a small zipfile on c:\ with the password '1234', and this works.
If you want a faster function that quits when it finds the correct password use the OnPasswordError event.

If you want to hack passwords in zipfiles there's already some programs for that on the Net, search on Altavista or something.
0
 
LVL 2

Author Comment

by:brainware
ID: 2696220
i dont want to hack passwords, well for a few yeah.. but i know parts of the mask already.. my own passwords :)

Thanks... i also pretty much managed to make it work.. aka just working on the part to make it try a list of pw's and stop when it worked...
0
 
LVL 20

Expert Comment

by:Madshi
ID: 2696311
>> Madshi: files does not exist..

What do you mean? (The link *is* valid.)
0
 
LVL 2

Author Comment

by:brainware
ID: 2697546
Madshi: url works, but not links to files stored at CDROM.COM and such.

winne: have no idea why, but now i cant even get it to UnZip a Passw protected file anymore... tryed to reboot etc, didnt help.. was afraid mabye i had ****ed up somthing :)

oh well.. off to a birthday party, ill play with it again when i get home...
0
 

Expert Comment

by:winne
ID: 2697581
wierd... if it worked before why would it stop working...
Make sure that you have a copy of the dll:s in the directory of your program or in c:\windows\system, they are required...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question