diff --git a/core/main/console/banners.rb b/core/main/console/banners.rb index 8517477b3..52f6228d9 100644 --- a/core/main/console/banners.rb +++ b/core/main/console/banners.rb @@ -86,7 +86,9 @@ module Banners print_success "running on network interface: #{host}" beef_host = configuration.get("beef.http.public_port") || configuration.get("beef.http.port") data = "Hook URL: #{prototxt}://#{host}:#{configuration.get("beef.http.port")}#{configuration.get("beef.http.hook_file")}\n" - data += "UI URL: #{prototxt}://#{host}:#{configuration.get("beef.http.port")}#{configuration.get("beef.http.web_ui_basepath")}/panel\n" + if configuration.get("beef.extension.admin_ui.enable") + data += "UI URL: #{prototxt}://#{host}:#{configuration.get("beef.http.port")}#{configuration.get("beef.http.web_ui_basepath")}/panel\n" + end print_more data end