Deutsch   English   Français   Italiano  
<slrnv7ff0v.8tpq.candycanearter07@candydeb.host.invalid>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
Newsgroups: comp.os.linux.advocacy
Subject: Re: Something I Never Fucking Knew
Date: Sun, 23 Jun 2024 06:10:05 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 40
Message-ID: <slrnv7ff0v.8tpq.candycanearter07@candydeb.host.invalid>
References: <17db210c74434ce0$119$1016857$802601b3@news.usenetexpress.com>
 <slrnv7cr2c.717s.candycanearter07@candydeb.host.invalid>
 <66769e0c$0$3898$426a34cc@news.free.fr>
 <17db51da341531ea$135274$675878$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Jun 2024 08:10:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4d9e91c9d778ef388f06b2c3fcdfde71";
	logging-data="242481"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/qQtX10Dx6U/bHAOObefLztGiGaZ8A141PmxHkc/CRzA=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Jh4hPobaxZm8Ndyx4sxCXbRTIbc=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
 b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
 `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
 ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
Bytes: 2583

Farley Flud <ff@linux.rocks> wrote at 12:01 this Saturday (GMT):
> 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.


Hm.. maybe you could try `file -k`?
(print all possible matches rather than just the strongest match)
-- 
user <candycane> is generated from /dev/urandom