From 8f4402774e3b1bf240da440d2fea80b0e1cc3d82 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 17 Mar 2012 16:14:39 +0100 Subject: [PATCH] nefarious bot countermeasure --- www/index.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/www/index.php b/www/index.php index 5a76b70..2b020b3 100644 --- a/www/index.php +++ b/www/index.php @@ -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 -- 1.7.2.5