Detect some other DNR 4.5 version
This commit is contained in:
parent
d4ff713b95
commit
48f31acb7e
|
@ -369,6 +369,7 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 {
|
||||||
bool hasSymmetricAlgorithm = new LocalTypes(methodsDecrypter.Method).Exists("System.Security.Cryptography.SymmetricAlgorithm");
|
bool hasSymmetricAlgorithm = new LocalTypes(methodsDecrypter.Method).Exists("System.Security.Cryptography.SymmetricAlgorithm");
|
||||||
if (module.IsClr40) {
|
if (module.IsClr40) {
|
||||||
switch (numIntPtrSizeCompares) {
|
switch (numIntPtrSizeCompares) {
|
||||||
|
case 7:
|
||||||
case 9: return DeobfuscatorInfo.THE_NAME + " 4.5";
|
case 9: return DeobfuscatorInfo.THE_NAME + " 4.5";
|
||||||
case 10:
|
case 10:
|
||||||
if (!hasSymmetricAlgorithm)
|
if (!hasSymmetricAlgorithm)
|
||||||
|
@ -378,6 +379,7 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
switch (numIntPtrSizeCompares) {
|
switch (numIntPtrSizeCompares) {
|
||||||
|
case 6:
|
||||||
case 8: return DeobfuscatorInfo.THE_NAME + " 4.5";
|
case 8: return DeobfuscatorInfo.THE_NAME + " 4.5";
|
||||||
case 9:
|
case 9:
|
||||||
if (!hasSymmetricAlgorithm)
|
if (!hasSymmetricAlgorithm)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user