mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
18 lines
411 B
Text
18 lines
411 B
Text
// DIE's signature file
|
|
// Author: Levis <levintaeyeon@live.com>
|
|
|
|
init("format","Java Compiled Class");
|
|
|
|
function detect(bShowType,bShowVersion,bShowOptions)
|
|
{
|
|
if(Binary.getSize()>=8)
|
|
{
|
|
if(Binary.compare("CAFEBABE"))
|
|
{
|
|
sVersion=Binary.readBEWord(6)+"."+Binary.readBEWord(4);
|
|
bDetected=1;
|
|
}
|
|
}
|
|
|
|
return result(bShowType,bShowVersion,bShowOptions);
|
|
}
|