{"success":true,"data":{"ext":"swf","name":"Macromedia Shockwave Flash player file","description":"Macromedia Shockwave Flash (SWF) is a multimedia file format originally created by Macromedia and later maintained by Adobe Systems. It was used to deliver animated content, interactive applications, vector graphics, and browser-based games through Flash Player and authoring tools such as Adobe Animate. The format is now largely obsolete, and Flash support has been discontinued in modern browsers and players due to security risks and end-of-life concerns.","mime":["application/vnd.adobe.flash.movie","application/x-shockwave-flash"],"risk_level":"Safe","signatures":[{"hex":"43 57 53","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"46 57 53","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"5A 57 53","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"57 53","offset":0,"sources":[{"name":"Neil Harvey FileSignatures","url":"https://raw.githubusercontent.com/neilharvey/FileSignatures/master/src/FileSignatures/Formats/Swf.cs"}]}],"related":[],"usage":{"python":"def is_swf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SWF by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x57, 0x53])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isSWF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x57, 0x53]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsSWF(data []byte) bool {\n    signature := []byte{0x43, 0x57, 0x53}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}