20 lines
510 B
Ruby
20 lines
510 B
Ruby
#
|
|
# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
|
# See the file 'doc/COPYING' for copying permission
|
|
#
|
|
# More info:
|
|
# http://blog.kotowicz.net/2012/02/intro-to-chrome-addons-hacking.html
|
|
# http://jeremiahgrossman.blogspot.fr/2006/08/i-know-what-youve-got-firefox.html
|
|
#
|
|
class Detect_extensions < BeEF::Core::Command
|
|
|
|
def post_execute
|
|
content = {}
|
|
content['extension'] = @datastore['extension']
|
|
save content
|
|
end
|
|
|
|
end
|
|
|