Jump to content
Guest

Anti-Acunetix [php]

Recommended Posts

Posted
<?php

set_time_limit (20);
if ($_SERVER['HTTP_ACUNETIX_PRODUCT'] ||
$_SERVER['HTTP_ACUNETIX_SCANNING_AGREEMENT'] ||
$_SERVER['HTTP_ACUNETIX_USER_AGREEMENT']){
exit("RST kidz protection beta");
}elseif(preg_match("/WVS|PTX|Nikto/",$_SERVER['HTTP_USER_AGENT'])){
exit("skiddie protection v0.1");
}else{
foreach ($_POST as $value){
if (preg_match("/"
."wvs-xss-magic|"
."wvs_xss_test|"
."www.long-name-with-some-inexistent-host.com"
."/i", $value)){
exit("RST kidz protection beta");
}
foreach ($_GET as $value){
if (preg_match("/"
."wvs-xss-magic|"
."wvs_xss_test|"
."www.long-name-with-some-inexistent-host.com"
."/i", $value)){
exit("RST kidz protection beta");
}
}
}
}
?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...