Re:JPEG image of Shakespeare which is also a zip file contai...
by jethro_tell on Tuesday October 30, 2018 @09:50PM
(#18342759)
Well, if someone out there had paid for winrar, perhaps the support would be better XD
Re:JPEG image of Shakespeare which is also a zip file contai...
by tobyhinloopen on Wednesday October 31, 2018 @07:58AM
(#18344914)
“I paid for Winrar, AMA”
Re:JPEG image of Shakespeare which is also a zip file contai...
by charonn0 on Wednesday October 31, 2018 @01:26PM
(#18347618)
There's more than one way to read a zip.
7-zip reads the zip file by scanning from the beginning of the file for the first entry signature (which need not be at the start of the file, which is why this trick works at all.)
WinRAR reads the central directory located at the end of the file, which is technically how you're supposed to do it, but entry offsets given in the central directory are messed up by the existence of the JPG data at the beginning of the file. There also appears to be ~61KB of garbage data at the end of the file, which will trip up some zip readers that use the central directory.
tl;dr: The zip file technically malformed, whether or not a given archive reader will choke on it depends on which technique they use and how forgiving their implementation is.
Re:JPEG image of Shakespeare which is also a zip file contai...
by fireattack on Wednesday October 31, 2018 @03:03PM
(#18348392)
Thanks for the detailed explanation.
Re:JPEG image of Shakespeare which is also a zip file contai...
by theoctopus on Wednesday October 31, 2018 @03:53AM
(#18343972)
I've been unable to extract the inner rars with 7-zip. Each shakespeare.html just gives a "Data error"
(7-zip works fine.)