Only string decrypter method is worth 100 points

This commit is contained in:
de4dot 2012-02-12 16:56:11 +01:00
parent 3e3be639e5
commit 179ea6d6fd

View File

@ -76,10 +76,10 @@ namespace de4dot.code.deobfuscators.Dotfuscator {
protected override int detectInternal() { protected override int detectInternal() {
int val = 0; int val = 0;
int sum = toInt32(foundDotfuscatorAttribute) + if (stringDecrypter.Detected)
toInt32(stringDecrypter.Detected); val += 100;
if (sum > 0) if (foundDotfuscatorAttribute)
val += 100 + 10 * (sum - 1); val += 10;
return val; return val;
} }