Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/vhost/arukustech.com/wp-content/cache/wpspeed/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhost/arukustech.com/wp-content/cache/wpspeed/73413fdca50a7e15125d4193734a74e7.wpc
a:1:{s:7:"content";s:5098:"try {
  
        $(document).on("submit", '#myOTPForm', function(event) {
            event.preventDefault(); // Prevent the default form submission

            let downloadBrochure = document.getElementById('downloadBrochure');
            let otp_wrap_email = document.getElementById('otp_wrap_email');
            let otp_wrap = document.getElementById('otp_wrap');

            var otpText = $('#otpText').val();
            var email = $('#yourEmail').val();
            var yourFullName = $('#yourFullName').val();
            var yourPhNumber = $('#yourPhNumber').val();


            
            // if (otpText.trim() === '') {
            //         // Display an error message or take appropriate action for empty email
            //         document.getElementById('otpError').textContent = 'OTP is required';
            //         return; // Exit the function
            // }

            // OTP validation
            if (otpText.trim() === '' || otpText.trim().length !== 6 || isNaN(otpText)) {
                // Display an error message or take appropriate action for invalid OTP

                document.getElementById('otpError').textContent = 'Invalid OTP. Please enter a 6-digit number.';
                return; // Exit the function
            }

            $.ajax({
                type: 'POST',
                url: 'wp-content/themes/arukus/send_otp.php',
                data: { otpText: otpText, userEmail: email, yourFullName: yourFullName, yourPhNumber: yourPhNumber },
                dataType: 'json',
                success: function(response) {
                    if (response.status == 'success') {
                        // Verification code received successfully
                        // Handle the code, e.g., display it to the user or proceed with further actions
                        console.log('Verification code:', response.status);
                        otp_wrap_email.classList.remove('close');
                        otp_wrap.classList.remove('open');
                        downloadBrochure.classList.remove('open');

                        $('#yourEmail').val('');
                        $('#yourFullName').val('');
                        $('#yourPhNumber').val('');
                        $('#otpText').val('');

                        
                        
                        //window.open('https://dev.arukustech.com/wp-content/uploads/2023/07/Arukus-Product-Profile-1.pdf', '_blank');

                        // PDF file URL

                    var fileUrl = 'https://dev.arukustech.com/wp-content/uploads/2023/07/Arukus-Product-Profile-1.pdf';

                    // Create an anchor element
                    var anchor = document.createElement('a');
                    anchor.href = fileUrl;
                    anchor.setAttribute('download', '');

                    // Simulate a click event on the anchor element
                    anchor.click();

                    


                        // // Initialize a file URL to the variable
                        //     $url = 
                        //     'https://dev.arukustech.com/wp-content/uploads/2023/07/Arukus-Product-Profile-1.pdf';
                            
                        //     // Use basename() function to return the base name of file
                        //     $file_name = basename($url);
                            
                        //     // Use file_get_contents() function to get the file
                        //     // from url and use file_put_contents() function to
                        //     // save the file by using base name
                        //     if (file_put_contents($file_name, file_get_contents($url)))
                        //     {
                        //         echo "File downloaded successfully";
                        //     }
                        //     else
                        //     {
                        //         echo "File downloading failed.";
                        //     }
                        
                    } else if (response.error) {
                        // Error occurred while sending the email
                        // Handle the error, e.g., display an error message to the user
                        console.error('Getting otp error:', response.error);
                        document.getElementById('otpError').textContent = 'OTP is incorrect';
                        setTimeout(function() {
                            document.getElementById('otpError').textContent = '';
                        }, 5000); // 5000 milliseconds = 5 seconds
                        $('#otpText').val('');
                    }
                },
                error: function(xhr, status, error) {
                    // Handle AJAX error
                    console.error('AJAX error:', error);
                    document.getElementById('otpError').textContent = 'Something went wrong';
                }
            });
        });
    
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};";}

Youez - 2016 - github.com/yon3zu
LinuXploit