Uname:Linux h2web300 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1 (2020-06-09) x86_64

403WebShell
403Webshell
Server IP : 84.16.76.247  /  Your IP : 216.73.217.114
Web Server : Apache
System : Linux h2web300 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1 (2020-06-09) x86_64
User : uid195448 ( 195448)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,popen,shell_exec,proc_open,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/clients/9feeab47ed6ca1a1b2890343d7a99fd4/web/wp-content/plugins/wp-reset/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/clients/9feeab47ed6ca1a1b2890343d7a99fd4/web/wp-content/plugins/wp-reset/js/wf-licensing.js
/**
 * WebFactory Licensing Manager
 * (c) WebFactory Ltd
 * www.webfactoryltd.com
 */


function wf_licensing_verify_licence_ajax(prefix, license_key, button) {
  data = window['wf_licensing_' + prefix];
  if (!data) {
    alert('Licensing data is missing. Please reload the page and try again.');
    return;
  }

  jQuery(button).addClass('loading');

  jQuery
    .post(
      ajaxurl,
      {
        action: 'wf_licensing_' + prefix + '_validate',
        license_key: license_key,
        _ajax_nonce: data.nonce,
        _rand: Math.floor(Math.random() * 9999) + 1
      },
      function (response) {
        if (data.debug) {
          console.log('Validate license, first try: ', response);
        }
        if (response.success) {
          location.reload();
        } else {
          alert('Unable to contact licensing server. Please try again in a few moments or contact support.');
        }
      }
    )
    .fail(function () {
      alert('Undocumented error. Please reload the page and try again.');
    })
    .always(function () {
      jQuery(button).removeClass('loading');
      jQuery(window).trigger('wf_licensing:ajax_always');
    });
} // wf_licensing_verify_licence_ajax


function wf_licensing_deactivate_licence_ajax(prefix, license_key, button) {
  data = window['wf_licensing_' + prefix];
  if (!data) {
    alert('Licensing data is missing. Please reload the page and try again.');
    return;
  }

  jQuery(button).addClass('loading');

  jQuery
    .post(
      ajaxurl,
      {
        action: 'wf_licensing_' + prefix + '_deactivate',
        license_key: license_key,
        _ajax_nonce: data.nonce,
        _rand: Math.floor(Math.random() * 9999) + 1
      },
      function (response) {
        if (data.debug) {
          console.log('Deactivate license, first try: ', response);
        }
        if (response.success) {
          location.reload();
        } else {
          alert('Unable to contact licensing server. Please try again in a few moments or contact support.');
        }
      }
    )
    .fail(function () {
      alert('Undocumented error. Please reload the page and try again.');
    })
    .always(function () {
      jQuery(button).removeClass('loading');
      jQuery(window).trigger('wf_licensing:ajax_always');
    });
} // wf_licensing_deactivate_licence_ajax

Youez - 2016 - github.com/yon3zu
LinuXploit