mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
16 lines
No EOL
400 B
JavaScript
Executable file
16 lines
No EOL
400 B
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
// Author: Jason Hood <jadoxa@yahoo.com.au>
|
|
|
|
init("script");
|
|
|
|
includeScript("shell-script");
|
|
|
|
function detect() {
|
|
if (sInterpreter) {
|
|
// Capitalize the first letter, lowercase the rest.
|
|
sName = sInterpreter.substr(0, 1).toUpperCase() + sInterpreter.substr(1).toLowerCase();
|
|
bDetected = true;
|
|
}
|
|
|
|
return result();
|
|
} |