News for hackers. Stuff that matters.
Re:JPEG image of Shakespeare which is also a zip file contai... by comboy on Wednesday October 31, 2018 @04:06AM (#18344014)

    cat file.jpg file.zip > magic.jpg
that's all there is to it (tested under linux, file compressed and decompressed with zip command)
Re:JPEG image of Shakespeare which is also a zip file contai... by Retr0spectrum on Wednesday October 31, 2018 @06:01AM (#18344416)
That's not all there is to it. Did you try uploading the resulting file to twitter?
Re:JPEG image of Shakespeare which is also a zip file contai... by comboy on Wednesday October 31, 2018 @07:14AM (#18344729)
I did not. This is just a response to the parent comment not to the post itself.

(Although if they do something with this file and you still are able to do this trick that would seem even more .. interesting on their side than leaving images below certain size untouched)

Re:JPEG image of Shakespeare which is also a zip file contai... by tyingq on Wednesday October 31, 2018 @12:00PM (#18346826)
The zip offset fields would be wrong, so your unzip must have some error correction. Use "zip -A zipfile" on Linux to fix them. As mentioned though, image upload sites would likely scrub out the extra data.