mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Renamed numerous files in the db/Binary, db/ELF, db/ISO9660, db/NE, and db/PE directories to use a consistent naming convention with underscores and clearer prefixes (e.g., archive_, audio_, format_, library_, tool_, etc.). This improves clarity, organization, and maintainability of the database file structure.
19 lines
No EOL
454 B
JavaScript
19 lines
No EOL
454 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: BJNFNE <bjnfne@web.de>
|
|
|
|
// https://www.legoisland.org/wiki/Interleaf_File
|
|
meta("format", "Interleaf File");
|
|
|
|
function detect() {
|
|
if (Binary.compare("52494646........'OMNI'")) {
|
|
var metadata = Binary.getString(12, 4).trim();
|
|
|
|
if (/^[A-Za-z]{4}/.test(metadata)) {
|
|
if (X.isVerbose()) sOptions = metadata;
|
|
bDetected = true;
|
|
}
|
|
|
|
}
|
|
|
|
return result();
|
|
} |