Solved

UnZip/Zip VCL/DLL w. Password support

Posted on 2000-04-08
13
453 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month5 days, 5 hours left to enroll

636 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