All Projects → nlitsme → zipdump

nlitsme / zipdump

Licence: MIT license
Analyze zipfile, either local, or from url

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to zipdump

Mod zip
Streaming ZIP archiver for nginx 📦
Stars: ✭ 178 (+612%)
Mutual labels:  zip
Zip
Robust ZIP decoder with defenses against dangerous compression ratios, spec deviations, malicious archive signatures, mismatching local and central directory headers, ambiguous UTF-8 filenames, directory and symlink traversals, invalid MS-DOS dates, overlapping headers, overflow, underflow, sparseness, accidental buffer bleeds etc.
Stars: ✭ 254 (+916%)
Mutual labels:  zip
django-freeze
🧊 convert your dynamic django site to a static one with one line of code.
Stars: ✭ 81 (+224%)
Mutual labels:  zip
Node Archiver
a streaming interface for archive generation
Stars: ✭ 2,300 (+9100%)
Mutual labels:  zip
Turbobench
Compression Benchmark
Stars: ✭ 211 (+744%)
Mutual labels:  zip
madzipper
Wannabe successor of Chumper/Zipper package for Laravel
Stars: ✭ 114 (+356%)
Mutual labels:  zip
Libzippp
C++ wrapper for libzip
Stars: ✭ 169 (+576%)
Mutual labels:  zip
Ob3vil1on
Another archive cracker created in python | cracking [zip/7z/rar] by bruteforcing [ NOT MAINTAINED ]
Stars: ✭ 17 (-32%)
Mutual labels:  zip
Unifiedarchive
UnifiedArchive - an archive manager with a unified way for different formats. Supports all basic (listing, reading, extracting and creation) and specific features (compression level, password-protection). Bundled with console program for working with archives.
Stars: ✭ 246 (+884%)
Mutual labels:  zip
ZipArchive
A single-class pure VB6 library for zip with ASM speed
Stars: ✭ 38 (+52%)
Mutual labels:  zip
Datacompression
Swift libcompression wrapper as an extension for the Data type (GZIP, ZLIB, LZFSE, LZMA, LZ4, deflate, RFC-1950, RFC-1951, RFC-1952)
Stars: ✭ 191 (+664%)
Mutual labels:  zip
Vue Blog
🎉 基于vue全家桶 + element-ui 构建的一个后台管理集成解决方案
Stars: ✭ 208 (+732%)
Mutual labels:  zip
MangDL
The most inefficient Manga downloader for PC
Stars: ✭ 40 (+60%)
Mutual labels:  zip
Bkcrack
Crack legacy zip encryption with Biham and Kocher's known plaintext attack.
Stars: ✭ 178 (+612%)
Mutual labels:  zip
extractor
Compressed files extractor for PHP
Stars: ✭ 23 (-8%)
Mutual labels:  zip
Zydra
Stars: ✭ 178 (+612%)
Mutual labels:  zip
Shigureader
用Chrome或者iPad轻松阅读整理漫画,播放音乐,以及观看视频. All-in-one solution for local doujin/anime/music file.
Stars: ✭ 254 (+916%)
Mutual labels:  zip
compress
compress and uncompress for Deno
Stars: ✭ 29 (+16%)
Mutual labels:  zip
SwiftZip
Swift wrapper for libzip — library for reading, creating, and modifying zip archives.
Stars: ✭ 44 (+76%)
Mutual labels:  zip
archiver-zip-encrypted
Plugin for archiver to create ZIP archives with password using either AES or legacy Zip 2.0 encryption
Stars: ✭ 50 (+100%)
Mutual labels:  zip

zipdump

Analyze zipfile, either local, or from url

zipdump can either do a full scan, finding all PK-like headers, or it can do a quick scan ( like the usual zip -v type output ).

zipdump -q works equally quick on web based resources as on local files. This makes it quite easy to quickly investigate a large number of large .zip files without actually needing to download them.

I wrote this tool because i wanted to look at the contents of lots of apple ios firmware files without downloading 100s of GB of data.

For instance:

python3 zipdump.py -q http://appldnld.apple.com/ios10.0/031-64655-20160705-A371AD14-3E3F-11E6-A58B-C84C60941A1E/com_apple_MobileAsset_SoftwareUpdate/d75e3af423ae0308a8b9e0847292375ba02e3b11.zip

zipdump needs pyton3.

Or you could extract a specific file from lots of zips using:

cat urllist | xargs zipdump -q --cat somefile.txt

COMMANDLINE OPTIONS

  • --cat FILENAME will decrypt, decompress the specified filename to stdout

  • --raw FILENAME will decrypt, but not decompress the specified filename to stdout

  • --save FILENAME will save the decrypted, decompressed file to the output directory

  • --outputdir DIR specify where to save extracted files.

  • --quick will quickly scan a file, without investigating the entire file.

  • --offset OFS --length SIZE specify a chunk of a file to investigate you can used this to list zip contents from a zip file embeded in another binary file.

  • --dumpraw hexdump the entire zip file contents, optionally limiting the amount of data printed.

    • --limit LIMIT limit raw dump output
  • --keys 0x1,0x2,0x3 specify the internal encryption key for decrypting encrypted files.

  • --password PASSWD specify the password for decrypting encrypted files.

  • --hexpassword HEXPASSWD specify the password for decrypting encrypted files. useful when the password is not an ascii string.

  • -H "HDR: value" add custom http headers to the http request.

  • --httptrace print out all http traffic.

  • --extract Extract all files to the outputdir, optionally stripping leading parts of the filename

    • --strip STRIP strip N initial parts from pathnames before saving
    • --preserve preserve permissions and timestamps

When searching for .zip files, you can recurse and skip links using these options:

  • --recurse recurse into directories
  • --skiplinks skip symbolic links

The zip file is read in chunksize chunks, default 1M, you can alter this using the --chunksize option.

Then there are several options controlling how much output is generated:

  • --pretty very verbose output
  • --verbose
  • --quiet
  • --debug

TODO

  • add option to save a specific entry by index, or offset into the file.
    • this would be useful when an archive contains an entry with a difficult to type name.
  • add option to save an entry by name to a differently named file.
  • by default sanitize filenames before use, with option to disable sanitation.
  • currently XTRA is printed only when specifying --dumpraw, i would like to see this parsed and printed with --verbose.
  • rename pretty to 'very verbose'
  • add option to save each file to a zipfile specific subdirectory. So you can extract multiple files in one command.
  • support stdin
  • as library: add better interface, which allows enumeration of contents, lookup of files, extraction of files.

HISTORY

This tool started out as a perl script named zipdbg in 2003.

(c) 2016 Willem Hengeveld [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].