From 3c480f4c6ccd3fcdd5b15450b812a67640076be5 Mon Sep 17 00:00:00 2001 From: de4dot Date: Mon, 27 Feb 2012 01:51:44 +0100 Subject: [PATCH] Add another warning message --- .../deobfuscators/Eazfuscator_NET/StringDecrypter.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/de4dot.code/deobfuscators/Eazfuscator_NET/StringDecrypter.cs b/de4dot.code/deobfuscators/Eazfuscator_NET/StringDecrypter.cs index cd3d32ce..d7202fc5 100644 --- a/de4dot.code/deobfuscators/Eazfuscator_NET/StringDecrypter.cs +++ b/de4dot.code/deobfuscators/Eazfuscator_NET/StringDecrypter.cs @@ -88,8 +88,12 @@ namespace de4dot.code.deobfuscators.Eazfuscator_NET { decryptType = type; decryptMethod = method; - if (!findConstants(simpleDeobfuscator)) - Log.w("Can't decrypt strings. Possibly a new Eazfuscator.NET version."); + if (!findConstants(simpleDeobfuscator)) { + if (encryptedResource == null) + Log.w("Could not find encrypted resource. Strings cannot be decrypted."); + else + Log.w("Can't decrypt strings. Possibly a new Eazfuscator.NET version."); + } return; } }