????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.80.1  /  Your IP : 216.73.216.191
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/./././././thread-self/cwd/wp-content/plugins/duplicator/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/./././././thread-self/cwd/wp-content/plugins/duplicator/assets/js/one-click-upgrade.js
// Endpoint to connect to Duplicator Pro
var remoteEndpoint = "https://connect.duplicator.com/get-remote-url";

jQuery(document).ready(function ($) {
    if ($('#dup-settings-connect-btn').length) {
        $('#dup-settings-connect-btn').on('click', function (event) {
            event.stopPropagation();

            // Generate OTH for secure redirect
            Duplicator.Util.ajaxWrapper(
                {
                    action: 'duplicator_generate_connect_oth',
                    nonce: dup_one_click_upgrade_script_data.nonce_generate_connect_oth
                },
                function (result, data, funcData, textStatus, jqXHR) {
                    var redirectUrl = remoteEndpoint + "?" + new URLSearchParams({
                        "oth": funcData.oth,
                        "homeurl": window.location.origin,
                        "redirect": funcData.redirect_url,
                        "origin": window.location.href,
                        "php_version": funcData.php_version,
                        "wp_version": funcData.wp_version
                    }).toString();

                    window.location.href = redirectUrl;
                },
                function (result, data, funcData, textStatus, jqXHR) {
                    let errorMsg = `<p>
                        <b>${dup_one_click_upgrade_script_data.fail_notice_title}</b>
                    </p>
                    <p>
                        ${dup_one_click_upgrade_script_data.fail_notice_message_label} ${data.message}<br>
                        ${dup_one_click_upgrade_script_data.fail_notice_suggestion}
                    </p>`;
                    Duplicator.addAdminMessage(errorMsg, 'error');
                }
            );
        });
    }
});

Youez - 2016 - github.com/yon3zu
LinuXploit