Use binwalk to extract all files

pexea12 picture pexea12 · Apr 10, 2016 · Viewed 67.5k times · Source

I have a file music.mp3. After using binwalk, I get the result:

pexea12@DESMICE:~/Downloads$ binwalk music.mp3

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
152318        0x252FE         MySQL ISAM compressed data file Version 2
586865        0x8F471         MySQL ISAM compressed data file Version 5
5669358       0x5681EE        MySQL ISAM index file Version 1
5831936       0x58FD00        TIFF image data, little-endian offset of first image directory: 8
5832467       0x58FF13        Unix path: /www.w3.org/1999/02/22-rdf-syntax-ns#">
5832624       0x58FFB0        Unix path: /purl.org/dc/elements/1.1/"
5832748       0x59002C        Unix path: /ns.adobe.com/xap/1.0/mm/"
5832806       0x590066        Unix path: /ns.adobe.com/xap/1.0/sType/ResourceEvent#">

I realize that there are some other file type in my music.mp3 such as MySQL, TIFF image. Now I want to extract all these files to see the real contents of them.

I try the command binwalk -e music.mp3 but it only works with compressed files such as .zip. How can I get all these files?

Answer

foudfou picture foudfou · Apr 15, 2016

How about binwalk --dd='.*' music.mp3 ?