Esempio n. 1
0
        protected override void ScanForObfuscator()
        {
            FindBabelAttribute();
            var resourceDecrypterCreator = new ResourceDecrypterCreator(module, DeobfuscatedFile);

            resourceResolver = new ResourceResolver(module, resourceDecrypterCreator.Create(), DeobfuscatedFile);
            resourceResolver.Find();
            assemblyResolver = new AssemblyResolver(module, resourceDecrypterCreator.Create());
            assemblyResolver.Find();
            stringDecrypter = new StringDecrypter(module, resourceDecrypterCreator.Create());
            stringDecrypter.Find(DeobfuscatedFile);
            constantsDecrypter = new ConstantsDecrypter(module, resourceDecrypterCreator.Create(), initializedDataCreator);
            constantsDecrypter.Find();
            proxyCallFixer = new ProxyCallFixer(module);
            proxyCallFixer.FindDelegateCreator();
            methodsDecrypter = new MethodsDecrypter(module, resourceDecrypterCreator.Create(), DeobfuscatedFile.DeobfuscatorContext);
            methodsDecrypter.Find();
        }
Esempio n. 2
0
 protected override void ScanForObfuscator()
 {
     FindBabelAttribute();
     var resourceDecrypterCreator = new ResourceDecrypterCreator(Module, DeobfuscatedFile);
     resourceResolver = new ResourceResolver(Module, resourceDecrypterCreator.Create(), DeobfuscatedFile);
     resourceResolver.Find();
     assemblyResolver = new AssemblyResolver(Module, resourceDecrypterCreator.Create());
     assemblyResolver.Find();
     stringDecrypter = new StringDecrypter(Module, resourceDecrypterCreator.Create());
     stringDecrypter.Find(DeobfuscatedFile);
     constantsDecrypter = new ConstantsDecrypter(Module, resourceDecrypterCreator.Create(), initializedDataCreator);
     constantsDecrypter.Find();
     proxyCallFixer = new ProxyCallFixer(Module);
     proxyCallFixer.FindDelegateCreator();
     methodsDecrypter = new MethodsDecrypter(Module, resourceDecrypterCreator.Create(), DeobfuscatedFile.DeobfuscatorContext);
     methodsDecrypter.Find();
 }