Detect-It-Easy/db/Binary/archive_7z.1.sg
DosX 9e621e1954 Rename and reorganize rule files
Renamed and moved numerous .sg files in the db directory to follow a more consistent naming convention and directory structure, grouping by type (e.g., compiler, cruncher, packer, protector, etc.). This improves maintainability and clarity of the signature database organization.
2026-01-25 11:20:39 +03:00

14 lines
No EOL
306 B
JavaScript

// Detect It Easy: detection rule file
meta("archive", "7-Zip");
function detect() {
if (Binary.getSize() >= 64) {
if (Binary.compare("'7z'BCAF271C")) {
sVersion = Binary.readByte(6) + "." + Binary.readByte(7);
bDetected = true;
}
}
return result();
}