In short, the binwalk structure is composed by three sections:
File location in decimal format
File location in hexadecimal form
Description about what was found and location
As observed above, we got U-Boot at offset 5404B. This is a popular bootload to load the operating system.
Also, an LZMA compressed data was obtained at offset 66560, and finally the squashfs filesystem at 1049088.
Duplicating firmware data with dd
Now, we can copy the filesystem squashfs into a new folder using the dd tool.
dd can duplicate data across files, devices, partitions, and volumes.
if stands for the input file.
of stands for the output file.
bs for block size.
Tip: by using -skip you could ignore some data at the beginning of the input stream. So, the -skip command needs to start with the initial offset we want to copy.