I'm looking for an application which can extract any known files types (text, audio, images, videos, etc.) from a binary file given that it's not compressed. The binary file in question has an unknown structure (i.e. it's not an archive or anything like that).
1 Answer
PhotoRec is able to detect a hundred different types of files, even when mixed in random binary containing files.
It is initially meant to work on hard disk partitions, but it works on files too (just pretend it is a disk image).
Free & Open source.
-
I'll try it, thanks a ton! I remember this application, but I didn't know it was able to find files in files. I thought it was only for partitions. Actually it makes perfect sense that you can give it a binary file (not a partition) to work on. It just didn't occur to me. I wonder if it can find files by random offsets. Files on a real partition have certain fixed offsets. And it knows a ton of file formats, great! cgsecurity.org/wiki/File_Formats_Recovered_By_PhotoRec Commented Oct 13, 2023 at 20:10
-
@ArtemS.Tashkinov did it work for you? I have tried it on a binary file that I am sure of containing a known file(.mid) but it does not find anything in it. Commented Apr 7 at 1:55
-
MZ
for Windows, Linux/AndroidELF
, etc.). A lot of applications use bespoke proprietary storage formats and I just want to be able to extract all the known embedded files. Speaking of "If so that will not be as straight forward as you may think" - the application I'm interested in, and I know it for a fact, stores files as is, i.e. if you find them by their signatures, you can simply dump and examine them. "resource hacker" - AFAIK that's only for Win executables. Doesn't work for me.