#1# Copyright (c) 2006-2025 Wade Alcorn - [email protected]2# Browser Exploitation Framework (BeEF) - https://beefproject.com3# See the file 'doc/COPYING' for copying permission4#5module BeEF6module Core7module NetworkStack8module RegisterHttpHandler9# Register the http handler for the network stack10# @param [Object] server HTTP server instance11def self.mount_handler(server)12# @note this mounts the dynamic handler13server.mount('/dh', BeEF::Core::NetworkStack::Handlers::DynamicReconstruction.new)14end15end1617BeEF::API::Registrar.instance.register(BeEF::Core::NetworkStack::RegisterHttpHandler, BeEF::API::Server, 'mount_handler')18end19end20end212223