Location: PHPKode > projects > WebServer Sentry > icept/adproxy.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 != ""){
$adproxy=$_POST['adproxy'];
$adproxy=trim($adproxy);
$o="or";
$a="and";
$n="not";
$p="&";

if (strstr($adproxy,$o)){
header("location:viewall.php");
}else{
$adproxy=$adproxy;
}
if (strstr($adproxy,$a)){
header("location:viewall.php");
}else{
$adproxy=$adproxy;
}
if (strstr($adproxy,$n)){
header("location:viewall.php");
}else{
$adproxy=$adproxy;
}
if (strstr($adproxy,$p)){
header("location:viewall.php");
}else{
$adproxy=$adproxy;
}
if (strlen($adproxy) < 8){
header("location:viewall.php");
}else{
$adproxy=$adproxy;
}

if (strlen($adproxy) > 32){
header("location:viewall.php");
}else{
$adproxy=$adproxy;
}
#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!.
$adproxy = stripslashes($adproxy);
$adproxy = mysql_real_escape_string($adproxy);

$query1 = "INSERT INTO $tbl_name9 (ipproxy) VALUES ('$adproxy')";
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>WebServer Sentry - Vic Kaprilian(c)2010</title>
<link rel="stylesheet" type="text/css" href="i.css" />
</head>
<body>
<div align="center">
<br>
<br>
IP Address added to Proxy List as requested.
</div>

<div align="center">
<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>
"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>
<br>
</body>
</html>
Return current item: WebServer Sentry