Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

UnZip/Zip VCL/DLL w. Password support

Posted on 2000-04-08
13
Medium Priority
?
483 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
  • 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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 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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

824 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