mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Fix: 2023-10-04
This commit is contained in:
parent
8311d17c89
commit
22ea8f9c9d
3 changed files with 13 additions and 25 deletions
|
|
@ -22,7 +22,6 @@ You can help with translation: https://github.com/horsicq/XTranslation
|
|||

|
||||

|
||||

|
||||

|
||||
|
||||
Detect It Easy, or abbreviated "DIE" is a program for determining types of files.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
// DIE's signature file
|
||||
// Author: Levis <levintaeyeon@live.com> http://ltops9.wordpress.com/
|
||||
|
||||
init("protector","Confuser");
|
||||
|
||||
|
|
@ -35,7 +36,18 @@ function detect(bShowType,bShowVersion,bShowOptions)
|
|||
}
|
||||
|
||||
bDetected=1;
|
||||
}
|
||||
} else if(PE.isNET()){
|
||||
if(PE.section.length>=2)
|
||||
{
|
||||
var nVersionOffset=PE.findString(PE.section[1].FileOffset,PE.section[1].FileSize,"ConfuserEx v");
|
||||
if(nVersionOffset!=-1)
|
||||
{
|
||||
sVersion=PE.getString(nVersionOffset+12,7);
|
||||
sName = "ConfuserEx";
|
||||
bDetected=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result(bShowType,bShowVersion,bShowOptions);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
// DiE's Signature File
|
||||
// ConfuserEx Detection
|
||||
// Author: Levis <levintaeyeon@live.com> http://ltops9.wordpress.com/
|
||||
|
||||
init("protector","ConfuserEx");
|
||||
|
||||
function detect(bShowType,bShowVersion,bShowOptions)
|
||||
{
|
||||
if(PE.isNET())
|
||||
{
|
||||
if(PE.section.length>=2)
|
||||
{
|
||||
var nVersionOffset=PE.findString(PE.section[1].FileOffset,PE.section[1].FileSize,"ConfuserEx v");
|
||||
if(nVersionOffset!=-1)
|
||||
{
|
||||
sVersion=PE.getString(nVersionOffset+12,7);
|
||||
bDetected=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result(bShowType,bShowVersion,bShowOptions);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue