mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
use sOptions for copyrightYeat in SHP signature
This commit is contained in:
parent
8acbda92c3
commit
51f8eec393
1 changed files with 2 additions and 4 deletions
|
|
@ -6,15 +6,13 @@ meta("archive", "Shaped (.SHP)");
|
|||
|
||||
function detect() {
|
||||
if (Binary.compare("'Shaped'")) {
|
||||
|
||||
var copyrightYear = Binary.getString(28, 4).trim();
|
||||
|
||||
if (/^[12]\d{3}$/.test(copyrightYear)) {
|
||||
sVersion = copyrightYear;
|
||||
sOptions = copyrightYear;
|
||||
bDetected = true;
|
||||
}
|
||||
}
|
||||
|
||||
return result();
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue