summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/fsav
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/magdir/fsav')
-rw-r--r--usr.bin/file/magdir/fsav28
1 files changed, 28 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/fsav b/usr.bin/file/magdir/fsav
new file mode 100644
index 00000000000..92eb5e078e1
--- /dev/null
+++ b/usr.bin/file/magdir/fsav
@@ -0,0 +1,28 @@
+# $OpenBSD: fsav,v 1.1 2004/06/03 03:14:20 tedu Exp $
+
+#------------------------------------------------------------------------------
+# fsav: file(1) magic for datafellows fsav virus definition files
+# Anthon van der Neut (anthon@mnt.org)
+0 beshort 0x1575 fsav (linux) macro virus
+>8 leshort >0 (%d-
+>11 byte >0 \b%02d-
+>10 byte >0 \b%02d)
+
+# comment this out for now because it regognizes every file where
+# the eighth character is \n
+#8 byte 0x0a
+#>12 byte 0x07
+#>11 leshort >0 fsav (linux) virus (%d-
+#>10 byte 0 \b01-
+#>10 byte 1 \b02-
+#>10 byte 2 \b03-
+#>10 byte 3 \b04-
+#>10 byte 4 \b05-
+#>10 byte 5 \b06-
+#>10 byte 6 \b07-
+#>10 byte 7 \b08-
+#>10 byte 8 \b08-
+#>10 byte 9 \b10-
+#>10 byte 10 \b11-
+#>10 byte 11 \b12-
+#>9 byte >0 \b%02d)