Update decrypter detection code
This commit is contained in:
parent
716870b4bd
commit
17660c225e
|
@ -82,11 +82,13 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
||||||
"System.IO.MemoryStream",
|
"System.IO.MemoryStream",
|
||||||
"System.Security.Cryptography.CryptoStream",
|
"System.Security.Cryptography.CryptoStream",
|
||||||
"System.Security.Cryptography.ICryptoTransform",
|
"System.Security.Cryptography.ICryptoTransform",
|
||||||
"System.Security.Cryptography.RijndaelManaged",
|
|
||||||
};
|
};
|
||||||
requiredTypes.AddRange(additionalTypes);
|
requiredTypes.AddRange(additionalTypes);
|
||||||
if (!localTypes.all(requiredTypes))
|
if (!localTypes.all(requiredTypes))
|
||||||
return false;
|
return false;
|
||||||
|
if (!localTypes.exists("System.Security.Cryptography.RijndaelManaged") &&
|
||||||
|
!localTypes.exists("System.Security.Cryptography.AesManaged"))
|
||||||
|
return false;
|
||||||
|
|
||||||
if (checkResource && findMethodsDecrypterResource(method) == null)
|
if (checkResource && findMethodsDecrypterResource(method) == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user