From addc256b8ced7071d41e6c08d3f8495dc4f5f13c Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Thu, 29 Mar 2012 15:00:20 +0200 Subject: [PATCH] Remove route "/" from the main router class. Must return 'not found' anyway. --- core/main/router/router.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/main/router/router.rb b/core/main/router/router.rb index 88ecccee8..e7bcf9c9f 100644 --- a/core/main/router/router.rb +++ b/core/main/router/router.rb @@ -23,10 +23,6 @@ module BeEF configure do set :show_exceptions, false end not_found do 'Not Found' end - get '/' do - 'Try harder...muahah!' - end - end end end