mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
18 lines
No EOL
401 B
JavaScript
Executable file
18 lines
No EOL
401 B
JavaScript
Executable file
// Detect It Easy: detection rule file
|
|
// Author: horsicq <horsicq@gmail.com>
|
|
|
|
meta("format", "ZIP");
|
|
|
|
function detect() {
|
|
if (ZIP.isVerbose()) {
|
|
sName = ZIP.getFileFormatName();
|
|
sVersion = ZIP.getFileFormatVersion();
|
|
sOptions = ZIP.getFileFormatOptions();
|
|
|
|
if (sName) {
|
|
bDetected = true;
|
|
}
|
|
}
|
|
|
|
return result();
|
|
} |