{"success":true,"data":{"ext":"grp","name":"Windows Program Manager group file","description":"Windows Program Manager group files are a legacy Microsoft format used by Windows 3.x to store program groups and their associated shortcut definitions. They were used by Program Manager to organize applications, documents, and system tools into grouped launchable entries. The format is obsolete and generally safe to open, though files from untrusted sources should still be handled cautiously because they may reference legacy executables or paths.","mime":[],"risk_level":"Safe","signatures":[{"hex":"50 4D 43 43","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"}]}],"related":[],"usage":{"python":"def is_grp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid GRP by magic bytes.\"\"\"\n    signature = bytes([0x50, 0x4D, 0x43, 0x43])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isGRP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x4D, 0x43, 0x43]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsGRP(data []byte) bool {\n    signature := []byte{0x50, 0x4D, 0x43, 0x43}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}