mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
18 lines
369 B
Text
18 lines
369 B
Text
// DIE's signature file
|
|
|
|
init("sfx","ARJ");
|
|
|
|
function detect(bShowType,bShowVersion,bShowOptions)
|
|
{
|
|
if(MSDOS.compare("'RJSX'",0x1c))
|
|
{
|
|
sVersion="old";
|
|
bDetected=1;
|
|
}
|
|
else if(MSDOS.isSignaturePresent(0,Math.min(1000,MSDOS.getSize()),"'aRJsfX'"))
|
|
{
|
|
bDetected=1;
|
|
}
|
|
|
|
return result(bShowType,bShowVersion,bShowOptions);
|
|
}
|