Location: PHPKode > projects > WebServer Sentry > icept/adminjava.php
<?
include("count.php");
include("block.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!.
mysql_connect($host,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query = "SELECT id,user FROM $tbl_name5 GROUP BY id"; 
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result)){
$me=$row['user'];
}
if ($Loggedby == $me){
echo"<br>";
echo"<br>";
echo "Welcome " . $Loggedby . " - Is logged in";
#echo $bcount;
}else{
session_destroy();
header("location:viewall.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="refresh" content="90" charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="i.css" />
    <script type="text/javascript" src="javascripts/prototype.js"></script>
  </head>
  <script>
<!--
document.write(unescape("%20%3Cbody%20bgcolor%3D%22black%22%20onload%3D%22%24%28%27formato%27%29.submit%28%29%22%3E%0A%3Cbr%3E%0A%3Cbr%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%3Cimg%20src%3D%22images/radar.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%22180%22%20/%3E%0A%3Cimg%20src%3D%22images/raaf.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%22180%22%20/%3E%0A%3Cimg%20src%3D%22images/radar.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%22180%22%20/%3E%0A%3C/div%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%3Cimg%20src%3D%22images/interceptor.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%2254%22/%3E%0A%3C/div%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%22You%27ve%20been%20Interceptored%22%0A%3C/div%3E%0A%3Cbr%3E%0A%3Cdiv%20align%3D%22center%22%3E%0AInterceptor%20Command%0A%3C/div%3E%0A%0A%3Cdiv%20align%3D%22center%22%3E%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form%22%20method%3D%22post%22%20action%3D%22betterlog.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3EAudit%20Log%20-%20Detailed%3C/td%3E%0A%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20name%3D%22Submittenth%22%20value%3D%22Submit%22%20class%3D%22btn%22%3E%3Cinput%20type%3D%22Reset%22%20class%3D%22btn%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20/%3E%3C/td%3E%0A%3C/form%3E%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form%22%20method%3D%22post%22%20action%3D%22gethost.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3EGet%20Hostname%20by%20IP%20Address%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22hostn%22%20type%3D%22text%22%20id%3D%22hostn%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submitsixth%22%20value%3D%22Submit%22%3E%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%3C/td%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22formato%22%20method%3D%22post%22%20action%3D%22lass.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3EEnter%20IP%20Address%20to%20the%20BLOCKED%20IP%20LIST%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22jam%22%20type%3D%22text%22%20id%3D%22jam%22%20value%3D%22blockallonradar%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20align%3D%22center%22%3E%0A%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submitj%22%20value%3D%22Submit%22%3E%0A%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%0A%3C/td%3E%0A%3Ctd%20width%3D%2275%25%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3Cinput%20type%3D%22radio%22%20name%3D%22switch%22%20value%3D%22manual%22%20/%3EManual%20Block%20%20%20%3Cinput%20type%3D%22radio%22%20name%3D%22switch%22%20checked%20value%3D%22blockallonradar%22%20/%3EBlock%20all%20on%20radar%3C/td%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form%22%20method%3D%22post%22%20action%3D%22wipesolo.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3ERemove%20from%20the%20BLOCKED%20IP%20LIST%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22ipsolo%22%20type%3D%22text%22%20id%3D%22ipsolo%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submita%22%20value%3D%22Submit%22%3E%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%3C/td%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form%22%20method%3D%22post%22%20action%3D%22wipeignore.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3ERemove%20an%20IP%20Address%20from%20the%20IGNORE%20IP%20LIST%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22ipunignore%22%20type%3D%22text%22%20id%3D%22ipunignore%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submit5%22%20value%3D%22Submit%22%3E%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%3C/td%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form1%22%20method%3D%22post%22%20action%3D%22wipe.php%22%3E%0A%3Ctr%3E%0A%3Ctd%20width%3D%2250%25%22%3EDelete%20All%20Entries%3C/td%3E%3Ctd%20width%3D%2250%25%22%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20class%3D%22btn%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20name%3D%22Submit%22%20value%3D%22Submit%20-%20Used%20with%20Caution%22%3E%3Cinput%20type%3D%22Reset%22%20class%3D%22btn%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20/%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%3Cbr%3E%0A%3Cbr%3E%0A%3Cbr%3E%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form2%22%20method%3D%22post%22%20action%3D%22ipgraph.php%22%3E%0A%3Ctd%20width%3D%2250%25%22%3EGraph%3Cinput%20type%3D%22radio%22%20name%3D%22report%22%20value%3D%221%22%20/%3EReport%3Cinput%20type%3D%22radio%22%20name%3D%22report%22%20value%3D%220%22%20/%3E%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%3Ctd%3EAll%20IP%20Address%20Report%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20class%3D%22btn%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20name%3D%22Submit1%22%20value%3D%22Submit%22%3E%3C/td%3E%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form2%22%20method%3D%22post%22%20action%3D%22sipgraph.php%22%3E%0A%3Ctr%3E%0A%3Ctd%20width%3D%2250%25%22%3EGraph%3Cinput%20type%3D%22radio%22%20name%3D%22reportb%22%20value%3D%221%22%20/%3EReport%3Cinput%20type%3D%22radio%22%20name%3D%22reportb%22%20value%3D%220%22%20/%3E%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22ipsearched%22%20type%3D%22text%22%20id%3D%22ipsearched%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctr%3E%3Ctd%3EIndividual%20IP%20Address%20Report%3C/td%3E%0A%3Ctd%20align%3D%22center%22%3E%0A%3Cinput%20type%3D%22submit%22%20class%3D%22btn%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20name%3D%22Submit1%22%20value%3D%22Submit%22%3E%0A%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form4%22%20method%3D%22post%22%20action%3D%22ipignore.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3EEnter%20IP%20Address%20to%20Ignore%20List%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22ipignore%22%20type%3D%22text%22%20id%3D%22ipignore%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submit4%22%20value%3D%22Submit%22%3E%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form4%22%20method%3D%22post%22%20action%3D%22adproxy.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3EAdd%20IP%20Address%20of%20Proxy%20Server%20to%20Proxy%20list%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22adproxy%22%20type%3D%22text%22%20id%3D%22adproxy%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submit20%22%20value%3D%22Submit%22%3E%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form4%22%20method%3D%22post%22%20action%3D%22cutproxy.php%22%3E%0A%3Ctr%3E%3Ctd%20width%3D%2250%25%22%3ERemove%20IP%20Address%20of%20Proxy%20server%20from%20list%3C/td%3E%3Ctd%20align%3D%22center%22%3E%3Cinput%20name%3D%22cutproxy%22%20type%3D%22text%22%20id%3D%22cutproxy%22%3E%3C/td%3E%3C/tr%3E%0A%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20name%3D%22Submit21%22%20value%3D%22Submit%22%3E%3Cinput%20type%3D%22Reset%22%20style%3D%22height%3A%201.5em%3B%20width%3A%2014em%22%20class%3D%22btn%22%20/%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form5%22%20method%3D%22post%22%20action%3D%22ipradar.php%22%3E%0A%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20class%3D%22btn%22%20name%3D%22Submit5%22%20value%3D%22Who%27s%20on%20Interceptor%27s%20IP%20Radar%22%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20bgcolor%3D%22black%22%3E%0A%3Cform%20name%3D%22form6%22%20method%3D%22post%22%20action%3D%22ports.php%22%3E%0A%3Ctd%20align%3D%22center%22%3E%3Cinput%20type%3D%22submit%22%20class%3D%22btn%22%20name%3D%22Submit6%22%20value%3D%22Scan%20for%20open%20Ports%20on%20Web%20Server%22%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/form%3E%0A%3C/table%3E%0A%0A%3Cform%20action%3D%22change.php%22%20method%3D%22post%22%3E%0A%3Ctable%20width%3D%2280%25%22%20border%3D%222%22%20align%3D%22center%22%20bgcolor%3D%22black%22%3E%0A%3Ctr%3E%0A%3Ctd%20align%3D%22center%22%3E%0A%3Cinput%20type%3D%22submit%22%20class%3D%22btn%22%20name%3D%22Submit7%22%20value%3D%22Change%20Password%22%20/%3E%0A%3C/td%3E%0A%3C/tr%3E%0A%3C/table%3E%0A%3C/form%3E%0A%0A%3C/div%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%3Cimg%20src%3D%22images/radar.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%22180%22%20/%3E%0A%3Cimg%20src%3D%22images/raaf.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%22180%22%20/%3E%0A%3Cimg%20src%3D%22images/radar.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%22180%22%20/%3E%0A%3C/div%3E%0A%3Cdiv%20align%3D%22center%22%3E%0A%3Cimg%20src%3D%22images/interceptor.gif%22%20border%3D%223%22%20width%3D%22180%22%20height%3D%2254%22%20/%3E%0A%3C/div%3E%0A%3Cbr%3E%0A%0A%3Cdiv%20align%3D%22center%22%3E%0A%3Cbr%3E%0A%3Cbr%3E%0A%3Ca%20href%3D%22viewall.php%22%3E%20Back%20to%20the%20Login%20page%3C/a%3E%0A%3Cbr%3E%0A%3Cbr%3E%0AVK%20ONLINE%20%26copy%3B%202009%0A%3Cbr%3E%0AREAL%20TIME%20-%20EXCESSIVE%20HIT%20MONITOR%20AND%20BLOCKER/IP%20MONITOR/%20DEFENCE%20SYSTEM%20%0A%3C/div%3E%0A%3C/body%3E"));
//-->
</script>
</html>

Return current item: WebServer Sentry