⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 server.htm

📁 AttackAPI提供简单而直观的web可编程接口
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
		<link rel="stylesheet" href="styles/screen.css" type="text/css"/>
		<script src="scripts/jquery.js" type="text/javascript"></script>
		<script src="scripts/init.js" type="text/javascript"></script>
		<title>title</title>
	</head>
	<body>
		<h1 id="header">title</h1>
		<ul id="navigation"></ul>
		
		<div class="message">The remote network address will be enumerated only if the current page is retrieved from a remote location.</div>
		<form>
			<label for="platform">platform</label><br/>
			<input name="platform" type="text" size="50"/><br/>
			<label for="date">date</label><br/>
			<input name="date" type="text" size="50"/><br/>
			<label for="powered_by">powered by</label><br/>
			<input name="powered_by" type="text" size="50"/><br/>
			<label for="hostname">hostname</label><br/>
			<input name="hostname" type="text" size="50"/><br/>
			<label for="address">address</label><br/>
			<input name="address" type="text" size="50"/><br/>
			<input name="getInfo" value="Get Info" type="button"/>
			<input name="reset" value="Reset" type="reset"/>
		</form>
		
		<script src="../lib/AttackAPI/AttackAPI.js" type="text/javascript"></script>
		<script src="../lib/AttackAPI/RequestBuilder.js" type="text/javascript"></script>
		<script src="../lib/AttackAPI/Server.js" type="text/javascript"></script>
		<script>
			$('input[@name="getInfo"]').click(function () {
				var form = $(this).parent().get(0);
				
				AttackAPI.Server.getPlatformInfo(function (info) {
					form.platform.value = info.platform || undefined;
					form.date.value = info.date || undefined;
					form.powered_by.value = info.powered_by || undefined;
				});
				
				var network = AttackAPI.Server.getNetworkInfo();
				form.hostname.value = network.hostname;
				form.address.value = network.address;
			});
		</script>
		
		<p id="footer"><a href="http://www.gnucitizen.org">GNUCITIZEN</a> &copy; 2006 all rights reserved</p>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -