summaryrefslogtreecommitdiff
path: root/www/httperror.php
diff options
context:
space:
mode:
authorHorus32014-04-16 13:43:34 +0200
committerHorus32014-04-16 13:43:34 +0200
commitb70acc4bce1450a726cf50a2f2f09539d74252b0 (patch)
treefd8b70beb7bbe57534137f3b19ea7c0f6fa0191a /www/httperror.php
parent3dc852b163daba5fa59499215f8b725a6f0a39eb (diff)
downloadfiles.iamfabulous.de-b70acc4bce1450a726cf50a2f2f09539d74252b0.tar.gz
Improved brutforce protection and added ban page.
Diffstat (limited to 'www/httperror.php')
-rwxr-xr-xwww/httperror.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/httperror.php b/www/httperror.php
index 8b1a62a..e22dd28 100755
--- a/www/httperror.php
+++ b/www/httperror.php
@@ -49,6 +49,10 @@
}elseif($_GET['e']==504){
echo '<h1 id="Error-Page-head" >'.$_GET['e'].'</h1>';
echo '<h2 id="Error-Page-description" >A server i&#39;m trying to contact is insanely slow. </br>I can&#39;t wait forever. I&#39;m sorry!</h2>';
+
+ }elseif($_GET['e']=='ban'){
+ echo '<h1 id="Error-Page-head" >You are banned!</h1>';
+ echo '<h2 id="Error-Page-description" >Too many authentication failures.</br>It&#39s not my fault. I swear.</h2>';}
}?>
</div>
<?php include("static/footer.html");?>