Reworked timed API system. You now must use the BeEF::API::Registra.register() to hook into timed API calls. This will speed up the framework and allow paramater matching for API hooks.

git-svn-id: https://beef.googlecode.com/svn/trunk@1235 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
passbe
2011-08-24 09:33:22 +00:00
parent 5c384ca6a3
commit d8a089a1b3
18 changed files with 118 additions and 60 deletions

View File

@@ -18,9 +18,6 @@ module Core
module NetworkStack
module RegisterHttpHandler
# use of the API right here
extend BeEF::API::Server
#
# Register the http handler for the network stack
#
@@ -31,6 +28,9 @@ module NetworkStack
end
# Register core API calls
BeEF::API::Registra.instance.register(BeEF::Core::NetworkStack::RegisterHttpHandler, BeEF::API::Server, 'mount_handler')
end
end
end