Files
beef/modules/browser/remove_hook_element/module.rb
2022-01-22 12:46:42 +00:00

13 lines
369 B
Ruby

#
# Copyright (c) 2006-2022 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Remove_hook_element < BeEF::Core::Command
def post_execute
content = {}
content['result'] = @datastore['result'] unless @datastore['result'].nil?
save content
end
end