From 5f7e62142cffa795a7c2213f04f672a7dbfb7507 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 21 Sep 2014 00:56:00 +0200 Subject: SECURITY: prevent a DoS attack by disabling HTTP access to tools/ scripts. --- tools/recount-bumps.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools/recount-bumps.php') diff --git a/tools/recount-bumps.php b/tools/recount-bumps.php index 5adc74d8..06e8ca9f 100644 --- a/tools/recount-bumps.php +++ b/tools/recount-bumps.php @@ -4,10 +4,6 @@ require dirname(__FILE__) . '/inc/cli.php'; -if(!is_writable($config['file_script'])) { - get_httpd_privileges(); -} - if (!isset ($argv[1])) { die("Usage: tools/recount-bumps.php board_uri\n"); } -- cgit v1.3