使用 unsquash 获取文件系统时出错

使用 unsquash 获取文件系统时出错

我正在关注这个教程逆向工程 TP-Link TL-WA901ND 固件并获取文件系统即使按照步骤一步一步来,你也会犯错误

unsquashfs TP_FS
FATAL ERROR: Can't find a valid SQUASHFS superblock on TP_FS

我的关注

binwalk TP_LINK.bin

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
0             0x0             TP-Link firmware header, firmware version: 0.0.3, image version: "", product ID: 0x0, product version: 151060482, kernel load address: 0x0, kernel entry point: 0x80002000, kernel offset: 3932160, kernel length: 512, rootfs offset: 827293, rootfs length: 1048576, bootloader offset: 2883584, bootloader length: 0
512           0x200           gzip compressed data, has original file name: "vmlinux.bin", from Unix, last modified: 2013-01-31 06:51:44
1048576       0x100000        Squashfs filesystem, big endian, lzma signature, version 3.1, size: 1790701 bytes, 353 inodes, blocksize: 65536 bytes, created: 2013-01-31 06:56:49


dd if=TP_LINK.bin skip=1048576 bs=1 of=TP_FS
2883584+0 records in
2883584+0 records out
2883584 bytes (2.9 MB, 2.8 MiB) copied, 13.9301 s, 207 kB/s


file TP_FS
TP_FS: data

相关内容