added <em> swag
This commit is contained in:
8
scan.php
8
scan.php
@@ -1,12 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
[+] Malware Scanner version 3.0
|
[+] Malware Scanner version 3.1
|
||||||
[+] May 2017
|
[+] October 2017
|
||||||
[+] by Malin Cenusa
|
[+] by Malin Cenusa
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* script variables */
|
/* script variables */
|
||||||
$version = '3.0';
|
$version = '3.1';
|
||||||
$self = basename(__FILE__);
|
$self = basename(__FILE__);
|
||||||
|
|
||||||
$eroot = '../';
|
$eroot = '../';
|
||||||
@@ -540,7 +540,7 @@ foreach ($tree as $finfo)
|
|||||||
foreach($pattern as $regex){
|
foreach($pattern as $regex){
|
||||||
if(preg_match('#'.$regex.'#i', $tmp, $matches)){
|
if(preg_match('#'.$regex.'#i', $tmp, $matches)){
|
||||||
if($print_infected) print "{$finfo['path']}{$finfo['fname']}";
|
if($print_infected) print "{$finfo['path']}{$finfo['fname']}";
|
||||||
if($print_infected || $print_all) print "...SUSPECTED String: ".$regex." ";
|
if($print_infected || $print_all) print "<em>...SUSPECTED String: ".$regex."</em>";
|
||||||
$counter_suspected++;
|
$counter_suspected++;
|
||||||
if($print_infected || $print_all) print "\n";
|
if($print_infected || $print_all) print "\n";
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user