{"success":true,"data":{"ext":"pbd","name":"SAP PowerBuilder integrated development environment file","description":"The PBD file format is a PowerBuilder development file associated with SAP PowerBuilder, a rapid application development environment originally created by Powersoft and later maintained by SAP. It is used to store compiled application components, libraries, or project data for building and running PowerBuilder applications. The format is largely tied to legacy PowerBuilder workflows, and files should be treated cautiously only as with any untrusted software artifact.","mime":["application/vnd.powerbuilder6"],"risk_level":"Safe","signatures":[{"hex":"48 44 52 2A 50 6F 77 65 72 42 75 69 6C 64 65 72","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_pbd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PBD by magic bytes.\"\"\"\n    signature = bytes([0x48, 0x44, 0x52, 0x2A, 0x50, 0x6F, 0x77, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x65, 0x72])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isPBD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x48, 0x44, 0x52, 0x2A, 0x50, 0x6F, 0x77, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x65, 0x72]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsPBD(data []byte) bool {\n    signature := []byte{0x48, 0x44, 0x52, 0x2A, 0x50, 0x6F, 0x77, 0x65, 0x72, 0x42, 0x75, 0x69, 0x6C, 0x64, 0x65, 0x72}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}