Symantec Wise Installer log file

application/octet-stream

Safe

Magic Bytes

Offset: 2
2D 6C 68

The Symantec Wise Installer log file is a record format generated by Wise Installation Studio, a legacy packaging tool developed by Wise Solutions and subsequently acquired by Symantec. It is utilized during software deployment to document installation events, file paths, and error codes for system auditing and troubleshooting purposes. As the software suite was discontinued in 2011, these logs are primarily found on older systems or within archival directories and pose no inherent security threats.

Extension

.log

MIME Type

application/octet-stream

Byte Offset

2

Risk Level

Safe

Validation Code

How to validate .log files in Python

Python
def is_log(file_path: str) -> bool:
    """
    Check if file is a valid LOG by magic bytes.
    Signature offset: 2 bytes
    """
    signature = bytes([0x2D, 0x6C, 0x68])
    with open(file_path, "rb") as f:
        f.seek(2)
        return f.read(3) == signature

How to validate .log files in Node.js

Node.js
function isLOG(buffer: Buffer): boolean {
  // Signature offset: 2 bytes
  const signature = Buffer.from([0x2D, 0x6C, 0x68]);
  if (buffer.length < 5) return false;
  return buffer.subarray(2, 5).equals(signature);
}
Go
func IsLOG(data []byte) bool {
    // Signature offset: 2 bytes
    signature := []byte{0x2D, 0x6C, 0x68}
    if len(data) < 5 {
        return false
    }
    return bytes.Equal(data[2:5], signature)
}

API Endpoint

GET /api/v1/log
curl https://filesignature.org/api/v1/log

Related Formats