Extracting files from .pup
Extracting files from .pup
Hi, everyone.
I wonder if there exists a possibility to extract files from .pup archive, which contains firmware for embedded linux device. The original firmware is damaged and can't install it, so I could only try to do it manually. I'm more of a newbie, than a generic user, though I've managed to convert .pup into .pet using Slacko 5.3.1 (that .pet was just .pup gzipped over again somehow, so the problem had stayed there )
Thanks,
Zahir
I wonder if there exists a possibility to extract files from .pup archive, which contains firmware for embedded linux device. The original firmware is damaged and can't install it, so I could only try to do it manually. I'm more of a newbie, than a generic user, though I've managed to convert .pup into .pet using Slacko 5.3.1 (that .pet was just .pup gzipped over again somehow, so the problem had stayed there )
Thanks,
Zahir
So, .pup is a regular .gzip?
That's definitely not my case. This .pup has 768 byte prefix before gzip signature. If I cut it off with hex editor, it opens as a regular zip, but files still couldn't be extracted (7zip shows that 100Mb archive contains 8Pb - petabytes!! - file ). Wonder if device developers had messed with packet manager.
I can share a link to this .pup, if someone is interested.
That's definitely not my case. This .pup has 768 byte prefix before gzip signature. If I cut it off with hex editor, it opens as a regular zip, but files still couldn't be extracted (7zip shows that 100Mb archive contains 8Pb - petabytes!! - file ). Wonder if device developers had messed with packet manager.
I can share a link to this .pup, if someone is interested.
Hi.
I use UnZipper-DragAndDrop from big_bass to extract .pup files. Found this in my first days on the forum. As the name is saying: just drag and drop a .pup onto the UnZipper-DragAndDrop script.
After downloading the script, remove the .gz and make it executable (right-click ---> properties ?- don't know; in German it is Eigenschaften)
If it won't work, remove the white spaces from file and path name (of the .pup)
RSH
I use UnZipper-DragAndDrop from big_bass to extract .pup files. Found this in my first days on the forum. As the name is saying: just drag and drop a .pup onto the UnZipper-DragAndDrop script.
After downloading the script, remove the .gz and make it executable (right-click ---> properties ?- don't know; in German it is Eigenschaften)
If it won't work, remove the white spaces from file and path name (of the .pup)
RSH
- Attachments
-
- Unzipper-DragAndDrop.gz
- remove the .gz and make executable
- (3.82 KiB) Downloaded 503 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Hi, everyone.
The file I've downloaded was not corrupted, that's guaranteed by .zip archive, which contained this .pup (I've checked the archive integrity).
Here's the link to it (100Mb)
RSH, the script you uploaded treats files with .pup extension as regular .zip:
Unfortunately, it doesn't work in this case.
Still, you've given me a good idea Thanks.
The file I've downloaded was not corrupted, that's guaranteed by .zip archive, which contained this .pup (I've checked the archive integrity).
Here's the link to it (100Mb)
RSH, the script you uploaded treats files with .pup extension as regular .zip:
Code: Select all
#.pup
elif echo `basename "$1"` | grep -q '.pup$'; then
xmessage -buttons "Yes,No" -center "Do you want to decompress $1 ?
(a new folder will be made and decompressed there)"
[ $? -eq 101 ] || exit
mkdir -p `basename "$1" .pup`
cp `basename "$1" ` `basename "$1" .pup`
cd `basename "$1" .pup`
mv `basename "$1" ` `basename "$1" .pup`".zip"
unzip `basename "$1" .pup`".zip"
rm `basename "$1" .pup`".zip"
tar -zxf *.tgz
Still, you've given me a good idea Thanks.
Maybe .pup in this case is used for:It needs a password. Have no idea why polycom archive is in pup format? Could be coincidental & unrelated to puppylinux.
Please Use Password
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
What did you do to it? Archiver never asked me for password at any circumstances.muggins wrote:It needs a password.
They base their hardware on Freescale boards (I see what could be an MPC8349E-mITX modification here), which run under Wind River Linux. Don't really know if WRL use the same Puppy packages or not. Also, it could be some other distro (the only distinguishable features for me are uncompressed vmlinux and Busybox shell). Sorrymuggins wrote:Could be coincidental & unrelated to puppylinux.
If I open archive with peazip, I'm asked for a password.
http://planetlync.com/?cat=224Updates are released in one of two formats: either a complete firmware file (.wim) which overwrites the entire system, or a smaller update file (.pup) which is installed on top of a previous full image.
Peazip chooses decompression algorithm by file extension, not contents. If chosen algorithm fails, peazip thinks it's because of encryption (oh, really?). I've created random .txt, renamed it to .pup, then received the very same request for password from peazip
By the way, thanks for the link. I've not yet searched for .wim images, though they probably are not available in the field.
By the way, thanks for the link. I've not yet searched for .wim images, though they probably are not available in the field.