From 68d971ac8c21f10899bad253286e55d2fce5b9df Mon Sep 17 00:00:00 2001 From: Code by Ben Date: Tue, 10 Sep 2024 13:36:05 +1000 Subject: [PATCH] more ByMagicErr detections. --- model/artifacts.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/model/artifacts.go b/model/artifacts.go index 48bebc65..49c08f01 100644 --- a/model/artifacts.go +++ b/model/artifacts.go @@ -203,10 +203,13 @@ func (f *Artifacts) ByMagicErr(ctx context.Context, exec boil.ContextExecutor, b "7-zip archive data%", "gzip compressed data%", "ASCII text%", "HTML document%", "Pascal source%", "ISO-8859 text%", "JPEG image data%", "GIF image data%", "PNG image data%", "PDF document%", "RIFF (little-endian) data%", "ISO Media%", "Fasttracker II%", "Ogg data%", "Audio file with%", "MPEG ADTS%", - "AIX core file%", "C source,%", "C++ source,%", "FORTRAN program%", "ISO-8859 text, with%", + "AIX core file%", "C source,%", "C++ source,%", "FORTRAN program%", "ISO-8859 text%", "Little-endian UTF-16%", "MIT scheme%", "MS Windows icon resource%", "Microsoft Cabinet archive data,%", "Non-ISO extended-ASCII text%", "PC bitmap, Windows 3.x format%", "PCX ver. 3.0 image data%", "PE32 executable (GUI) Intel 80386%", "PE32 executable (console)%", "Python script%", "Quake I or II world or extension%", + "AmigaGuide file%", "COM executable for%", "DCL command file%", "LHa (%", "MS-DOS executable%", "RFC 822 mail%", + "Rich Text Format data%", "SMTP mail%", "SysEx File%", "UTF-8 Unicode%", "core file (Xenix)%", "diff output,%", + "news or mail,%", "news, ASCII text%", "saved news,%", } mods := []qm.QueryMod{ qm.Select(models.FileColumns.UUID, models.FileColumns.ID, models.FileColumns.FileMagicType),