DRX
application/octet-stream
Magic Bytes
Offset: 0
52 49 46 58 4D 56 39 33
DRX is a legacy multimedia container format developed by Macromedia and later maintained by Adobe Systems for the Director authoring platform. It was primarily used to store interactive animations, movie data, and shared cast members within educational software and multimedia CD-ROM applications. While the format is considered safe for media storage, it is now obsolete due to the discontinuation of Adobe Director and the decline of plugin-based web content.
Validation Code
How to validate .drx files in Python
Python
def is_drx(file_path: str) -> bool:
"""Check if file is a valid DRX by magic bytes."""
signature = bytes([0x52, 0x49, 0x46, 0x58, 0x4D, 0x56, 0x39, 0x33])
with open(file_path, "rb") as f:
return f.read(8) == signature
How to validate .drx files in Node.js
Node.js
function isDRX(buffer: Buffer): boolean {
const signature = Buffer.from([0x52, 0x49, 0x46, 0x58, 0x4D, 0x56, 0x39, 0x33]);
return buffer.subarray(0, 8).equals(signature);
}
Go
func IsDRX(data []byte) bool {
signature := []byte{0x52, 0x49, 0x46, 0x58, 0x4D, 0x56, 0x39, 0x33}
if len(data) < 8 {
return false
}
return bytes.Equal(data[:8], signature)
}
API Endpoint
GET
/api/v1/drx
curl https://filesignature.org/api/v1/drx