change override_execute so that it will pass the hooked browser session so we can both override functionality and add commands

git-svn-id: https://beef.googlecode.com/svn/trunk@1350 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
sussurro@happypacket.net
2011-10-04 16:57:11 +00:00
parent 91f7583015
commit 988e7b010e
3 changed files with 7 additions and 6 deletions

View File

@@ -55,9 +55,10 @@ module API
# Fired just before a module is executed
# @param [String] mod module key
# @param [String] hbsession hooked browser session id
# @param [Hash] opts a Hash of options
# @note Hooking this API method stops the default flow of the Module.execute() method.
def override_execute(mod, opts); end
def override_execute(mod, hbsession, opts); end
# Fired when retreiving dynamic payload
# @return [Hash] a hash of options