Skip to content

Commit

Permalink
Update Script
Browse files Browse the repository at this point in the history
  • Loading branch information
gorums authored May 17, 2021
1 parent b667a5b commit 4536adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GoBusterDns/Script
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ if (lineInputCount < 13)
return new ScriptOutput();
}

var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"^Found:\s(.*?)");
var match = System.Text.RegularExpressions.Regex.Match(lineInput, @"^Found:\s(.*)?");
if (match.Success && match.Groups.Count == 2)
{
return new ScriptOutput { Subdomain = match.Groups[1].Value };
return new ScriptOutput { Subdomain = match.Groups[1].Value.Trim() };
}

return new ScriptOutput();

0 comments on commit 4536adb

Please sign in to comment.