Support the latest CO build
This commit is contained in:
parent
09d5bd40ea
commit
74aaf19257
|
@ -64,7 +64,8 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
deobfuscate(method);
|
||||
if (!containsString(method, "debugger is activ") &&
|
||||
!containsString(method, "debugger is running") &&
|
||||
!containsString(method, "run under a debugger"))
|
||||
!containsString(method, "run under a debugger") &&
|
||||
!containsString(method, "Debugger detected"))
|
||||
continue;
|
||||
|
||||
antiDebuggerType = type;
|
||||
|
|
|
@ -129,7 +129,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
MethodDefinition getProxyCreateMethod(TypeDefinition type) {
|
||||
if (DotNetUtils.findFieldType(type, "System.ModuleHandle", true) == null)
|
||||
return null;
|
||||
if (type.Fields.Count < 1 || type.Fields.Count > 7)
|
||||
if (type.Fields.Count < 1 || type.Fields.Count > 8)
|
||||
return null;
|
||||
|
||||
MethodDefinition createMethod = null;
|
||||
|
|
|
@ -304,6 +304,8 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
return method;
|
||||
if (DotNetUtils.isMethod(method, "System.Byte[]", "(System.Byte,System.IO.Stream)"))
|
||||
return method;
|
||||
if (DotNetUtils.isMethod(method, "System.Byte[]", "(System.Byte,System.IO.Stream,System.Int32)"))
|
||||
return method;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ namespace de4dot.code.deobfuscators.CryptoObfuscator {
|
|||
|
||||
if (!method.IsStatic || !DotNetUtils.isMethod(method, "System.Void", "()"))
|
||||
return false;
|
||||
if (type.Methods.Count < 3 || type.Methods.Count > 9)
|
||||
if (type.Methods.Count < 3 || type.Methods.Count > 10)
|
||||
return false;
|
||||
if (DotNetUtils.getPInvokeMethod(type, "mscoree", "StrongNameSignatureVerificationEx") != null) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user