Location: PHPKode > projects > WebServer Sentry > icept/ipignore.php
<?
include_once ('dbconnecticept.php');
session_start();
# isset must appear before session variable 112009vk.In this case line8
if (isset($_SESSION['uname']) && !empty($_SESSION['uname'])){
$Loggedby = $_SESSION['uname'];
}else{
echo "Session Inactive - Please Log in";
$Loggedby="";
}
#WebServer Sentry:-
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#WebServer Sentry uses PHPLOT class and IP2NATIONS and any licensing conditions of PHPLOT/IP2NATIONS remain with its respective copyright
#holder/licensing conditions.
#Reverse engineering this script is not permitted.Modifications to improve its performance are welcome as long as you document this at the sourceforge project page.
#Contact hide@address.com    
#########################################################################################################################################
#########################################################################################################################################
#Welcome to WebServer Sentry: Version 1.0:- Please note that Vic Kaprilian does not accept responsibility for the use of the script or any financial loss and it is being released because the E-Commerce/Internet needs it!.
if ($Loggedby != ""){
$ipignore=$_POST['ipignore'];
$o="or";
$a="and";
$n="not";
$p="&";
if (strstr($ipignore,$o)){
header("location:viewall.php");
}else{
$ipignore=$ipignore;
}
if (strstr($ipignore,$a)){
header("location:viewall.php");
}else{
$ipignore=$ipignore;
}
if (strstr($ipignore,$n)){
header("location:viewall.php");
}else{
$ipignore=$ipignore;
}
if (strstr($ipignore,$p)){
header("location:viewall.php");
}else{
$ipignore=$ipignore;
}
if (strlen($ipignore) < 8){
header("location:viewall.php");
}else{
$ipignore=$ipignore;
}
if (strlen($ipignore) > 32){
header("location:viewall.php");
}else{
$ipignore=$ipignore;
}
#WebServer Sentry:-
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#WebServer Sentry uses PHPLOT class and IP2NATIONS and any licensing conditions of PHPLOT/IP2NATIONS remain with its respective copyright
#holder/licensing conditions.
#Reverse engineering this script is not permitted.Modifications to improve its performance are welcome as long as you document this at the sourceforge project page.
#Contact hide@address.com    
#########################################################################################################################################
#########################################################################################################################################
#Welcome to WebServer Sentry: Version 1.0:- Please note that Vic Kaprilian does not accept responsibility for the use of the script or any financial loss and it is being released because the E-Commerce/Internet needs it!.
$ipignore = stripslashes($ipignore);
$ipignore = mysql_real_escape_string($ipignore);

$query1 = "INSERT INTO $tbl_name6 (igip) VALUES ('$ipignore')";
mysql_query($query1);
}else{
#WebServer Sentry:-
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#WebServer Sentry uses PHPLOT class and IP2NATIONS and any licensing conditions of PHPLOT/IP2NATIONS remain with its respective copyright
#holder/licensing conditions.
#Reverse engineering this script is not permitted.Modifications to improve its performance are welcome as long as you document this at the sourceforge project page.
#Contact hide@address.com    
#########################################################################################################################################
#########################################################################################################################################
#Welcome to WebServer Sentry: Version 1.0:- Please note that Vic Kaprilian does not accept responsibility for the use of the script or any financial loss and it is being released because the E-Commerce/Internet needs it!.
session_destroy();
header("location:viewall.php");
}
?>
<html>
<head>
<Title>Interceptor - VKONLINE(c)2009</title>
<link rel="stylesheet" type="text/css" href="i.css" />
</head>
<body>
<div align="center">
<br>
<br>
IP Address added to Ignore List as requested.
<br>
<img src="images/radar.gif" border="3" width="250" height="250" />
<img src="images/raaf.gif" border="3" width="554" height="250" />
<img src="images/radar.gif" border="3" width="250" height="250" />
<br>
<a href="http://www.buytodayathome.com/vkonline/wordpress/" target="_blank">
<img src="images/interceptor.gif" border="3" width="180" height="54" />
</a>
<br>
<div align="center">
"On Guard Duty"
</div>
<br>
<br>
<div align="center">
<a href="admin.php">
Back to the Command Center
</a>
</div>
<br>
<br>
<br>
<div align="center">
Vic Kaprilian&copy; 2010 
<br>
REAL TIME - EXCESSIVE HIT MONITOR AND BLOCKER/IP MONITOR/ DEFENCE SYSTEM 
</div>
</body>
</html>
Return current item: WebServer Sentry