Skype localization data file
application/octet-stream
Magic Bytes
Offset: 0
4D 4C 53 57
The Skype localization data file is a proprietary resource format developed by Skype Technologies for use in earlier versions of their VoIP communication software. These files store interface translations and text strings, allowing the application to display menus and dialogs in various user-selected languages. As modern Skype versions utilize web-based architectures, this binary format is considered obsolete and poses no significant security risk, containing only static text data.
Validation Code
How to validate .mls files in Python
Python
def is_mls(file_path: str) -> bool:
"""Check if file is a valid MLS by magic bytes."""
signature = bytes([0x4D, 0x4C, 0x53, 0x57])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .mls files in Node.js
Node.js
function isMLS(buffer: Buffer): boolean {
const signature = Buffer.from([0x4D, 0x4C, 0x53, 0x57]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsMLS(data []byte) bool {
signature := []byte{0x4D, 0x4C, 0x53, 0x57}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/mls
curl https://filesignature.org/api/v1/mls