Source for file example_1.php
Documentation is available at example_1.php
* File containing example 1(ip address identity) use DefensiveAttack.
* @package DefensiveAttack
* @copyright Copyright (C)2006 TheLordOfWeb. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
//require("class.php4.DefensiveAttack.php");
require
("class.php5.DefensiveAttack.php");
$def_attack->SetMyIpAddress("127.0.0.2");
if (!$def_attack->IsIpIdentity()) {
print
nl2br("Access deny!\n");
print
nl2br("I know your : \n\n");
print
nl2br("IP address: " .
$def_attack->GetIpAddress() .
"\n");
print
nl2br("Host name: " .
$def_attack->GetHostName() .
"\n");
print
nl2br("And you will be arrested. \n");
print
nl2br("----------- Extra information for me ---------- \n");
print
nl2br(("Referer: " .
$def_attack->GetReferer() .
"\n"));
print
nl2br(("Input data: " .
$def_attack->GetInputData() .
"\n"));
print
nl2br(("Cookie data: " .
$def_attack->GetCookieData() .
"\n"));
Documentation generated on Tue, 31 Oct 2006 23:59:57 +0200 by phpDocumentor 1.3.1