moved cryptoPHP to main scanner

This commit is contained in:
Palma Solutions LTD
2017-05-15 12:04:33 +02:00
parent 87599975d6
commit dd7008aa7a
2 changed files with 27 additions and 3 deletions

View File

@@ -499,6 +499,31 @@ foreach ($tree as $finfo)
}
}
elseif('png' == $ext && preg_match('\"PHP script\"', $tmp))
{
$counter_infected++;
if($print_infected) print "{$finfo['path']}{$finfo['fname']}";
if($print_infected || $print_all) print "\n";
{
print "...INFECTED (cryptoPHP)\n";
}
}
elseif('png' == $ext && preg_match('php.{0,80}', $tmp))
{
$counter_infected++;
if($print_infected) print "{$finfo['path']}{$finfo['fname']}";
if($print_infected || $print_all) print "\n";
{
print "...INFECTED (cryptoPHP)\n";
}
}
elseif('jpeg' == $ext && preg_match('/<\?php/i', $tmp))
{
$counter_infected++;