Attached is Unsquash, a Python script that does the
inverse of mksquashfs.
It handles V1 and V2.
o Little endian only - This is the patch to the
previous script! Work on i386 machines
o No uid/gid handling
Script for little endian machines (i386)
Logged In: YES
fails here. Maybe because i'm on amd64 ? the big-endian one
doesn't work neither.
% python unsquash_lit.py hda3 mnt/hda3
Processing <__main__.Sqfs_block instance at 0x2afc1062ab48>
len with data= (0)
Bad Squashfs. Does not support little endian
Traceback (most recent call last):
File "unsquash_lit.py", line 786, in ?
File "unsquash_lit.py", line 775, in main
File "unsquash_lit.py", line 654, in load_meta
d = self.uncompress(frag_block)
File "unsquash_lit.py", line 555, in uncompress
File "unsquash_lit.py", line 88, in getall
val = self.get(data,r)
File "unsquash_lit.py", line 71, in get
num = ord(data[byte])
IndexError: string index out of range
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.