Detect-It-Easy/db/Binary/format_doc.CHM.1.sg
2026-06-20 22:32:01 +02:00

18 lines
No EOL
508 B
JavaScript
Executable file

// Detect It Easy: detection rule file
// Author: horsicq <horsicq@gmail.com>
// Authors:
// sendersu (sendersu on exelab.ru),
// Kaens (TG @kaens)
// https://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help
meta("format", "Microsoft Compiled HTML Help");
function detect() {
if (Binary.compare("'ITSF'..000000")) {
bDetected = true;
sVersion = Binary.read_int32(4, _LE);
sOption(Binary.read_uint32(0x14, _LE), "LangID: ");
}
return result();
}