403Webshell
Server IP : 81.19.159.101  /  Your IP : 216.73.217.111
Web Server : Apache
System : Linux www58.world4you.com 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : ftp8817043 ( 2681)
PHP Version : 8.4.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/.sites/103/site8817043/web/wp-content/plugins/akeebabackupwp/app/media/js/solo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/.sites/103/site8817043/web/wp-content/plugins/akeebabackupwp/app/media/js/solo/s3import.js
/**
 * @package   solo
 * @copyright Copyright (c)2014-2025 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

if (typeof akeeba == "undefined")
{
    var akeeba = {};
}

if (typeof akeeba.S3Import == "undefined")
{
    akeeba.S3Import = {};
}

akeeba.S3Import.delayedApplicationOfS3KeysInGUI = function ()
{
    var elAccessKey = document.getElementById("s3access");
    var elSecretKey = document.getElementById("s3secret");

    if ((elAccessKey === null) || (elSecretKey === null))
    {
        return;
    }

    /**
     * This makes sure that the S3 access and secret keys are not replaced by the browser or a password manager browser
     * extensions with some arbitrary username and password combination.
     */
    setTimeout(function ()
    {
        document.getElementById("s3access").value = akeeba.System.getOptions("akeeba.S3Import.accessKey");
        document.getElementById("s3secret").value = akeeba.System.getOptions("akeeba.S3Import.secretKey");
    }, 500);
};

//=============================================================================
// Akeeba Backup Pro - Import arbitrary archives from S3
//=============================================================================

akeeba.S3Import.resetRoot = function ()
{
    document.getElementById("ak_s3import_folder").value = "";

    return true;
};

akeeba.S3Import.changeDirectory = function (e)
{
    var elTarget      = e.target;
    var encodedPrefix = akeeba.System.data.get(elTarget, "s3prefix", "");

    document.getElementById("ak_s3import_folder").value = atob(encodedPrefix);
    document.forms.adminForm.submit();
};

/**
 *
 * @param {Event} e
 */
akeeba.S3Import.importFile = function (e)
{
    var elTarget    = e.target;
    var encodedName = akeeba.System.data.get(elTarget, "s3object", "");
    var objectName  = atob(encodedName);

    if (objectName === "")
    {
        return false;
    }

    window.location = akeeba.System.getOptions("akeeba.S3Import.importURL") + "&file=" + encodeURIComponent(objectName);
};

akeeba.System.documentReady(function ()
{
    akeeba.S3Import.delayedApplicationOfS3KeysInGUI();

    akeeba.System.addEventListener("akeebaS3ImportResetRoot", "click", akeeba.S3Import.resetRoot);

    akeeba.System.iterateNodes(".akeebaS3ImportChangeDirectory", function (el)
    {
        akeeba.System.addEventListener(el, "click", akeeba.S3Import.changeDirectory);
    });

    akeeba.System.iterateNodes(".akeebaS3ImportObjectDownload", function (el)
    {
        akeeba.System.addEventListener(el, "click", akeeba.S3Import.importFile);
    });

    var redirectionURL = akeeba.System.getOptions("akeeba.S3Import.autoRedirectURL", "");

    if (redirectionURL !== '')
    {
        window.location = redirectionURL;
    }
});

Youez - 2016 - github.com/yon3zu
LinuXploit