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:
@@ -15,7 +15,7 @@
|
||||
#
|
||||
class Test_return_ascii_chars < BeEF::Core::Command
|
||||
|
||||
def callback
|
||||
def post_execute
|
||||
content = {}
|
||||
content['Result String'] = @datastore['result_string']
|
||||
save content
|
||||
|
||||
@@ -23,7 +23,7 @@ class Test_return_long_string < BeEF::Core::Command
|
||||
end
|
||||
|
||||
|
||||
def callback
|
||||
def post_execute
|
||||
content = {}
|
||||
content['Result String'] = @datastore['result_string']
|
||||
save content
|
||||
|
||||
Reference in New Issue
Block a user