-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't unpack 6.13 npk #2
Comments
Please take a look at the commit I pushed, it may help since it looks like you are getting data type 21 |
Thank you for you interest. I tryed, but... ./unpacknpk.py routeros-mipsbe-6.13.npk Returning the raw header and the rest of the file (each part in a list) ---> Nothing more ./unpacknpk.py routeros-mipsbe-6.29.1.npk Returning the raw header and the rest of the file (each part in a list) ---> Nothing more ./unpacknpk.py wireless-cm2-6.29.1-mipsbe.npk Returning the raw header and the rest of the file (each part in a list) SquashFS found in package, extract 'squashfs' by using unsquashfs. |
Ok, the identifier isn't dumping an object for the first two; I'll take a look at this. The third worked and the file system image was dumped. See the output: "SquashFS found in package, extract 'squashfs' by using unsquashfs."
./unpacknpk.py routeros-mipsbe-6.13.npk Returning the raw header and the rest of the file (each part in a list) ---> Nothing more ./unpacknpk.py routeros-mipsbe-6.29.1.npk Returning the raw header and the rest of the file (each part in a list) ---> Nothing more ./unpacknpk.py wireless-cm2-6.29.1-mipsbe.npk Returning the raw header and the rest of the file (each part in a list) SquashFS found in package, extract 'squashfs' by using unsquashfs. Reply to this email directly or view it on GitHub: |
Note: The newer format seems to use a "squashfs" file system, this image file is like an "iso" file which then needs another utility to extract. This isn't a trivial drop-in replacement of the previous unpacknpk.py as a second utility is needed (unsquashfs) to get to the files. |
Ok. I will look. |
With Gentoo Linux
and no file extracted.
With 6.12 unpack works correctly.
Some changes? (like backup)
thanks
The text was updated successfully, but these errors were encountered: