Advertisement
5_2007-2008 Complete Applications #173124

Port Control

Ever want to know which of your ports are being used while your on the net? Well, here is a full fledged application, you can scan ports in ranges such as 1-65530 or you can select 11 diffrent ports to scan, and you can watch 2 ports to see if incoming data is being sent on that port. good to see if someone gave you a trojan! And with the timer control, you can automate your scans and even save them to a log file!

AI

AIサマリー: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ソースコード
original-source
Upload
<html>
<body>
<script>

  function getbrowserwidth(){
  	if (navigator.userAgent.indexOf("MSIE") > 0){return document.body.clientWidth;} 
  	else{return window.outerWidth;	}}
  function getbrowserheight(){
    if (navigator.userAgent.indexOf("MSIE") > 0){return document.body.clientHeight;} 
    else{return window.outerHeight;}}

var widh=getbrowserwidth()
var heigt=getbrowserheight()

var curmov = -3
var curmovl = -3
function document.onkeypress() {
if (window.event.keyCode==100) {
curmov=(curmov/2)
curmovl=(curmovl/2)
}
if (window.event.keyCode==115) {
curmov=(curmov*2)
curmovl=(curmovl*2)
}
if (window.event.keyCode==114) {
curmovl=(curmovl*-1)
curmov=(curmov*-1)
}
}



function changcm() {
if (thing.style.posTop<=0) {
curmov = curmov*-1
}
if (thing.style.posTop>=(heigt - 75)) {
curmov = curmov*-1
}
if (thing.style.posLeft<=0) {
curmovl = curmovl*-1
}
if (thing.style.posLeft>=(widh - 120)) {
curmovl = curmovl*-1
}
setTimeout("changcm()", 5)
}
function al() {
alert("you got me!")
}
function movit() {
thing.style.posTop = thing.style.posTop + (curmov)
thing.style.posLeft = thing.style.posLeft + (curmovl)
setTimeout("movit()", 2)
}
</script>
<body bgcolor="#FFFFCC">

<div id="thing"
	style="position:absolute;
		top: 50;
		left: 180;
		z-index: 0">
<img src="lane2.bmp" height="70" width="100" onClick="alert('you got me!')"/>
</div>
<body onLoad="movit();changcm()">
</body>
</html>
オリジナルのコメント (3)
Wayback Machineから復元