git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
21 lines
454 B
Ruby
21 lines
454 B
Ruby
module BeEF
|
|
module Extension
|
|
module Events
|
|
|
|
module RegisterHttpHandler
|
|
# use of the API right here
|
|
extend BeEF::API::Server::Handler
|
|
|
|
#
|
|
# Mounts the http handlers for the events extension. We use that to retrieve stuff
|
|
# like keystroke, mouse clicks and form submission.
|
|
#
|
|
def self.mount_handlers(beef_server)
|
|
beef_server.mount('/event', false, BeEF::Extension::Events::Handler)
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end |