Add somes comments

master
heuzef 7 years ago
parent 44402a60c5
commit 4a4e99223e
  1. 2
      defacement_check.pl

@ -95,12 +95,14 @@ foreach $file (@files)
my @clean; my @clean;
my $total_found = 0; my $total_found = 0;
# Find the Threat
foreach my $s (@search) { foreach my $s (@search) {
foreach (grep(/$s/i, split(/\n/, $site))) { foreach (grep(/$s/i, split(/\n/, $site))) {
push @found, $_; push @found, $_;
} }
} }
# However, ignore this Threat please
foreach my $i (@whitelist) { foreach my $i (@whitelist) {
foreach (uniq(@found)) { foreach (uniq(@found)) {
foreach (grep(/$i/i, split(/\n/))) { foreach (grep(/$i/i, split(/\n/))) {

Loading…
Cancel
Save