Fix detection of SN string decrypter

This commit is contained in:
de4dot 2012-12-02 23:24:00 +01:00
parent ca6812bca7
commit 9a4cd237e5

View File

@ -93,7 +93,7 @@ namespace de4dot.code.deobfuscators.Spices_Net {
continue; continue;
if (type.HasEvents || type.HasProperties) if (type.HasEvents || type.HasProperties)
continue; continue;
if (type.Fields.Count != 2) if (type.Fields.Count < 2 || type.Fields.Count > 3)
continue; continue;
if ((type.Attributes & ~TypeAttributes.Sealed) != 0) if ((type.Attributes & ~TypeAttributes.Sealed) != 0)
continue; continue;