squashfs

Extracting from bin file


So I tried this:

root@kali:~/Desktop/fmk# binwalk upgrade-2.4.0.bin 

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
512           0x200           LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 2805816 bytes
927576        0xE2758         Squashfs filesystem, little endian, version 4.0, compression:xz, size: 12316692 bytes, 2963 inodes, blocksize: 262144 bytes, created: 2015-08-04 02:40:49

And then I used the following dd:

sudo dd if=upgrade-2.4.0.bin of=pineapple.squashfs bs=1 count=12316692

And I can't unsquashfs pineapple.squashfs. Can't find a SQUASHFS superblock on pineapple.squashfs


Solution

  • I did it with:

    binwalk -Me upgrade-2.4.0.bin