{"success":true,"data":{"ext":"spf","name":"StorageCraft ShadownProtect backup file","description":"StorageCraft ShadowProtect backup file is a proprietary backup archive format developed by StorageCraft Technology Corporation for use with ShadowProtect. It is used to store full-system and volume backups for disaster recovery, bare-metal restoration, and virtual machine recovery in ShadowProtect-managed environments. The format is generally safe, but restoration requires compatible software; files may be encountered in legacy backup sets created by older ShadowProtect installations.","mime":[],"risk_level":"Safe","signatures":[{"hex":"53 50 46 49 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_spf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SPF by magic bytes.\"\"\"\n    signature = bytes([0x53, 0x50, 0x46, 0x49, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(5) == signature","node":"function isSPF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x53, 0x50, 0x46, 0x49, 0x00]);\n  return buffer.subarray(0, 5).equals(signature);\n}","go":"func IsSPF(data []byte) bool {\n    signature := []byte{0x53, 0x50, 0x46, 0x49, 0x00}\n    if len(data) < 5 {\n        return false\n    }\n    return bytes.Equal(data[:5], signature)\n}"}}}