diff --git a/config.yaml b/config.yaml index a390b6bb9..d242bc8a2 100644 --- a/config.yaml +++ b/config.yaml @@ -73,6 +73,8 @@ beef: web_server_imitation: enable: true type: "apache" # Supported: apache, iis, nginx + hook_404: false # inject BeEF hook in HTTP 404 responses + hook_root: false # inject BeEF hook in the server home page # Experimental HTTPS support for the hook / admin / all other Thin managed web services https: diff --git a/core/main/router/router.rb b/core/main/router/router.rb index c315df52b..1587a1fbe 100644 --- a/core/main/router/router.rb +++ b/core/main/router/router.rb @@ -32,6 +32,7 @@ module BeEF "
The requested URL was not found on this server.
" + "