display the internal structure of zip files


Header "SYNOPSIS" 2 zipdetails [ -v] zipdetails -h


Header "DESCRIPTION" Zipdetails displays information about the internal record structure of the zip file. It is not concerned with displaying any details of the compressed data stored in the zip file.

The program assumes prior understanding of the internal structure of a Zip file. You should have a copy of the Zip APPNOTEfile at hand to help understand the output from this program ( (L" SEEALSO (R" for details).


Subsection "OPTIONS"

" -v" 5 Item "-v" Enable Verbose mode

" -h" 5 Item "-h" Display help

By default zipdetails will output the details of the zip file in three columns.

"Column 1" 5 Item "Column 1" This contains the offset from the start of the file in hex.

"Column 2" 5 Item "Column 2" This contains a textual description of the field.

"Column 3" 5 Item "Column 3" If the field contains a numeric value it will be displayed in hex. Zip stored most numbers in little-endian format -the value displayed will have the little-endian encoding removed. Next, is an optional description of what the value means.

If the CW(C` -v (C' option is present, column 1 is expanded to include

" 5 The offset from the start of the file in hex.

" 5 The length of the filed in hex.

" 5 A hex dump of the bytes in field in the order they are stored in the zip file.


Header "TODO" Error handling is still a work in progress. If the program encounters a problem reading a zip file it is likely to terminate with an unhelpful error message.


Header "COPYRIGHT" Copyright (c) 2011 -2018 Paul Marquess. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


Header "SEE ALSO" The primary reference for Zip files is the (L"appnote (R" document available at <>. An alternative reference is the Info-Zip appnote. This is available from <> The CW(C`zipinfo (C' program that comes with the info-zip distribution (<>) can also display details of the structure of a zip file. See also Archive::Zip::SimpleZip, IO::Compress::Zip, IO::Uncompress::Unzip.


Header "AUTHOR" Paul Marquess .

Copied to clipboard
free 100$ digital ocean credit