move the proxy banner to banners.rb

This commit is contained in:
Stephen
2024-03-20 16:43:13 +10:00
parent 0f216f4e20
commit 55632fe2d6
2 changed files with 9 additions and 1 deletions

View File

@@ -134,6 +134,15 @@ module BeEF
print_info "Starting WebSocketSecure server on wss://[#{config.beef_host}:#{config.get('beef.http.websocket.secure_port').to_i} [timer: #{ws_poll_timeout}]"
end
end
#
# Print WebSocket servers
#
def print_http_proxy
config = BeEF::Core::Configuration.instance
print_info "HTTP Proxy: http://#{config.get('beef.extension.proxy.address')}:#{config.get('beef.extension.proxy.port')}"
end
end
end
end