Code Monkey home page Code Monkey logo

Comments (2)

devttys0 avatar devttys0 commented on July 18, 2024 15

You should be able to use the existing --dd option to do what you need; to extract only JPEG files:

 $ binwalk --dd='jpeg:jpg' file.bin

To extract everything:

 $ binwalk --dd='.*' file.bin

from binwalk.

kamil-HFC avatar kamil-HFC commented on July 18, 2024

Hi. What about file sizing? For example, some piece of results:
7418159 0x71312F HTML document header
7428508 0x71599C HTML document footer
7428597 0x7159F5 HTML document header
7433720 0x716DF8 HTML document footer
7433802 0x716E4A HTML document header
7436683 0x71798B HTML document footer
7436770 0x7179E2 HTML document header
Scannig says, that 71599C file have to take 89bytes, but extracted with dd option takes 646328. Thiese are concatenated files. Is there any way to determinate, where is beginning/end of each file? This suggest me a second question. This result is from firmware, for cable modem. I have here a one big file extracted froma lzma block of data. As far as i know, lzma is not supporting to compress multiply files into a one file. How can i extract it properly? I mean to split each file in exact point?

DECIMAL HEXADECIMAL DESCRIPTION

496 0x1F0 eCos kernel exception handler, architecture: MIPS, exception vector table base address: 0x80000300
24752 0x60B0 Certificate in DER format (x509 v3), header length: 4, sequence length: 32
103480 0x19438 Certificate in DER format (x509 v3), header length: 4, sequence length: 128
5625066 0x55D4EA Copyright string: "Copyright (c) 2003-2009 Broadcom Corporation"
5626751 0x55DB7F Copyright string: "Copyright (c) 1999 - 2009 Broadcom Corporation"
5658120 0x565608 Neighborly text, "Neighbor Discovery Thread for _/ _/"
5658351 0x5656EF Copyright string: "Copyright (c) 1999 - 2009 Broadcom Corporation"
5721954 0x574F62 Unix path: /t/T/y/Y as 'true'; 0/f/F/n/N as 'false'.
5787340 0x584ECC Neighborly text, "NeighborSolicitationterRenumbering"
5787364 0x584EE4 Neighborly text, "NeighborAdvertisementtionQuery"
5787467 0x584F4B Neighborly text, "NeighborDiscoverySolicitationisement"
5787507 0x584F73 Neighborly text, "NeighborDiscoveryAdvertisementt"
5806424 0x589958 HTML document header
5806645 0x589A35 HTML document footer
5825124 0x58E264 HTML document header
5825873 0x58E551 HTML document footer
5825884 0x58E55C HTML document header
5826135 0x58E657 HTML document footer
5826284 0x58E6EC HTML document header
...

from binwalk.

Related Issues (20)

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.