mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Rename many db/MSDOS detection rules to include category prefixes (e.g. compiler_, extender_, immunizer_, linker_, protector_, other_) for clearer organization. Add sLang assignment for Microsoft_C rule to set "C" or "C/C++" based on sName. Normalize formatting/whitespace in several scripts and remove executable bit from a few rule files. No detection logic changes besides the explicit sLang assignment.
23 lines
No EOL
718 B
JavaScript
23 lines
No EOL
718 B
JavaScript
// Detect It Easy: detection rule file
|
|
// Author: hypn0 <hypn0@mail.ru>
|
|
|
|
meta("compiler", "Microsoft Basic");
|
|
|
|
function detect() {
|
|
if (MSDOS.compareEP("eb$$0e1fb8....e8....8eda938a170ad274..b4..cd2143eb..b8....cd21")) {
|
|
sVersion = "7.10";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("9a########591fa1....1e510e1ffc3d....74..e9....b430cd213c..73..e9$$$$ba....0e1fb409cd21b8....cd21")) {
|
|
sVersion = "5.60";
|
|
sOptions = "1986";
|
|
bDetected = true;
|
|
} else if (MSDOS.compareEP("e9$$$$8cc88ed8e8....8a170ad274..b4..cd2143eb..b2..b4..cd21")) {
|
|
sVersion = "5.60";
|
|
sOptions = "1986";
|
|
bDetected = true;
|
|
}
|
|
|
|
sLang = "Basic";
|
|
|
|
return result();
|
|
} |