403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/share/doc/httrack/server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/share/doc/httrack/server/ping.js
// Function aimed to ping the webhttrack server regularly to keep it alive
// If the browser window is closed, the server will eventually shutdown
function ping_server() {
	var iframe = document.getElementById('pingiframe');
	if (iframe && iframe.src) {
		iframe.src = iframe.src;
		setTimeout(ping_server, 30000);
	}
}

// Create an invisible iframe to hold the server ping result
// Only modern browsers will support that, but old browsers are compatible
// with the legacy "wait for browser PID" mode
if (document && document.createElement && document.body
    && document.body.appendChild && document.getElementById) {
	var iframe = document.createElement('iframe');
	if (iframe) {
		iframe.id = 'pingiframe';
		iframe.style.display = "none";
		iframe.style.visibility = "hidden";
		iframe.width = iframe.height = 0;
		iframe.src = "/ping";
		document.body.appendChild(iframe);
		ping_server();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit