QuickReport Report file
application/octet-stream
Magic Bytes
Offset: 0
FF 46 4F 4E 54
QuickReport Report file (QRP) is a proprietary document format developed by QuSoft for use within the Delphi and C++Builder integrated development environments. It is primarily used to store pre-rendered report snapshots, enabling users to view, archive, or print complex data layouts without reconnecting to the original database. Considered a legacy format today, QRP files are inherently safe as they contain static graphical data rather than executable code or embedded macros.
Validation Code
How to validate .qrp files in Python
Python
def is_qrp(file_path: str) -> bool:
"""Check if file is a valid QRP by magic bytes."""
signature = bytes([0xFF, 0x46, 0x4F, 0x4E, 0x54])
with open(file_path, "rb") as f:
return f.read(5) == signature
How to validate .qrp files in Node.js
Node.js
function isQRP(buffer: Buffer): boolean {
const signature = Buffer.from([0xFF, 0x46, 0x4F, 0x4E, 0x54]);
return buffer.subarray(0, 5).equals(signature);
}
Go
func IsQRP(data []byte) bool {
signature := []byte{0xFF, 0x46, 0x4F, 0x4E, 0x54}
if len(data) < 5 {
return false
}
return bytes.Equal(data[:5], signature)
}
API Endpoint
GET
/api/v1/qrp
curl https://filesignature.org/api/v1/qrp