News for hackers. Stuff that matters.
Re:JPEG image of Shakespeare which is also a zip file contai... by dddddaviddddd on Tuesday October 30, 2018 @10:41PM (#18342956)
Since the server is probably gzipping the response there's no need for an intermediate unzip step in curl | bash
Re:JPEG image of Shakespeare which is also a zip file contai... by palunon on Wednesday October 31, 2018 @06:24AM (#18344499)
Unless the server only accept images upload and serves you the original file.

This is (or at least used to be) popular to share arbitrary files on imageboards.

Re:JPEG image of Shakespeare which is also a zip file contai... by tolnaiz on Wednesday October 31, 2018 @01:49PM (#18347803)
Only if you send 'Accept-Encoding: gzip' or similar header with curl. Which curl doesn't do by default.
Re:JPEG image of Shakespeare which is also a zip file contai... by detaro on Wednesday October 31, 2018 @01:51PM (#18347816)
Images are generally excluded from gzip transfer server-side, since it's a needless waste of CPU cycles.