CD Stomper Pro label file
application/octet-stream
Magic Bytes
Offset: 0
4D 56 32 31 34
The CD Stomper Pro Design file is a proprietary legacy format developed by Stomp, Inc. for its specialized optical disc labeling software suite. It stores layout templates, imported imagery, and textual elements specifically formatted for printing physical adhesive labels onto optical media such as CDs and DVDs. As a discontinued legacy format with minimal support in modern applications, it is considered safe and poses negligible security risk to contemporary computer systems.
Validation Code
How to validate .dsn files in Python
Python
def is_dsn(file_path: str) -> bool:
"""Check if file is a valid DSN by magic bytes."""
signature = bytes([0x4D, 0x56, 0x32, 0x31, 0x34])
with open(file_path, "rb") as f:
return f.read(5) == signature
How to validate .dsn files in Node.js
Node.js
function isDSN(buffer: Buffer): boolean {
const signature = Buffer.from([0x4D, 0x56, 0x32, 0x31, 0x34]);
return buffer.subarray(0, 5).equals(signature);
}
Go
func IsDSN(data []byte) bool {
signature := []byte{0x4D, 0x56, 0x32, 0x31, 0x34}
if len(data) < 5 {
return false
}
return bytes.Equal(data[:5], signature)
}
API Endpoint
GET
/api/v1/dsn
curl https://filesignature.org/api/v1/dsn