mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
20 lines
No EOL
474 B
JavaScript
Executable file
20 lines
No EOL
474 B
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
// Author: horsicq <horsicq@gmail.com>
|
|
|
|
meta("operation system", "MS-DOS");
|
|
|
|
function detect() {
|
|
if (MSDOS.isVerbose()) {
|
|
sName = MSDOS.getOperationSystemName();
|
|
sVersion = MSDOS.getOperationSystemVersion();
|
|
sOptions = MSDOS.getOperationSystemOptions();
|
|
|
|
if (sName === "Unknown") {
|
|
sName = "DOS-like";
|
|
}
|
|
|
|
bDetected = true;
|
|
}
|
|
|
|
return result();
|
|
} |