Paessler PRTG Monitoring System database file
application/octet-stream
Magic Bytes
Offset: 0
53 51 4C 69 74 65 20 66 6F 72 6D 61 74 20 33 00
The Paessler PRTG Monitoring System database file is a proprietary data storage format developed by Paessler AG for its network monitoring suite. It serves as a repository for historical monitoring metrics, sensor logs, and system configuration settings necessary for enterprise infrastructure oversight. Since these files are based on the standard SQLite 3 architecture, they are inherently safe, though they should be protected to prevent unauthorized access to sensitive network topology data.
Validation Code
How to validate .db files in Python
Python
def is_db(file_path: str) -> bool:
"""Check if file is a valid DB by magic bytes."""
signature = bytes([0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x20, 0x33, 0x00])
with open(file_path, "rb") as f:
return f.read(16) == signature
How to validate .db files in Node.js
Node.js
function isDB(buffer: Buffer): boolean {
const signature = Buffer.from([0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x20, 0x33, 0x00]);
return buffer.subarray(0, 16).equals(signature);
}
Go
func IsDB(data []byte) bool {
signature := []byte{0x53, 0x51, 0x4C, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6F, 0x72, 0x6D, 0x61, 0x74, 0x20, 0x33, 0x00}
if len(data) < 16 {
return false
}
return bytes.Equal(data[:16], signature)
}
API Endpoint
GET
/api/v1/db
curl https://filesignature.org/api/v1/db