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:
@@ -84,7 +84,7 @@ module Handlers
|
||||
#
|
||||
# We dynamically get the list of all browser hook handler using the API and register them
|
||||
#
|
||||
BeEF::API.fire(BeEF::API::Server::Hook, 'pre_hook_send', hooked_browser, @body, @params, @request, @response)
|
||||
BeEF::API::Registra.instance.fire(BeEF::API::Server::Hook, 'pre_hook_send', hooked_browser, @body, @params, @request, @response)
|
||||
end
|
||||
|
||||
# set response headers and body
|
||||
|
||||
Reference in New Issue
Block a user