Added pre_execute, execute and post_execute to modules.
git-svn-id: https://beef.googlecode.com/svn/trunk@1197 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -18,7 +18,7 @@ class Iframe_above < BeEF::Core::Command
|
||||
# This method is being called when a hooked browser sends some
|
||||
# data back to the framework.
|
||||
#
|
||||
def callback
|
||||
def post_execute
|
||||
save({'result' => @datastore['result']})
|
||||
end
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ class Iframe_keylogger < BeEF::Core::Command
|
||||
]
|
||||
end
|
||||
|
||||
def callback
|
||||
def post_execute
|
||||
content = {}
|
||||
content['keystrokes'] = @datastore['keystrokes']
|
||||
save content
|
||||
|
||||
@@ -18,7 +18,7 @@ class Popunder_window < BeEF::Core::Command
|
||||
# This method is being called when a hooked browser sends some
|
||||
# data back to the framework.
|
||||
#
|
||||
def callback
|
||||
def post_execute
|
||||
save({'result' => @datastore['result']})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user