Coder Social home page Coder Social logo

zipfilejunk's Introduction

Zip Seeking Missile

Purpose: Reads binary file for zip file headers and parses the metadata. Usage: python zsm.py -f memdump.dmp

This tool can be used on memory dumps, pcaps, disk images, zip files, MS-Office 2007+ files (docx,xlsx...)

Usage: zsm.py [options]

Options: -h, --help show this help message and exit -f FILE, --file=FILE File to carve Zips from -v, --verbose Show more than file names

C:\DEMO>python zsm.py -f "This is a test.docx" Possible 11 Local File Headers at offsets: [0, 915, 1715, 2281, 2884, 4506, 5491, 5991, 6306, 6984, 7661] Offset 0 - LH INFO - File name: [Content_Types].xml Offset 915 - LH INFO - File name: _rels/.rels Offset 1715 - LH INFO - File name: word/_rels/document.xml.rels Offset 2281 - LH INFO - File name: word/document.xml Offset 2884 - LH INFO - File name: word/theme/theme1.xml Offset 4506 - LH INFO - File name: word/settings.xml Offset 5491 - LH INFO - File name: word/fontTable.xml Offset 5991 - LH INFO - File name: word/webSettings.xml Offset 6306 - LH INFO - File name: docProps/app.xml Offset 6984 - LH INFO - File name: docProps/core.xml Offset 7661 - LH INFO - File name: word/styles.xml Possible 11 Central Directory File Headers at offsets: [10549, 10614, 10671, 10745, 10808, 10875, 10938, 11002, 11068, 11130, 11193] Offset 10549 - CD INFO - File name: [Content_Types].xml Offset 10614 - CD INFO - File name: _rels/.rels Offset 10671 - CD INFO - File name: word/_rels/document.xml.rels Offset 10745 - CD INFO - File name: word/document.xml Offset 10808 - CD INFO - File name: word/theme/theme1.xml Offset 10875 - CD INFO - File name: word/settings.xml Offset 10938 - CD INFO - File name: word/fontTable.xml Offset 11002 - CD INFO - File name: word/webSettings.xml Offset 11068 - CD INFO - File name: docProps/app.xml Offset 11130 - CD INFO - File name: docProps/core.xml Offset 11193 - CD INFO - File name: word/styles.xml Found 1 hits for Central Dir. End Record at byte offsets [11254] .

C:\Users\jon\Documents\GitHub\ZipFileJunk>python zsm.py -f "c:\demo\zip\File1.zip" -v Possible 3 Local File Headers at offsets: [0, 64, 128] Offset 0 - LH INFO - File name: File1.txt Version: 2.00 Compression: 08: Deflated Last Modified Date 2014-11-13 22:31:28 CRC-32 Checksum: 751451497 Compressed size: 25 Uncompressed size: 40 File Name Length: 0 Extra Field Length: 0 Offset 64 - LH INFO - File name: File2.txt Version: 2.00 Compression: 08: Deflated Last Modified Date 2014-11-13 22:31:16 CRC-32 Checksum: 2035682662 Compressed size: 25 Uncompressed size: 40 File Name Length: 0 Extra Field Length: 0 Offset 128 - LH INFO - File name: File3.txt Version: 2.00 Compression: 08: Deflated Last Modified Date 2014-11-02 23:47:04 CRC-32 Checksum: 1924788770 Compressed size: 22 Uncompressed size: 23 File Name Length: 0 Extra Field Length: 0 Possible 3 Central Directory File Headers at offsets: [189, 244, 299] Offset 189 - CD INFO - File name: File1.txt Version: 2.00 Version Needed To Extract: 2.00 Compression: 08: Deflated Last Modified Date 2014-11-13 22:31:28 CRC-32 Checksum: 751451497 Compressed size: 25 Uncompressed size: 40 File Name Length: 9 Extra Field Length: 0 File Comment Length: 0 Disk # Start: 0 Offset 244 - CD INFO - File name: File2.txt Version: 2.00 Version Needed To Extract: 2.00 Compression: 08: Deflated Last Modified Date 2014-11-13 22:31:16 CRC-32 Checksum: 2035682662 Compressed size: 25 Uncompressed size: 40 File Name Length: 9 Extra Field Length: 0 File Comment Length: 0 Disk # Start: 0 Offset 299 - CD INFO - File name: File3.txt Version: 2.00 Version Needed To Extract: 2.00 Compression: 08: Deflated Last Modified Date 2014-11-02 23:47:04 CRC-32 Checksum: 1924788770 Compressed size: 22 Uncompressed size: 23 File Name Length: 9 Extra Field Length: 0 File Comment Length: 0 Disk # Start: 0 Found 1 hits for Central Dir. End Record at byte offsets [354] .

zipfilejunk's People

Contributors

glassdfir avatar

Stargazers

Adam Polkosnik [old] avatar Ryan Benson avatar

Watchers

James Cloos avatar Adam Polkosnik [old] avatar  avatar

Forkers

apolkosnik-old

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.