From a33f682a9a7e283f3870a8ac15f78343073e5764 Mon Sep 17 00:00:00 2001 From: Palma Solutions LTD Date: Thu, 19 Oct 2017 12:36:35 +0200 Subject: [PATCH] added feature --- scan.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan.php b/scan.php index d939fbe..944e1c2 100644 --- a/scan.php +++ b/scan.php @@ -540,8 +540,8 @@ foreach ($tree as $finfo) foreach($pattern as $regex){ if(preg_match('#'.$regex.'#i', $tmp, $matches)){ if($print_infected) print "{$finfo['path']}{$finfo['fname']}"; - if($print_infected || $print_all) print "...INFECTED"; - $counter_infected++; + if($print_infected || $print_all) print "...SUSPECTED String: ".$regex." "; + $counter_suspected++; if($print_infected || $print_all) print "\n"; continue; }