diff --git a/defacement_check.pl b/defacement_check.pl index f8a597b..f25516b 100644 --- a/defacement_check.pl +++ b/defacement_check.pl @@ -95,12 +95,14 @@ foreach $file (@files) my @clean; my $total_found = 0; + # Find the Threat foreach my $s (@search) { foreach (grep(/$s/i, split(/\n/, $site))) { push @found, $_; } } + # However, ignore this Threat please foreach my $i (@whitelist) { foreach (uniq(@found)) { foreach (grep(/$i/i, split(/\n/))) {