コード例 #1
0
 protected override void ScanForObfuscator()
 {
     RemoveObfuscatorAttribute();
     jitMethodsDecrypter = new JitMethodsDecrypter(Module, DeobfuscatedFile);
     try {
         jitMethodsDecrypter.Find();
     }
     catch {
     }
     if (jitMethodsDecrypter.Detected)
     {
         InitializeObfuscatorName();
         return;
     }
     memoryMethodsDecrypter = new MemoryMethodsDecrypter(Module, DeobfuscatedFile);
     memoryMethodsDecrypter.Find();
     if (memoryMethodsDecrypter.Detected)
     {
         InitializeObfuscatorName();
         return;
     }
     InitializeTheRest(null);
 }
コード例 #2
0
 public MemoryMethodsDecrypter(ModuleDefMD module, ISimpleDeobfuscator simpleDeobfuscator, MemoryMethodsDecrypter other)
     : base(module, simpleDeobfuscator, other)
 {
     if (other != null)
     {
         version = other.version;
     }
 }
コード例 #3
0
		public MemoryMethodsDecrypter(ModuleDefMD module, ISimpleDeobfuscator simpleDeobfuscator, MemoryMethodsDecrypter other)
			: base(module, simpleDeobfuscator, other) {
			if (other != null)
				this.version = other.version;
		}
コード例 #4
0
ファイル: Deobfuscator.cs プロジェクト: RafaelRMachado/de4dot
		protected override void ScanForObfuscator() {
			RemoveObfuscatorAttribute();
			jitMethodsDecrypter = new JitMethodsDecrypter(module, DeobfuscatedFile);
			try {
				jitMethodsDecrypter.Find();
			}
			catch {
			}
			if (jitMethodsDecrypter.Detected) {
				InitializeObfuscatorName();
				return;
			}
			memoryMethodsDecrypter = new MemoryMethodsDecrypter(module, DeobfuscatedFile);
			memoryMethodsDecrypter.Find();
			if (memoryMethodsDecrypter.Detected) {
				InitializeObfuscatorName();
				return;
			}
			InitializeTheRest(null);
		}