diff --git a/defacement_check.pl b/defacement_check.pl index 7a131cf..f853e4f 100644 --- a/defacement_check.pl +++ b/defacement_check.pl @@ -102,12 +102,12 @@ foreach $file (@files) } } - # However, ignore this Threat please + # However, IGNORE this Threat please foreach my $i (@whitelist) { - foreach (uniq(@found)) { + foreach (@found) { foreach (grep(/$i/i, split(/\n/))) { - print "\033[35mIGNORE "; - pop @found, $_; + print "\033[35mIGNORE "; # VERBOSE + pop @found; } } }