Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /tmp/csf/da/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //tmp/csf/da/admin/index.html
#!/usr/bin/perl

print "<iframe scrolling='auto' name='myiframe' id='myiframe' src='index.raw' frameborder='0' width='100%' onload='resizeIframe(this);'></iframe>\n";
print "<script>\n";
print "function setupObserver(iframe) {\n";
print "	const body = iframe.contentDocument.body;\n";
print "	const updateDimensions = () => {\n";
print "		iframe.style.height = iframe.contentDocument.body.offsetHeight + 'px';\n";
print "	};\n";
print "	const observer = new MutationObserver(updateDimensions);\n";
print "	observer.observe(body, {\n";
print "		attributes: true,\n";
print "		childList: true,\n";
print "		characterData: true,\n";
print "		subtree: true,\n";
print "	});\n";
print "}\n";
print "function resizeIframe(obj) {\n";
print "  if (!obj) return;\n";
print "	 setupObserver(obj);\n";
print "  obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';\n";
if ($ENV{SKIN_NAME} eq "enhanced") {
	print "	obj.style.width = obj.contentWindow.document.body.scrollWidth + 'px';\n";
} else {
	print "	obj.style.width = '98vw';\n";
}
print "	window.scrollTo(0,0);\n";
print "	window.parent.scrollTo(0,0);\n";
print "	window.parent.parent.scrollTo(0,0);\n";
print "}\n";
print "</script>\n";

Spamworldpro Mini