Ejemplo n.º 1
0
 protected override void scanForObfuscator()
 {
     findBabelAttribute();
     resourceResolver = new ResourceResolver(module);
     resourceResolver.find();
     assemblyResolver = new AssemblyResolver(module);
     assemblyResolver.find();
     stringDecrypter = new StringDecrypter(module);
     stringDecrypter.find();
     constantsDecrypter = new ConstantsDecrypter(module, initializedDataCreator);
     constantsDecrypter.find();
     proxyDelegateFinder = new ProxyDelegateFinder(module);
     proxyDelegateFinder.findDelegateCreator();
     methodsDecrypter = new MethodsDecrypter(module, DeobfuscatedFile.DeobfuscatorContext);
     methodsDecrypter.find();
 }
Ejemplo 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();
        }
Ejemplo n.º 3
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();
 }
Ejemplo n.º 4
0
 protected override void scanForObfuscator()
 {
     findBabelAttribute();
     resourceResolver = new ResourceResolver(module);
     resourceResolver.find();
     assemblyResolver = new AssemblyResolver(module);
     assemblyResolver.find();
     stringDecrypter = new StringDecrypter(module);
     stringDecrypter.find();
     constantsDecrypter = new ConstantsDecrypter(module, initializedDataCreator);
     constantsDecrypter.find();
     proxyDelegateFinder = new ProxyDelegateFinder(module);
     proxyDelegateFinder.findDelegateCreator();
     methodsDecrypter = new MethodsDecrypter(module, DeobfuscatedFile.DeobfuscatorContext);
     methodsDecrypter.find();
 }