From 2db4885c2f2649fae5e572c89e86dce156752bcf Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Sat, 31 Mar 2012 13:57:18 +0100 Subject: [PATCH] Added comments in the main Router class. --- core/main/router/router.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/main/router/router.rb b/core/main/router/router.rb index 0dcabdadf..c21c089f5 100644 --- a/core/main/router/router.rb +++ b/core/main/router/router.rb @@ -17,6 +17,9 @@ module BeEF module Core module Router + + #@note This is the main Router parent class. + #@note All the HTTP handlers registered on BeEF will extend this class. class Router < Sinatra::Base config = BeEF::Core::Configuration.instance @@ -30,6 +33,7 @@ module BeEF case type when "apache" headers "Server" => "Apache/2.2.3 (CentOS)" + #todo https://github.com/beefproject/beef/issues/98 if web_server imitation is enabled #todo the 404 response will be something like the following: # @@ -41,6 +45,7 @@ module BeEF #
#
Apache/2.2.3 (CentOS)
# + when "iis" headers "Server" => "Microsoft-IIS/7.0" end