HEX
Server: Apache/2.4.57 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System: Linux vmi267337.contaboserver.net 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
User: ohirex (1008)
PHP: 8.2.8
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec
Upload Files
File: /home/ohirex/web/ohirex.com/public_html/wp-content/plugins/mailster/assets/js/form-button-script.js
(function () {
	'use strict';

	var mailster = 'mailster',
		btn = document.getElementsByClassName('btn')[0],
		widget = document.getElementsByClassName('btn-widget')[0],
		button_id,
		origin,
		form_id,
		loc;

	btn.onclick = function () {
		widget.className = widget.className.replace(
			'btn-widget',
			'btn-widget init'
		);
		loc = location.href.replace(/&button=\d+/, '&iframe=1');
		window.parent.postMessage(
			[mailster, 's', loc, form_id, button_id].join('|'),
			origin
		);
	};
	window.onload = function () {
		window.parent.postMessage(
			[mailster, 'd', widget.offsetWidth, widget.offsetHeight, button_id].join(
				'|'
			),
			origin
		);
	};
	window.onmessage = function (event) {
		if (event.data == 'l')
			widget.className = widget.className.replace(
				'btn-widget init',
				'btn-widget'
			);
	};

	button_id = location.search.match(/button=(\d+)/)[1] || 0;
	origin = decodeURIComponent(location.search.match(/origin=(.+)&/)[1]);
	form_id = location.search.match(/id=(\d+)/)[1] || 1;
})();