SECURITY: prevent a DoS attack by disabling HTTP access to tools/ scripts.
This commit is contained in:
1 parent
c5c356e077
commit
5f7e62142c
4 files changed
+1
-68
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user