Location: PHPKode > scripts > Portscan > portscan/index.php
<?php
	/*
	Date: 9-05-2006 15:57
	Author: B.Heesen (hide@address.com)
	Version: 0.2a
	© Cpyright 2006 De Bron Digital Solutions (http://www.dbds.nl)
	*/


	//no chaching of pages
  header("Pragma: no-cache");
  error_reporting(0);
  
  include("lang.php");
  //fetching some variables through the webserver
  $r_addr  = $_SERVER['REMOTE_ADDR'];
  $r_host  = gethostbyaddr($r_addr);
  $r_port  = $_SERVER['REMOTE_PORT'];
  $r_lang  = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
  $r_agent = $_SERVER['HTTP_USER_AGENT'];

?>
<html>
  <head>
	<title>
		<? echo PAGE_TITLE; ?>
	</title>
  	<link rel="stylesheet" type="text/css" href="css/style.css">
  </head>
<body>
<div class="float_r">
	<form method="post" action="index.php">
	<input type="submit" name="simple" value="<? echo SIMPLE_SCAN; ?>">
	<input type="submit" name="trojan" value="<? echo TROJAN_SCAN; ?>">
	</form>

	<?
		include("scan.php");
		if ($_POST['simple']){
			Scan();
		}
		if ($_POST['trojan']){
			trojanScan();
		}
	?>
</div>
</body>
</html>
Return current item: Portscan