mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Added a standard header comment to all db framework and detection rule files, indicating they are part of the Detect It Easy (DiE-JS) framework and warning against unauthorized changes. This improves consistency and clarifies file purpose for maintainers.
12 lines
No EOL
581 B
Text
Executable file
12 lines
No EOL
581 B
Text
Executable file
// Detect It Easy: DiE-JS framework file
|
|
// Don't change anything unless you're sure about what you're doing
|
|
|
|
// FASM's PE DOS stub is tested twice - once to detect FASM as a compiler and
|
|
// again to prevent being detected as a linker (FASM has no linker). Detect it
|
|
// once here.
|
|
|
|
var bFASM;
|
|
|
|
if (!bFASM && PE) {
|
|
bFASM = PE.compare("'MZ'80000100000004001000FFFF00004001000000000000400000000000000000000000000000000000000000000000000000000000000000000000800000000E1FBA0E00B409CD21B8014CCD21'This program cannot be run in DOS mode.\r\n$'0000000000000000'PE'0000");
|
|
} |