mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
20 lines
No EOL
670 B
JavaScript
20 lines
No EOL
670 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
init("compiler", "Small C");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("b8....8ed826a1....2d....80fc..72..b8....b1..d3e0fa8cdb8ed38be050fbb8....2d....d3e08bd8fec73bdc72..b8....50e8")) {
|
|
sVersion = "2.2";
|
|
sOptions = "1982-88 by J. E. Hendrix";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("b8....8ed826a1....2d....3d....72..b8....b1..d3e0fa8cdb8ed38be050fbb8....2d....d3e08bd881c3....3bdc72..b8....cd21")) {
|
|
sVersion = "2.1";
|
|
sOptions = "1982-88 by J. E. Hendrix";
|
|
bDetected = true;
|
|
}
|
|
|
|
_setLang("C", bDetected);
|
|
|
|
return result();
|
|
} |