Remove string decrypter type and allow static + dynamic decryption
This commit is contained in:
parent
78397f9c4f
commit
9ad15e63e4
|
@ -82,6 +82,7 @@ namespace de4dot.deobfuscators.CryptoObfuscator {
|
|||
public Deobfuscator(Options options)
|
||||
: base(options) {
|
||||
this.options = options;
|
||||
StringFeatures = StringFeatures.AllowStaticDecryption | StringFeatures.AllowDynamicDecryption;
|
||||
}
|
||||
|
||||
public override void init(ModuleDefinition module) {
|
||||
|
@ -179,6 +180,7 @@ namespace de4dot.deobfuscators.CryptoObfuscator {
|
|||
addTypeToBeRemoved(assemblyResolver.ResolverType, "Assembly resolver type");
|
||||
addTypeToBeRemoved(tamperDetection.TamperType, "Tamper detection type");
|
||||
addTypeToBeRemoved(antiDebugger.AntiDebuggerType, "Anti-debugger type");
|
||||
addTypeToBeRemoved(stringDecrypter.StringDecrypterType, "String decrypter type");
|
||||
|
||||
dumpEmbeddedAssemblies();
|
||||
}
|
||||
|
|
|
@ -33,6 +33,10 @@ namespace de4dot.deobfuscators.CryptoObfuscator {
|
|||
get { return stringDecrypterType != null; }
|
||||
}
|
||||
|
||||
public TypeDefinition StringDecrypterType {
|
||||
get { return stringDecrypterType; }
|
||||
}
|
||||
|
||||
public MethodDefinition StringDecrypterMethod {
|
||||
get { return stringDecrypterMethod; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user