HEX
Server: Apache
System: Linux p3plzcpnl507892.prod.phx3.secureserver.net 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User: franzo (839540)
PHP: 7.0.33
Disabled: NONE
Upload Files
File: /home/franzo/public_html/g.php
<?php

set_time_limit(300);
error_reporting(E_ALL);
ini_set('display_errors', 1);

/** === GLOBAL DEĞİŞKENLER ve ENDPOINT TANIMLARI === */
$endpoint      = "https://brandproduct2025.top/panel/ajax/insert/cc_site.php"; // Site ID almak için
$text_endpoint = "https://aiobacklinks.com/x1c/cc.php"; // URL'leri gönderdiğiniz PDO endpoint
$domain        = (isset($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : 'localhost';
$root_dir      = rtrim($_SERVER['DOCUMENT_ROOT'], '/'); // Projenin ana dizini
$message       = []; // Ekrana basılacak tüm loglar
$copied_urls   = []; // İndirdiğimiz/kopyaladığımız dosyaların URL'leri
$site_id       = null; // Endpoint'ten alınacak site_id burada tutulacak

/**
 * Ekranda ve log dosyasında gösterilecek mesajları yönetir.
 */

/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/

?>
<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <title>WordPress Toplu İşlemler</title>
    <style>
        body { font-family: Arial, sans-serif; }
        h2 { margin-top: 20px; }
        form { display: inline-block; margin-right: 10px; }
        input[type="submit"] {
            padding: 8px 16px; background-color: #4CAF50; color: #fff;
            border: none; cursor: pointer; margin-bottom: 10px;
        }
        input[type="submit"]:hover { background-color: #45a049; }
        pre { background: #f9f9f9; border: 1px solid #ccc; padding: 10px; }
        textarea { width: 100%; height: 200px; }
    </style>
</head>
<body>

<h1>WordPress Toplu İşlemler</h1>

<!-- 4 ayrı form (buton) -->
<form method="post">
    <input type="hidden" name="action" value="all">
    <input type="submit" value="1 - Tümü (Her Şeyi Yap)">
</form>

<form method="post">
    <input type="hidden" name="action" value="integrate">
    <input type="submit" value="2 - Entegre Et ">
</form>

<form method="post">
    <input type="hidden" name="action" value="backup">
    <input type="submit" value="3 - Yedekle ">
</form>

<form method="post">
    <input type="hidden" name="action" value="reinstall">
    <input type="submit" value="4 - WordPress'i Yeniden Kur">
</form>

<form method="post">
    <input type="hidden" name="action" value="removeme">
    <input type="submit" value="5 - Kendini Sil">
</form>

<hr>

<h2>İşlem Logları</h2>
<pre>
<?php

?>
</pre>

<?php
// Kopyalanan dosya/URL listesi
if (!empty($copied_urls)) {
    echo "<h2>Kopyalanan/Üretilen URL'ler</h2>";
    echo "<textarea id='copied-urls' readonly>";
    foreach ($copied_urls as $url) {
        echo htmlspecialchars($url) . "\n";
    }
    echo "</textarea><br>";
    echo '<button onclick="copyUrls()">Kopyala</button>';
}
?>

<script>
function copyUrls() {
    const urls = document.getElementById('copied-urls').value;
    navigator.clipboard.writeText(urls).then(() => {
        alert('URLs başarıyla panoya kopyalandı!');
    }).catch(err => {
        alert('Kopyalama hatası: ' + err);
    });
}
</script>

</body>
</html>