Return null if inflated data isn't an MZ file
This commit is contained in:
parent
8637ef5e1a
commit
68d962fb6e
|
@ -58,6 +58,9 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
|||
if (count != inflatedSize)
|
||||
return null;
|
||||
|
||||
if (BitConverter.ToInt16(inflatedData, 0) != 0x5A4D)
|
||||
return null;
|
||||
|
||||
return inflatedData;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user