Update DF version attribute parsing

This commit is contained in:
de4dot 2011-10-10 18:39:42 +02:00
parent 08f5b04675
commit 38b08dddfd

View File

@ -110,7 +110,7 @@ namespace de4dot.deobfuscators.Dotfuscator {
if (s == null)
return;
var val = System.Text.RegularExpressions.Regex.Match(s, @"^(\d+:\d+:\d+:\d+\.\d+\.\d+\.\d+)$");
var val = System.Text.RegularExpressions.Regex.Match(s, @"^(\d+(?::\d+)*\.\d+(?:\.\d+)*)$");
if (val.Groups.Count < 2)
return;
obfuscatorName = "Dotfuscator " + val.Groups[1].ToString();