Solved

UnZip/Zip VCL/DLL w. Password support

Posted on 2000-04-08
13
421 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
Comment Utility
Perhaps this one is interesting?

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

Regards, Madshi.
0
 

Accepted Solution

by:
winne earned 100 total points
Comment Utility
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
Comment Utility
Adjusted points from 50 to 100
0
 
LVL 2

Author Comment

by:brainware
Comment Utility
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
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 2

Author Comment

by:brainware
Comment Utility
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
Comment Utility
Working on it...
0
 

Expert Comment

by:winne
Comment Utility
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
Comment Utility
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
Comment Utility
>> Madshi: files does not exist..

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

Author Comment

by:brainware
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now