{"success":true,"data":{"ext":"dss","name":"Synology router configuration backup file","description":"Synology Router Configuration Backup (DSS) is a backup file format used by Synology to store router settings and is maintained within Synology's router management software. It is used to save, restore, and migrate device configurations, including network, wireless, and administrative settings, during routine administration or hardware replacement. Because these backups can contain passwords, access rules, and other sensitive data, they should be protected and handled carefully when transferred or stored.","mime":[],"risk_level":"Safe","signatures":[{"hex":"02 64 73 73","offset":0,"sources":[{"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":"03 64 73 73","offset":0,"sources":[{"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":"1F 8B 08 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_dss(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DSS by magic bytes.\"\"\"\n    signature = bytes([0x02, 0x64, 0x73, 0x73])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDSS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x02, 0x64, 0x73, 0x73]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDSS(data []byte) bool {\n    signature := []byte{0x02, 0x64, 0x73, 0x73}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}