Detect some other DNR 4.5 version

This commit is contained in:
de4dot 2013-11-15 14:44:20 +01:00
parent d4ff713b95
commit 48f31acb7e

View File

@ -369,6 +369,7 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 {
bool hasSymmetricAlgorithm = new LocalTypes(methodsDecrypter.Method).Exists("System.Security.Cryptography.SymmetricAlgorithm");
if (module.IsClr40) {
switch (numIntPtrSizeCompares) {
case 7:
case 9: return DeobfuscatorInfo.THE_NAME + " 4.5";
case 10:
if (!hasSymmetricAlgorithm)
@ -378,6 +379,7 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 {
}
else {
switch (numIntPtrSizeCompares) {
case 6:
case 8: return DeobfuscatorInfo.THE_NAME + " 4.5";
case 9:
if (!hasSymmetricAlgorithm)