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
Solved

UnZip/Zip VCL/DLL w. Password support

Posted on 2000-04-08
13
433 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 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to debug For loops? 3 57
control image tags in a string ? 12 142
DBGrid or StringGrid ? 6 105
Breakpoint doesn't stop in my variable 3 30
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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 …

828 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