Sujet : Re: Something I Never Fucking Knew
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacyDate : 22. Jun 2024, 14:01:20
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <17db51da341531ea$135274$675878$802601b3@news.usenetexpress.com>
References : 1 2 3
On 22 Jun 2024 09:49:00 GMT, Stéphane CARPENTIER wrote:
Le 22-06-2024, candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> a écrit :
>
Well, it's a common technique. I've seen plenty of "fake file
extensions" that just use an existing format. Of course, you can easily
tell by looking at the magic number on the file.
You can, he can't. "File" is a too difficult command for him.
You are both totally incorrect. The "file" command reports only
that is an epub file:
file Aspirin.epub
Aspirin.epub: EPUB document
If I change the suffix to "zip" it still shows "EPUB document."
file Aspirin.zip
Aspirin.zip: EPUB document
Using a hex editor, the magic number is that of zip:
50 4B 03 04
The file, even if not renamed, can also be unzipped.
Let's see y'all explain this behavior.