Browser Module to remove the BeEF hook.js script element

This commit is contained in:
Christian Frichot
2014-05-07 18:57:26 +08:00
parent 8e6125f8c6
commit f628ce7ae9
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#
# Copyright (c) 2006-2014 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"] if not @datastore["result"].nil?
save content
end
end