nefarious bot countermeasure
authorKonrad Rosenbaum <konrad@silmor.de>
Sat, 17 Mar 2012 15:14:39 +0000 (16:14 +0100)
committerKonrad Rosenbaum <konrad@silmor.de>
Sat, 17 Mar 2012 15:14:39 +0000 (16:14 +0100)
www/index.php

index 5a76b70..2b020b3 100644 (file)
@@ -142,5 +142,8 @@ try{
 header("Content-Type: text/html; charset=utf-8");
 print($page);
 
+//prevent potentially attacking bots from successfully injecting
+// code below here (some bots add harmful code to index.php)
+exit(0);
 
 ?>
\ No newline at end of file