HEX
Server: Apache/2.4.37 (CentOS Stream) OpenSSL/1.1.1k
System: Linux ysnet.com.tw 4.18.0-553.5.1.el8.x86_64 #1 SMP Tue May 21 05:46:01 UTC 2024 x86_64
User: test (521)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-mrtg.php
<html>
	<head>
		<script>
			function loadImage() {
				var img = document.getElementById("trafficImage");
				var errorText = document.getElementById("errorText");
				var timeout;

				img.onload = function() {
					// 图片加载成功
					clearTimeout(timeout); // 清除超时计时器
					errorText.style.display = 'none';  // 隐藏文本
					img.style.display = 'block';       // 显示图片
				};

				img.onerror = function() {
					// 图片加载失败
					errorText.style.display = 'block';  // 显示文本
					img.style.display = 'none';         // 隐藏图片
				};

				// 设置图片的 src
				img.src = "http://192.168.88.1:5678/graphs/iface/Wan1/daily.gif";

				// 设置3秒超时
				timeout = setTimeout(function() {
					// 加载超时时执行的操作
					errorText.style.display = 'block';  // 显示文本
					img.style.display = 'none';         // 隐藏图片
				}, 3000);
			}
		</script>
	</head>
	<body onload="loadImage()">
		<center>
			<img id="trafficImage" style="display: none;" />
			<font id="errorText" color="#ff0000"><strong>如您是使用本公司所提中之線路而無法看見流量圖請來電至<font color="#1012ff">03-3585867</font>與我們聯繫。</strong></font>
		</center>
	</body>
</html>