mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
17 lines
No EOL
382 B
JavaScript
Executable file
17 lines
No EOL
382 B
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
// Author: horsicq <horsicq@gmail.com>
|
|
|
|
// https://www.java.com/
|
|
meta("library", "Java Runtime");
|
|
|
|
function detect() {
|
|
if (MACH.isLibraryPresent("libjava.dylib")) {
|
|
bDetected = true;
|
|
} else if (MACH.isLibraryPresent("libjvm.dylib")) {
|
|
bDetected = true;
|
|
}
|
|
|
|
sLang = "Java";
|
|
|
|
return result();
|
|
} |