Add verbose mode (--verbose)

master
heuzef 7 years ago
parent c5c4154685
commit ca201d2d3f
  1. 4
      defacement_check.pl

@ -62,7 +62,9 @@ foreach $file (@files)
# Results
foreach (uniq(@found)) {
$total_found++;
# print $total_found . " : " . $_ . "\n"; # VERBOSE MODE
if ($ARGV[0] eq '--verbose') {
print "\033[36m" . $total_found . " : " . $_ . "\n";
}
}
if ($total_found == 0) {
print "\033[32m" . $total_found . "\t\t=> " . $survey. "\n";

Loading…
Cancel
Save