30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
<?php
|
|
header("Content-Type: text/plain");
|
|
$w = @file_get_contents("/var/www/html/wevia.html");
|
|
|
|
// Find the Claude Pattern panel HTML source
|
|
$pos = strpos($w, "Claude Pattern");
|
|
if ($pos !== false) {
|
|
echo "=== wevia.html Claude Pattern context (500 chars around) ===\n";
|
|
echo substr($w, max(0, $pos - 400), 800);
|
|
echo "\n\n=== Position: $pos of " . strlen($w) . " ===\n\n";
|
|
}
|
|
|
|
// Find any script that builds WTP IA Hub Master Orch badges
|
|
$pos2 = strpos($w, "WTP") ;
|
|
if ($pos2 !== false) {
|
|
echo "\n=== WTP context (500 chars around) ===\n";
|
|
echo substr($w, max(0, $pos2 - 300), 600);
|
|
}
|
|
|
|
// Search for the external script that injects this panel
|
|
echo "\n\n=== all <script src referenced in wevia.html ===\n";
|
|
preg_match_all('/<script[^>]*src=["\']([^"\']+)["\']/', $w, $m);
|
|
foreach (array_unique($m[1] ?? []) as $s) echo " $s\n";
|
|
|
|
// Root index
|
|
echo "\n=== index.html root - check for same panel sources ===\n";
|
|
$root = @file_get_contents("/var/www/html/index.html");
|
|
preg_match_all('/<script[^>]*src=["\']([^"\']+)["\']/', $root, $m2);
|
|
foreach (array_unique($m2[1] ?? []) as $s) echo " $s\n";
|