Beispiel #1
0
 public ProxyCallFixer(ModuleDefinition module, ProxyCallFixer oldOne)
     : base(module)
 {
     foreach (var method in oldOne.delegateCreatorMethods)
     {
         setDelegateCreatorMethod(lookup(method, "Could not find delegate creator method"));
     }
 }
Beispiel #2
0
 protected override void scanForObfuscator()
 {
     findCliSecureAttribute();
     cliSecureRtType = new CliSecureRtType(module);
     cliSecureRtType.find(ModuleBytes);
     stringDecrypter = new StringDecrypter(module, cliSecureRtType.StringDecrypterMethod);
     stringDecrypter.find();
     resourceDecrypter = new ResourceDecrypter(module);
     resourceDecrypter.find();
     proxyCallFixer = new ProxyCallFixer(module);
     proxyCallFixer.findDelegateCreator();
     csvm = new vm.Csvm(DeobfuscatedFile.DeobfuscatorContext, module);
     csvm.find();
 }
Beispiel #3
0
 protected override void scanForObfuscator()
 {
     findCliSecureAttribute();
     cliSecureRtType = new CliSecureRtType(module);
     cliSecureRtType.find(ModuleBytes);
     stringDecrypter = new StringDecrypter(module, cliSecureRtType.StringDecrypterMethod);
     stringDecrypter.find();
     resourceDecrypter = new ResourceDecrypter(module);
     resourceDecrypter.find();
     proxyCallFixer = new ProxyCallFixer(module);
     proxyCallFixer.findDelegateCreator();
     csvm = new vm.Csvm(DeobfuscatedFile.DeobfuscatorContext, module);
     csvm.find();
 }
Beispiel #4
0
 public ProxyCallFixer(ModuleDefinition module, ProxyCallFixer oldOne)
     : base(module)
 {
     foreach (var method in oldOne.delegateCreatorMethods)
         setDelegateCreatorMethod(lookup(method, "Could not find delegate creator method"));
 }