Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use binwalk to extract all files

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?

like image 965
pexea12 Avatar asked Apr 10 '16 13:04

pexea12


People also ask

What does binwalk do?

Binwalk is a tool for searching a given binary image for embedded files and executable code. Specifically, it is designed for identifying files and code embedded inside of firmware images.

How do I run Binwalk on Windows?

To install Binwalk on Windows, you need to download and install Python in the first step. The next step is to install the python-lzma module. After successfully completing the above steps, you should now download the Binwalk zip from the Binwalk repo on GitHub. Then you need to extract the downloaded file and open it.


1 Answers

You can use the following command:

binwalk --dd='.*' music.mp3
like image 152
foudfou Avatar answered Sep 18 '22 12:09

foudfou