mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
15 lines
No EOL
326 B
JavaScript
Executable file
15 lines
No EOL
326 B
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
|
|
init("library", "Java Runtime");
|
|
|
|
function detect() {
|
|
if (MACH.isLibraryPresent("libjava.dylib")) {
|
|
bDetected = true;
|
|
} else if (MACH.isLibraryPresent("libjvm.dylib")) {
|
|
bDetected = true;
|
|
}
|
|
|
|
_setLang("Java", bDetected);
|
|
|
|
return result();
|
|
} |