BUP
application/x-dvd-ifo
Magic Bytes
Offset: 0
44 56 44 56 49 44 45 4F 2D 56 54 53
The BUP format is a redundancy backup of DVD-Video Information (IFO) files, conforming to standards established by the DVD Forum. These files store critical navigation data, including chapter markers and menu structures, to ensure playback continuity if the primary IFO file becomes unreadable due to physical disc damage. As a legacy component of optical media architecture, BUP files are considered safe and pose minimal security risks because they contain no executable code.
Validation Code
How to validate .bup files in Python
Python
def is_bup(file_path: str) -> bool:
"""Check if file is a valid BUP by magic bytes."""
signature = bytes([0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53])
with open(file_path, "rb") as f:
return f.read(12) == signature
How to validate .bup files in Node.js
Node.js
function isBUP(buffer: Buffer): boolean {
const signature = Buffer.from([0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53]);
return buffer.subarray(0, 12).equals(signature);
}
Go
func IsBUP(data []byte) bool {
signature := []byte{0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53}
if len(data) < 12 {
return false
}
return bytes.Equal(data[:12], signature)
}
API Endpoint
GET
/api/v1/bup
curl https://filesignature.org/api/v1/bup