From 9a4cd237e56ab02d34d2c9b1bfe9dd6b053cebe8 Mon Sep 17 00:00:00 2001 From: de4dot Date: Sun, 2 Dec 2012 23:24:00 +0100 Subject: [PATCH] Fix detection of SN string decrypter --- de4dot.code/deobfuscators/Spices_Net/StringDecrypter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/de4dot.code/deobfuscators/Spices_Net/StringDecrypter.cs b/de4dot.code/deobfuscators/Spices_Net/StringDecrypter.cs index 23eff5d5..241a447a 100644 --- a/de4dot.code/deobfuscators/Spices_Net/StringDecrypter.cs +++ b/de4dot.code/deobfuscators/Spices_Net/StringDecrypter.cs @@ -93,7 +93,7 @@ namespace de4dot.code.deobfuscators.Spices_Net { continue; if (type.HasEvents || type.HasProperties) continue; - if (type.Fields.Count != 2) + if (type.Fields.Count < 2 || type.Fields.Count > 3) continue; if ((type.Attributes & ~TypeAttributes.Sealed) != 0) continue;