From 4a4e99223e2cdf0b7e3c15f62251fa7103723790 Mon Sep 17 00:00:00 2001 From: heuzef Date: Fri, 9 Feb 2018 14:28:00 +0100 Subject: [PATCH] Add somes comments --- defacement_check.pl | 2 ++ 1 file changed, 2 insertions(+) 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/))) {