xref: /freebsd/contrib/file/magic/Magdir/flash (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1
2#------------------------------------------------------------------------------
3# $File: flash,v 1.11 2014/05/02 00:26:49 christos Exp $
4# flash:	file(1) magic for Macromedia Flash file format
5#
6# See
7#
8#	http://www.macromedia.com/software/flash/open/
9#	http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/\
10#	en/devnet/swf/pdf/swf-file-format-spec.pdf page 27
11#
12
130   name        swf-details
14>0	string		F		Macromedia Flash data
15!:mime	application/x-shockwave-flash
16>0	string		C		Macromedia Flash data (compressed)
17!:mime	application/x-shockwave-flash
18>0	string		Z		Macromedia Flash data (lzma compressed)
19!:mime	application/x-shockwave-flash
20>3   byte        x      \b, version %d
21
221   string      WS
23>4  lelong      !0
24>>3 byte        255 Suspicious
25>>>0    use     swf-details
26
27>>3 ubyte       <32
28>>>3 ubyte      !0
29>>>>0   use     swf-details
30
31# From: Cal Peake <cp@absolutedigital.net>
320	string		FLV\x01		Macromedia Flash Video
33!:mime	video/x-flv
34
35#
36# Yosu Gomez
370       string AGD2\xbe\xb8\xbb\xcd\x00 Macromedia Freehand 7 Document
380       string AGD3\xbe\xb8\xbb\xcc\x00 Macromedia Freehand 8 Document
39# From Dave Wilson
400	string AGD4\xbe\xb8\xbb\xcb\x00	Macromedia Freehand 9 Document
41