{"success":true,"data":{"ext":"cru","name":"Crush compressed archive","description":"Crush compressed archive is a file archive format used by the Crush compression utility, developed and maintained by its original project. It is used to compress and package files for storage, transfer, and software distribution, especially in environments that require compact archives. The format is generally considered safe to handle, though, as with any archive, its contents should be reviewed before extraction from untrusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"43 52 55 53 48 20 76","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_cru(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CRU by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x52, 0x55, 0x53, 0x48, 0x20, 0x76])\n    with open(file_path, \"rb\") as f:\n        return f.read(7) == signature","node":"function isCRU(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x52, 0x55, 0x53, 0x48, 0x20, 0x76]);\n  return buffer.subarray(0, 7).equals(signature);\n}","go":"func IsCRU(data []byte) bool {\n    signature := []byte{0x43, 0x52, 0x55, 0x53, 0x48, 0x20, 0x76}\n    if len(data) < 7 {\n        return false\n    }\n    return bytes.Equal(data[:7], signature)\n}"}}}