Remove metadata token obfuscator type
This commit is contained in:
parent
4e8f8a295b
commit
c381423c48
|
@ -353,6 +353,9 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
||||||
dumpEmbeddedAssemblies();
|
dumpEmbeddedAssemblies();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (options.InlineMethods)
|
||||||
|
addTypeToBeRemoved(metadataTokenObfuscator.Type, "Metadata token obfuscator");
|
||||||
|
|
||||||
startedDeobfuscating = true;
|
startedDeobfuscating = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -381,10 +384,8 @@ namespace de4dot.deobfuscators.dotNET_Reactor {
|
||||||
removeInlinedMethods();
|
removeInlinedMethods();
|
||||||
if (options.RestoreTypes)
|
if (options.RestoreTypes)
|
||||||
new TypesRestorer(module).deobfuscate();
|
new TypesRestorer(module).deobfuscate();
|
||||||
if (canRemoveDecrypterType && methodsDecrypter.Method != null) {
|
if (canRemoveDecrypterType && methodsDecrypter.Method != null)
|
||||||
addTypeToBeRemoved(methodsDecrypter.Method.DeclaringType, "Decrypter type");
|
addTypeToBeRemoved(methodsDecrypter.Method.DeclaringType, "Decrypter type");
|
||||||
addTypeToBeRemoved(metadataTokenObfuscator.Type, "Metadata token obfuscator");
|
|
||||||
}
|
|
||||||
base.deobfuscateEnd();
|
base.deobfuscateEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user