15 lines
573 B
PHP
15 lines
573 B
PHP
<?php
|
|
header("Content-Type: text/plain");
|
|
$f = "/var/www/html/wtp-unified-dock.js";
|
|
if (file_exists($f)) {
|
|
echo "=== wtp-unified-dock.js (first 2000 chars) ===\n";
|
|
echo substr(@file_get_contents($f), 0, 2500);
|
|
echo "\n\n=== Size: " . filesize($f) . "B ===\n";
|
|
// Find what paths show the dock
|
|
$c = @file_get_contents($f);
|
|
if (preg_match_all("/(pub|pathname|location|private|internal|allow|deny)[^\n]{0,200}/i", $c, $m)) {
|
|
echo "\n=== path/pathname occurrences ===\n";
|
|
foreach (array_slice($m[0], 0, 10) as $o) echo " $o\n";
|
|
}
|
|
}
|