Server IP : 213.32.127.20 / Your IP : 216.73.216.252 Web Server : Apache System : Linux ns3.servidorneptuno.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64 User : atoqsfjh ( 1072) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/3291606/root/home/atoqsfjh/public_html/ |
Upload File : |
<!DOCTYPE html> <html lang="id"> <head> <meta charset="UTF-8"> <title>Cek Otoritas Domain</title> <style> body { font-family: sans-serif; background: #f3f3f3; display: flex; align-items: center; justify-content: center; min-height: 100vh; } .box { background: #fff; padding: 25px 30px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); max-width: 500px; width: 100%; } textarea { width: 100%; padding: 12px; font-size: 14px; resize: vertical; height: 200px; box-sizing: border-box; } button { margin-top: 15px; width: 100%; padding: 12px; background: #007bff; color: white; font-size: 16px; border: none; cursor: pointer; border-radius: 5px; } pre { background: #f1f1f1; padding: 10px; margin-top: 20px; white-space: pre-wrap; border-left: 3px solid #007bff; border-radius: 5px; } </style> </head> <body> <div class="box"> <h2>Cek Otoritas Domain</h2> <form method="POST"> <label>Masukkan banyak URL/domain (satu per baris):</label><br> <textarea name="urls" placeholder="contoh: https://domain1.com/wp-login.php#abc https://domain2.org/wp-login.php?redirect=admin example.net/login subdomain.website.co.uk ..."></textarea> <button type="submit">Cek Sekarang</button> </form> <?php function extract_main_domain($url) { $url = trim($url); if (stripos($url, 'http') !== 0) { $url = 'http://' . $url; } $host = parse_url($url, PHP_URL_HOST); return $host ?? ''; } if ($_SERVER["REQUEST_METHOD"] === "POST" && !empty($_POST["urls"])) { $input = trim($_POST["urls"]); $lines = explode("\n", $input); $results = []; foreach ($lines as $line) { $line = trim($line); if (empty($line)) continue; $domain = extract_main_domain($line); // Validasi: harus mengandung titik (.) dan tidak hanya "http" if (!empty($domain) && strpos($domain, '.') !== false && strtolower($domain) !== 'http') { $results[] = $domain; } } $results = array_unique($results); sort($results); if (!empty($results)) { echo "<pre><strong>Hasil Domain Utama (Rapi & Urut):</strong>\n"; foreach ($results as $domain) { echo htmlspecialchars($domain) . "\n"; } echo "</strong></pre>"; } else { echo "<pre><strong>Tidak ada domain valid yang ditemukan.</strong></pre>"; } } ?> </div> </body> </html> <!DOCTYPE html> <html lang="id"> <head> <meta charset="UTF-8"> <title>Cek Otoritas Domain</title> <style> body { font-family: sans-serif; background: #f3f3f3; display: flex; align-items: center; justify-content: center; min-height: 100vh; } .box { background: #fff; padding: 25px 30px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); max-width: 500px; width: 100%; } textarea { width: 100%; padding: 12px; font-size: 14px; resize: vertical; height: 200px; box-sizing: border-box; } button { margin-top: 15px; width: 100%; padding: 12px; background: #007bff; color: white; font-size: 16px; border: none; cursor: pointer; border-radius: 5px; } pre { background: #f1f1f1; padding: 10px; margin-top: 20px; white-space: pre-wrap; border-left: 3px solid #007bff; border-radius: 5px; } </style> </head> <body> <div class="box"> <h2>Cek Otoritas Domain</h2> <form method="POST"> <label>Masukkan banyak URL/domain (satu per baris):</label><br> <textarea name="urls" placeholder="contoh: https://domain1.com/wp-login.php#abc https://domain2.org/wp-login.php?redirect=admin example.net/login subdomain.website.co.uk ..."></textarea> <button type="submit">Cek Sekarang</button> </form> <?php function extract_main_domain($url) { $url = trim($url); if (stripos($url, 'http') !== 0) { $url = 'http://' . $url; } $host = parse_url($url, PHP_URL_HOST); return $host ?? ''; } if ($_SERVER["REQUEST_METHOD"] === "POST" && !empty($_POST["urls"])) { $input = trim($_POST["urls"]); $lines = explode("\n", $input); $results = []; foreach ($lines as $line) { $line = trim($line); if (empty($line)) continue; $domain = extract_main_domain($line); // Validasi: harus mengandung titik (.) dan tidak hanya "http" if (!empty($domain) && strpos($domain, '.') !== false && strtolower($domain) !== 'http') { $results[] = $domain; } } $results = array_unique($results); sort($results); if (!empty($results)) { echo "<pre><strong>Hasil Domain Utama (Rapi & Urut):</strong>\n"; foreach ($results as $domain) { echo htmlspecialchars($domain) . "\n"; } echo "</strong></pre>"; } else { echo "<pre><strong>Tidak ada domain valid yang ditemukan.</strong></pre>"; } } ?> </div> </body> </html>