403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/plugins/ad-inserter/includes/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/plugins/ad-inserter/includes/js/ai-admin.js
jQuery (function ($) {

  $(document).ready(function($) {

    function show_review_notice () {
      $('.ai-notice').fadeIn ("fast", function() {
        $(this).css ('display', 'table');
      });
    }

    if (typeof ajaxurl !== 'undefined') {
//      var nonce = $('.ai-notice[nonce]').attr ('nonce');
      var nonce = $('.ai-notice[data-value]').attr ('data-value');

      if (typeof nonce !== 'undefined') {
        nonce = atob (nonce);
        $.ajax (ajaxurl, {
          type: 'POST',
          data: {
            action:         'ai_ajax_backend',
            ai_check:       nonce,
            'notice-check': nonce
          }
        }).done (function (data) {

//          console.log ('AI NOTICE CHECK', nonce, data);

          if (data == nonce) {
            setTimeout (show_review_notice, 500);
          }
        });
      }
    }
  });

  $(document).on ('click', '.ai-notice .ai-notice-dismiss', function () {
    var ai_debug = parseInt ($('#ai-data').attr ('js_debugging'));
    var notice_div = $(this).closest ('.ai-notice');
    var nonce = atob (notice_div.attr ('data-value'));
    var notice = notice_div.data ('notice');
    var action = $(this).data ('notice');

    if (ai_debug) console.log ('AI NOTICE CLICK', notice, action);

    notice_div.hide ();

    // Since WP 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
    $.ajax (ajaxurl, {
      type: 'POST',
      data: {
        action:   'ai_ajax_backend',
        ai_check: nonce,
        notice:   notice,
        click:    action,
      }
    });

  });
});

Youez - 2016 - github.com/yon3zu
LinuXploit