C ccc Sep 21, 2012 #1 Hi Howto unpack a .bin file? I'd like to change a display image and build to bin again.
F funky Sep 22, 2012 #2 With some luck file(1) will tell you the exact file type: Code: $ file somefile from which you can deduce which extraction tool to use.
With some luck file(1) will tell you the exact file type: Code: $ file somefile from which you can deduce which extraction tool to use.
OP C ccc Sep 22, 2012 Thread Starter #3 I get the following: Code: # file vmware-view vmware-view: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
I get the following: Code: # file vmware-view vmware-view: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
F funky Sep 22, 2012 #4 Sorry, this is beyond my magic. Maybe readelf(1), objdump(1), ar(1) or something else from the binutils might help?
Sorry, this is beyond my magic. Maybe readelf(1), objdump(1), ar(1) or something else from the binutils might help?
M m6tt Sep 30, 2012 #5 Use binwalk from ports, as well as hexedit. Binwalk will let you find the offsets of included files. It walks through the file looking for headers of known file types. Hexedit may help you deduce where there may be checksums or other information as well. If the file is encrypted, or uses a custom checksum algorithm, you may be out of luck.
Use binwalk from ports, as well as hexedit. Binwalk will let you find the offsets of included files. It walks through the file looking for headers of known file types. Hexedit may help you deduce where there may be checksums or other information as well. If the file is encrypted, or uses a custom checksum algorithm, you may be out of luck.