Questions tagged [pkzip]

PKZIP is a file archiving computer program, notable for introducing the popular ZIP file format.

PKZIP was first introduced for MS-DOS on the IBM-PC compatible platform in 1989. Since then versions have been released for a number of other architectures and operating systems.

PKZIP was originally written by Phil Katz, and marketed by his company PKWARE, Inc. The "PK" prefix used in both names derives from the author's initials.

16 questions
18
votes
3 answers

Insufficient memory in Windows command line

I created a batch file which copies a directory with xcopy for backup reasons. Then I use pkzip in order to zip the backup folder (and email it through a batch file which is working), but I am getting an error message for insufficient memory. I…
Panos Raul
  • 191
  • 1
  • 1
  • 6
3
votes
1 answer

PowerBI .pbix DataMashup Compressed Directory

I am attempting to inspect a PowerBI .pbix file using python's zipfile library. When unzipping the .pbix archive, I get the following…
ccdoug
  • 75
  • 8
3
votes
1 answer

How to determine the encryption scheme of a zip file

I am looking at encrypted zip files (using PKzip format) and I don't understand how the encryption scheme is encoded in the binary format. In my research, I found this paper outlining the various encryption schemes used in PKzip formatted files. I…
saltthehash
  • 316
  • 5
  • 11
3
votes
1 answer

How to unzip file zipped by PKZIP in mainframe by Java?

I am trying to write a program in Java to unzip files zipped by PKZIP tool in Mainframe. However, I have tried below 3 ways, none of them can solve my problem. By exe. I have tried to open it by WinRAR, 7Zip and Linux command(unzip). All are failed…
Vincent
  • 33
  • 1
  • 5
1
vote
2 answers

How to decode an encoded zipfile using Python?

I have a base64 encoded zip file. I am able to convert that zip file and then extract its content using Windows commandline. I have been trying to do the same with Python, but unsuccessful. Could you please help me? When I run the following…
Antony
  • 115
  • 1
  • 11
1
vote
0 answers

Bat file code for zipping Huge size files

We are trying to zip a folder(size ~100GB) on our client server through a bat file. This bat file is triggered via an autosys job. The folder contains files of .dat and a .523 format file We have tried several options like below: 1. Using PKZIP…
judith
  • 11
  • 1
1
vote
1 answer

Is there any easy way to .zip up my source code with Visual Studio 2013?

When playing around creating new Visual Studio projects to try out various technologies, or a weekend project, I want an easy way to zip up my source and not worry about .pdb, obj/bin files, etc. So many years ago, I came up with a set of .bat…
zumalifeguard
  • 8,648
  • 5
  • 43
  • 56
0
votes
0 answers

What is the binary layout of the APK Sig Block added to the PKZip file format as used for Android APK files?

APKs like several other file formats are actually Zip archive files with standardized contents. But about 2018 when Android moved from JAR signing to APK signing, they added a new section to the APK format that is not in the normal file format. I've…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
0
votes
1 answer

How to unzip Self Extracting Zip files in Azure Blob Storage?

I have a zip file(.Exe - Self-extracting zip file) that can be extracted using 7zip. As I want to automate the extraction process, I used the below C# code. It is working for the normal 7z files. But facing this issue 'Cannot access the closed…
Kathir Subramaniam
  • 1,195
  • 1
  • 13
  • 27
0
votes
1 answer

Are the compressed bytes inside GZIP and PKZIP files compatible?

This question is a follow-up to "How are zlib, gzip and zip related? What do they have in common and how are they different?" The answers are very detailed but they never quite answer my specific question. Given a valid GZIP file, should I always be…
billpg
  • 3,195
  • 3
  • 30
  • 57
0
votes
2 answers

What's the Zip Strong Encryption Specification/SecureZip key derivation function?

In the (PK)ZIP specification at https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT, specifically in the Strong Encryption Specification (SES) section, there is a line on deriving a key from a password: MasterSessionKey =…
Michal Charemza
  • 25,940
  • 14
  • 98
  • 165
0
votes
1 answer

How to read a zip file written with pkzip in python?

I am trying to read a zip file in python that was written with pkzip: import zipfile fname = "myfile.zip" unzipped = zipfile.ZipFile(fname, "r") But get this error: unzipped = zipfile.ZipFile(fname, "r") File…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
0
votes
2 answers

Mainframe pkunzip generates PEX013W Record(s) being truncated to lrecl=

I'm sending binary .gz files from Linux to z/OS via ftps. The file transfers seem to be fine, but when the mainframe folks pkunzip the file, they get a warning: PEX013W Record(s) being truncated to lrecl= 996. Record# 1 is 1000 bytes. …
Mike
  • 3,186
  • 3
  • 26
  • 32
0
votes
1 answer

How to decrypt secureZip encrypted files using Bouncy Castle and java?

We have to automatically send/receive zipped + encrypted hundreds of files per day to/from another company and they desire to use SecureZip by PKWARE at their side for this task. On our side our application is pure Java. We are using Bouncy Castle…
juan guan
  • 1
  • 2
0
votes
1 answer

Why pkzip accept two passwords?

I'm trying to do this homework https://www.root-me.org/en/Challenges/Cryptanalysis/File-PKZIP When I write a function to crack it. import subprocess from time import sleep file = open('/home/begood/Downloads/SecLists-master/Passwords/' …
Mr2uang
  • 55
  • 2
  • 9
1
2