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/e17c4b2679bad0886fda8a81249e8464.wpc
a:1:{s:7:"content";s:6874:"try {

        $(document).on("submit", '#requestADemoForm', function(event) {
            console.log('requestADemoForm called');
            event.preventDefault(); // Prevent the default form submission

            let requestADemoWrapperForm = document.getElementById('requestADemoWrapperForm');
            let send_requestDemo_wrapper = document.getElementById('send_requestDemo_wrapper');
            let send_ScheduleDemo_wrapper = document.getElementById('send_ScheduleDemo_wrapper');
            //let loader = document.getElementById('load_screen'); // Get the loader element

            //var email = $('#yourEmail').val();
            var yourFullNameDemo = $('#yourFullNameDemo').val();
            var yourPhNumberDemo = $('#yourPhNumberDemo').val();
            var yourEmailAddressDemo = $('#yourEmailAddressDemo').val();
            var selectedProductDemo = $('#selectedProductDemo').val();
            var yourMessageDemo = $('#yourMessageDemo').val();
            console.log('yourFullNameDemo', yourFullNameDemo);

            // Name Validation
            if (yourFullNameDemo.trim() === '') {
                
                document.getElementById('yourFullNameDemoError').textContent = 'Name is required';
                return;
            } else {
                document.getElementById('yourFullNameDemoError').textContent = '';
            }

            // Phone Number Validation
            if (yourPhNumberDemo.trim() === '') {
                document.getElementById('yourPhNumberDemoError').textContent = 'Phone number is required';
                return;
            } else {
                document.getElementById('yourPhNumberDemoError').textContent = '';
            }

            // Mobile Number Validation
            var phoneNumberUtil = libphonenumber.PhoneNumberUtil.getInstance();

            try {
                var phoneNumber = phoneNumberUtil.parseAndKeepRawInput(yourPhNumberDemo);
                var isValidNumber = phoneNumberUtil.isValidNumber(phoneNumber);
            } catch (e) {
                isValidNumber = false;
            }

            if (!isValidNumber) {
                document.getElementById('yourPhNumberDemoError').textContent = 'Invalid mobile number';
                return;
            } else {
                document.getElementById('yourPhNumberDemoError').textContent = '';
            }

            // Email Validation
            if (yourEmailAddressDemo.trim() === '') {
                document.getElementById('yourEmailAddressDemoError').textContent = 'Email is required';
                return;
            } else {
                document.getElementById('yourEmailAddressDemoError').textContent = '';
            }

            // Email Format Validation using Regex
            var emailFormat =/^[^\s@]+@[^\s@]+\.[^\s@]+$/;
            if (!yourEmailAddressDemo.match(emailFormat)) {
                document.getElementById('yourEmailAddressDemoError').textContent = 'Invalid email format';
                return;
            } else {
                document.getElementById('yourEmailAddressDemoError').textContent = '';
            }

            var disallowedDomains = ['mailinator.com'];

            var domain = yourEmailAddressDemo.split('@')[1];

            if (disallowedDomains.includes(domain)) {
                document.getElementById('yourEmailAddressDemoError').textContent = 'Email domain not allowed';
                return; // Exit the function
            }

            // Clear any previous error messages
            document.getElementById('yourEmailAddressDemoError').textContent = '';


            var selectedOptions = document.querySelectorAll('#selectedProductDemo option:checked');

            // Check if at least one option is selected
            if (selectedOptions.length === 0) {
                // Display the error message
                var selectedProductDemoError = document.getElementById('selectedProductDemoError');
                selectedProductDemoError.textContent = 'Please select at least one product.';
                //selectedProductDemoError.style.color = 'red';

                // Prevent the form from being submitted
                return;
            } else {
            document.getElementById('selectedProductDemoError').textContent = '';

            
            }

            //$user_answer = $_POST['captcha'];
            var user_answer = $('#captcha').val();
             var correct_answer = '20';
            if (user_answer != correct_answer) {
                // Captcha is incorrect, do not process the form
                
                document.getElementById('captchaDemoError').textContent = 'Captcha is invalid';
                // Clear the session variable after successful submission
                return;
            } else {
                // Clear the session variable after successful submission
                //unset($_SESSION['math_captcha']);
            }

            //loader.style.display = 'block';
           
            $('#load_screen').show();
            
            $.ajax({
                type: 'POST',
                url: 'wp-content/themes/arukus/send_request_demo_form.php',
                data: { yourFullNameDemo: yourFullNameDemo, yourEmailAddressDemo: yourEmailAddressDemo, yourPhNumberDemo: yourPhNumberDemo, selectedProductDemo: selectedProductDemo, yourMessageDemo: yourMessageDemo },
                dataType: 'json',
                success: function(response) {
                    if (response.status == 'success') {
                        
                        $('#load_screen').hide();
                        // Verification code received successfully
                        // Handle the code, e.g., display it to the user or proceed with further actions
                        console.log('send request demo res:', response.status);
                        send_ScheduleDemo_wrapper.classList.add('open');
                        send_requestDemo_wrapper.classList.add('close');
                        
                    } else if (response.error) {
                        $('#load_screen').hide();
                        // Error occurred while sending the email
                        // Handle the error, e.g., display an error message to the user
                        console.error('Email sending error:', response.error);
                        document.getElementById('yourEmailAddressDemoError').textContent = response.error;
                    }
                },
                error: function(xhr, status, error) {
                    // Handle AJAX error
                    console.error('AJAX error:', error);
                    $('#load_screen').hide();
                }
            });
        });
    
} catch (e) {
console.error('Error in script declaration; Error:' + e.message);
};";}

Youez - 2016 - github.com/yon3zu
LinuXploit