Finished commenting BeEF core. From this point on each developer should be commenting their own core changes
git-svn-id: https://beef.googlecode.com/svn/trunk@1362 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -18,17 +18,16 @@ module Core
|
||||
module NetworkStack
|
||||
|
||||
module RegisterHttpHandler
|
||||
#
|
||||
|
||||
# Register the http handler for the network stack
|
||||
#
|
||||
# @param [Object] server HTTP server instance
|
||||
def self.mount_handler(server)
|
||||
#dynamic handler
|
||||
# @note this mounts the dynamic handler
|
||||
server.mount('/dh', true, BeEF::Core::NetworkStack::Handlers::DynamicReconstruction)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
# Register core API calls
|
||||
BeEF::API::Registrar.instance.register(BeEF::Core::NetworkStack::RegisterHttpHandler, BeEF::API::Server, 'mount_handler')
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user