{"success":true,"data":{"ext":"arj","name":"Compressed archive file","description":"ARJ (Archived by Robert Jung) is a compressed archive file format created by Robert K. Jung for the ARJ archiver. It was used to package and compress multiple files for distribution, backups, and software archives on DOS and early Windows systems. ARJ is now a legacy format; like other archives, it should be opened cautiously because compressed files can conceal malicious content.","mime":["application/x-arj"],"risk_level":"Safe","signatures":[{"hex":"60 EA","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"}]}],"related":["7z","ace","bz","bz2","cab","cpio"],"usage":{"python":"def is_arj(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ARJ by magic bytes.\"\"\"\n    signature = bytes([0x60, 0xEA])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isARJ(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x60, 0xEA]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsARJ(data []byte) bool {\n    signature := []byte{0x60, 0xEA}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"},"category":"Archives"}}