git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
21 lines
410 B
Ruby
21 lines
410 B
Ruby
module BeEF
|
|
module Core
|
|
module NetworkStack
|
|
|
|
module RegisterHttpHandler
|
|
# use of the API right here
|
|
extend BeEF::API::Server::Handler
|
|
|
|
#
|
|
# Register the http handler for the network stack
|
|
#
|
|
def self.mount_handlers(beef_server)
|
|
#dynamic handler
|
|
beef_server.mount('/dh', true, BeEF::Core::NetworkStack::Handlers::DynamicReconstruction)
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end |