mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
25 lines
No EOL
598 B
JavaScript
25 lines
No EOL
598 B
JavaScript
// Detect It Easy: detection rule file
|
|
|
|
// Author: DosX
|
|
// E-Mail: collab@kay-software.ru
|
|
// GitHub: https://github.com/DosX-dev
|
|
// Telegram: @DosX_dev
|
|
|
|
// https://unity.com/
|
|
meta("game engine", "Unity");
|
|
|
|
function detect() {
|
|
if (PE.isLibraryPresent("UnityPlayer.dll") || PE.isExportFunctionPresent("UnityMain")) {
|
|
bDetected = true;
|
|
}
|
|
|
|
if (PE.isExportFunctionPresent("il2cpp_alloc")) {
|
|
sLang = "Native MSIL/C#";
|
|
sOptions = "IL2CPP";
|
|
bDetected = true;
|
|
|
|
_setResult("compiler", "IL2CPP Technology", String(), String());
|
|
}
|
|
|
|
return result();
|
|
} |